@incident-io/sdk 2.27.0 → 2.28.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/AuditLogInvestigationConfigUpdatedMetadataV2.d.ts +86 -0
- package/dist/cjs/models/AuditLogInvestigationConfigUpdatedMetadataV2.js +78 -0
- package/dist/cjs/models/AuditLogTargetV2.d.ts +1 -0
- package/dist/cjs/models/AuditLogTargetV2.js +1 -0
- package/dist/cjs/models/AuditLogsInvestigationConfigUpdatedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsInvestigationConfigUpdatedV1.js +79 -0
- package/dist/cjs/models/index.d.ts +2 -0
- package/dist/cjs/models/index.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/models/AuditLogInvestigationConfigUpdatedMetadataV2.d.ts +86 -0
- package/dist/esm/models/AuditLogInvestigationConfigUpdatedMetadataV2.js +71 -0
- package/dist/esm/models/AuditLogTargetV2.d.ts +1 -0
- package/dist/esm/models/AuditLogTargetV2.js +1 -0
- package/dist/esm/models/AuditLogsInvestigationConfigUpdatedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsInvestigationConfigUpdatedV1.js +72 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,86 @@
|
|
|
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 AuditLogInvestigationConfigUpdatedMetadataV2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogInvestigationConfigUpdatedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* What an investigation does with a duplicate incident after the change (suggest, auto)
|
|
20
|
+
*/
|
|
21
|
+
after_auto_merge_mode?: string;
|
|
22
|
+
/**
|
|
23
|
+
* When investigations start on their own after the change (off, silent, on, conditional)
|
|
24
|
+
*/
|
|
25
|
+
after_auto_run_mode?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Whether conditional auto-run is re-checked on incident updates after the change (true, false)
|
|
28
|
+
*/
|
|
29
|
+
after_evaluate_auto_run_on_incident_update?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the progress thread is hidden after the change (true, false)
|
|
32
|
+
*/
|
|
33
|
+
after_hide_progress_thread?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Whether investigations can open code change tasks on their own after the change (off, on)
|
|
36
|
+
*/
|
|
37
|
+
after_propose_code_changes_mode?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Whether investigations are switched on after the change (enabled, scheduled_for_enable, disabled)
|
|
40
|
+
*/
|
|
41
|
+
after_status?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The summary template used after the change (default, compact)
|
|
44
|
+
*/
|
|
45
|
+
after_summary_template?: string;
|
|
46
|
+
/**
|
|
47
|
+
* What an investigation did with a duplicate incident before the change (suggest, auto)
|
|
48
|
+
*/
|
|
49
|
+
before_auto_merge_mode?: string;
|
|
50
|
+
/**
|
|
51
|
+
* When investigations started on their own before the change (off, silent, on, conditional)
|
|
52
|
+
*/
|
|
53
|
+
before_auto_run_mode?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Whether conditional auto-run was re-checked on incident updates before the change (true, false)
|
|
56
|
+
*/
|
|
57
|
+
before_evaluate_auto_run_on_incident_update?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Whether the progress thread was hidden before the change (true, false)
|
|
60
|
+
*/
|
|
61
|
+
before_hide_progress_thread?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Whether investigations could open code change tasks on their own before the change (off, on)
|
|
64
|
+
*/
|
|
65
|
+
before_propose_code_changes_mode?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Whether investigations were switched on before the change (enabled, scheduled_for_enable, disabled)
|
|
68
|
+
*/
|
|
69
|
+
before_status?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The summary template used before the change (default, compact)
|
|
72
|
+
*/
|
|
73
|
+
before_summary_template?: string;
|
|
74
|
+
/**
|
|
75
|
+
* What the update changed, comma separated (status, auto_run_mode, condition_groups, evaluate_auto_run_on_incident_update, auto_merge_mode, propose_code_changes_mode, tuneables, hide_progress_thread, summary_template)
|
|
76
|
+
*/
|
|
77
|
+
changed: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Check if a given object implements the AuditLogInvestigationConfigUpdatedMetadataV2 interface.
|
|
81
|
+
*/
|
|
82
|
+
export declare function instanceOfAuditLogInvestigationConfigUpdatedMetadataV2(value: object): value is AuditLogInvestigationConfigUpdatedMetadataV2;
|
|
83
|
+
export declare function AuditLogInvestigationConfigUpdatedMetadataV2FromJSON(json: any): AuditLogInvestigationConfigUpdatedMetadataV2;
|
|
84
|
+
export declare function AuditLogInvestigationConfigUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogInvestigationConfigUpdatedMetadataV2;
|
|
85
|
+
export declare function AuditLogInvestigationConfigUpdatedMetadataV2ToJSON(json: any): AuditLogInvestigationConfigUpdatedMetadataV2;
|
|
86
|
+
export declare function AuditLogInvestigationConfigUpdatedMetadataV2ToJSONTyped(value?: AuditLogInvestigationConfigUpdatedMetadataV2 | 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.instanceOfAuditLogInvestigationConfigUpdatedMetadataV2 = instanceOfAuditLogInvestigationConfigUpdatedMetadataV2;
|
|
17
|
+
exports.AuditLogInvestigationConfigUpdatedMetadataV2FromJSON = AuditLogInvestigationConfigUpdatedMetadataV2FromJSON;
|
|
18
|
+
exports.AuditLogInvestigationConfigUpdatedMetadataV2FromJSONTyped = AuditLogInvestigationConfigUpdatedMetadataV2FromJSONTyped;
|
|
19
|
+
exports.AuditLogInvestigationConfigUpdatedMetadataV2ToJSON = AuditLogInvestigationConfigUpdatedMetadataV2ToJSON;
|
|
20
|
+
exports.AuditLogInvestigationConfigUpdatedMetadataV2ToJSONTyped = AuditLogInvestigationConfigUpdatedMetadataV2ToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AuditLogInvestigationConfigUpdatedMetadataV2 interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuditLogInvestigationConfigUpdatedMetadataV2(value) {
|
|
25
|
+
if (!('changed' in value) || value['changed'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AuditLogInvestigationConfigUpdatedMetadataV2FromJSON(json) {
|
|
30
|
+
return AuditLogInvestigationConfigUpdatedMetadataV2FromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AuditLogInvestigationConfigUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'after_auto_merge_mode': json['after_auto_merge_mode'] == null ? undefined : json['after_auto_merge_mode'],
|
|
38
|
+
'after_auto_run_mode': json['after_auto_run_mode'] == null ? undefined : json['after_auto_run_mode'],
|
|
39
|
+
'after_evaluate_auto_run_on_incident_update': json['after_evaluate_auto_run_on_incident_update'] == null ? undefined : json['after_evaluate_auto_run_on_incident_update'],
|
|
40
|
+
'after_hide_progress_thread': json['after_hide_progress_thread'] == null ? undefined : json['after_hide_progress_thread'],
|
|
41
|
+
'after_propose_code_changes_mode': json['after_propose_code_changes_mode'] == null ? undefined : json['after_propose_code_changes_mode'],
|
|
42
|
+
'after_status': json['after_status'] == null ? undefined : json['after_status'],
|
|
43
|
+
'after_summary_template': json['after_summary_template'] == null ? undefined : json['after_summary_template'],
|
|
44
|
+
'before_auto_merge_mode': json['before_auto_merge_mode'] == null ? undefined : json['before_auto_merge_mode'],
|
|
45
|
+
'before_auto_run_mode': json['before_auto_run_mode'] == null ? undefined : json['before_auto_run_mode'],
|
|
46
|
+
'before_evaluate_auto_run_on_incident_update': json['before_evaluate_auto_run_on_incident_update'] == null ? undefined : json['before_evaluate_auto_run_on_incident_update'],
|
|
47
|
+
'before_hide_progress_thread': json['before_hide_progress_thread'] == null ? undefined : json['before_hide_progress_thread'],
|
|
48
|
+
'before_propose_code_changes_mode': json['before_propose_code_changes_mode'] == null ? undefined : json['before_propose_code_changes_mode'],
|
|
49
|
+
'before_status': json['before_status'] == null ? undefined : json['before_status'],
|
|
50
|
+
'before_summary_template': json['before_summary_template'] == null ? undefined : json['before_summary_template'],
|
|
51
|
+
'changed': json['changed'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function AuditLogInvestigationConfigUpdatedMetadataV2ToJSON(json) {
|
|
55
|
+
return AuditLogInvestigationConfigUpdatedMetadataV2ToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function AuditLogInvestigationConfigUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'after_auto_merge_mode': value['after_auto_merge_mode'],
|
|
63
|
+
'after_auto_run_mode': value['after_auto_run_mode'],
|
|
64
|
+
'after_evaluate_auto_run_on_incident_update': value['after_evaluate_auto_run_on_incident_update'],
|
|
65
|
+
'after_hide_progress_thread': value['after_hide_progress_thread'],
|
|
66
|
+
'after_propose_code_changes_mode': value['after_propose_code_changes_mode'],
|
|
67
|
+
'after_status': value['after_status'],
|
|
68
|
+
'after_summary_template': value['after_summary_template'],
|
|
69
|
+
'before_auto_merge_mode': value['before_auto_merge_mode'],
|
|
70
|
+
'before_auto_run_mode': value['before_auto_run_mode'],
|
|
71
|
+
'before_evaluate_auto_run_on_incident_update': value['before_evaluate_auto_run_on_incident_update'],
|
|
72
|
+
'before_hide_progress_thread': value['before_hide_progress_thread'],
|
|
73
|
+
'before_propose_code_changes_mode': value['before_propose_code_changes_mode'],
|
|
74
|
+
'before_status': value['before_status'],
|
|
75
|
+
'before_summary_template': value['before_summary_template'],
|
|
76
|
+
'changed': value['changed'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -55,6 +55,7 @@ export declare const AuditLogTargetV2TypeEnum: {
|
|
|
55
55
|
readonly ExtensionPlugin: "extension_plugin";
|
|
56
56
|
readonly GlossaryEntry: "glossary_entry";
|
|
57
57
|
readonly InvestigationTrigger: "investigation_trigger";
|
|
58
|
+
readonly InvestigationConfig: "investigation_config";
|
|
58
59
|
readonly FollowUpCategory: "follow_up_category";
|
|
59
60
|
readonly FollowUpPriority: "follow_up_priority";
|
|
60
61
|
readonly HolidayUserFeed: "holiday_user_feed";
|
|
@@ -46,6 +46,7 @@ exports.AuditLogTargetV2TypeEnum = {
|
|
|
46
46
|
ExtensionPlugin: 'extension_plugin',
|
|
47
47
|
GlossaryEntry: 'glossary_entry',
|
|
48
48
|
InvestigationTrigger: 'investigation_trigger',
|
|
49
|
+
InvestigationConfig: 'investigation_config',
|
|
49
50
|
FollowUpCategory: 'follow_up_category',
|
|
50
51
|
FollowUpPriority: 'follow_up_priority',
|
|
51
52
|
HolidayUserFeed: 'holiday_user_feed',
|
|
@@ -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 { AuditLogInvestigationConfigUpdatedMetadataV2 } from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsInvestigationConfigUpdatedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsInvestigationConfigUpdatedV1 {
|
|
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: AuditLogInvestigationConfigUpdatedMetadataV2;
|
|
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 AuditLogsInvestigationConfigUpdatedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsInvestigationConfigUpdatedV1(value: object): value is AuditLogsInvestigationConfigUpdatedV1;
|
|
55
|
+
export declare function AuditLogsInvestigationConfigUpdatedV1FromJSON(json: any): AuditLogsInvestigationConfigUpdatedV1;
|
|
56
|
+
export declare function AuditLogsInvestigationConfigUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsInvestigationConfigUpdatedV1;
|
|
57
|
+
export declare function AuditLogsInvestigationConfigUpdatedV1ToJSON(json: any): AuditLogsInvestigationConfigUpdatedV1;
|
|
58
|
+
export declare function AuditLogsInvestigationConfigUpdatedV1ToJSONTyped(value?: AuditLogsInvestigationConfigUpdatedV1 | 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.instanceOfAuditLogsInvestigationConfigUpdatedV1 = instanceOfAuditLogsInvestigationConfigUpdatedV1;
|
|
17
|
+
exports.AuditLogsInvestigationConfigUpdatedV1FromJSON = AuditLogsInvestigationConfigUpdatedV1FromJSON;
|
|
18
|
+
exports.AuditLogsInvestigationConfigUpdatedV1FromJSONTyped = AuditLogsInvestigationConfigUpdatedV1FromJSONTyped;
|
|
19
|
+
exports.AuditLogsInvestigationConfigUpdatedV1ToJSON = AuditLogsInvestigationConfigUpdatedV1ToJSON;
|
|
20
|
+
exports.AuditLogsInvestigationConfigUpdatedV1ToJSONTyped = AuditLogsInvestigationConfigUpdatedV1ToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
|
|
23
|
+
const AuditLogInvestigationConfigUpdatedMetadataV2_js_1 = require("./AuditLogInvestigationConfigUpdatedMetadataV2.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 AuditLogsInvestigationConfigUpdatedV1 interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfAuditLogsInvestigationConfigUpdatedV1(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 AuditLogsInvestigationConfigUpdatedV1FromJSON(json) {
|
|
47
|
+
return AuditLogsInvestigationConfigUpdatedV1FromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AuditLogsInvestigationConfigUpdatedV1FromJSONTyped(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, AuditLogInvestigationConfigUpdatedMetadataV2_js_1.AuditLogInvestigationConfigUpdatedMetadataV2FromJSON)(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 AuditLogsInvestigationConfigUpdatedV1ToJSON(json) {
|
|
64
|
+
return AuditLogsInvestigationConfigUpdatedV1ToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AuditLogsInvestigationConfigUpdatedV1ToJSONTyped(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, AuditLogInvestigationConfigUpdatedMetadataV2_js_1.AuditLogInvestigationConfigUpdatedMetadataV2ToJSON)(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 './AuditLogExtensionPluginUpdatedMetadataV2.js';
|
|
|
210
210
|
export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
|
|
211
211
|
export * from './AuditLogIPAllowlistUpdatedMetadataV2.js';
|
|
212
212
|
export * from './AuditLogIncidentTypeDefaultTeamsMetadataV2.js';
|
|
213
|
+
export * from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
|
|
213
214
|
export * from './AuditLogInvestigationTriggerMetadataV2.js';
|
|
214
215
|
export * from './AuditLogMicrosoftEntraTenantLinkedMetadataV2.js';
|
|
215
216
|
export * from './AuditLogMobileIntuneEnabledSettingUpdatedMetadataV2.js';
|
|
@@ -349,6 +350,7 @@ export * from './AuditLogsIntegrationUninstalledV1.js';
|
|
|
349
350
|
export * from './AuditLogsInternalStatusPageCreatedV1.js';
|
|
350
351
|
export * from './AuditLogsInternalStatusPageDeletedV1.js';
|
|
351
352
|
export * from './AuditLogsInternalStatusPageUpdatedV1.js';
|
|
353
|
+
export * from './AuditLogsInvestigationConfigUpdatedV1.js';
|
|
352
354
|
export * from './AuditLogsInvestigationTriggerCreatedV1.js';
|
|
353
355
|
export * from './AuditLogsInvestigationTriggerDeletedV1.js';
|
|
354
356
|
export * from './AuditLogsInvestigationTriggerUpdatedV1.js';
|
package/dist/cjs/models/index.js
CHANGED
|
@@ -228,6 +228,7 @@ __exportStar(require("./AuditLogExtensionPluginUpdatedMetadataV2.js"), exports);
|
|
|
228
228
|
__exportStar(require("./AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js"), exports);
|
|
229
229
|
__exportStar(require("./AuditLogIPAllowlistUpdatedMetadataV2.js"), exports);
|
|
230
230
|
__exportStar(require("./AuditLogIncidentTypeDefaultTeamsMetadataV2.js"), exports);
|
|
231
|
+
__exportStar(require("./AuditLogInvestigationConfigUpdatedMetadataV2.js"), exports);
|
|
231
232
|
__exportStar(require("./AuditLogInvestigationTriggerMetadataV2.js"), exports);
|
|
232
233
|
__exportStar(require("./AuditLogMicrosoftEntraTenantLinkedMetadataV2.js"), exports);
|
|
233
234
|
__exportStar(require("./AuditLogMobileIntuneEnabledSettingUpdatedMetadataV2.js"), exports);
|
|
@@ -367,6 +368,7 @@ __exportStar(require("./AuditLogsIntegrationUninstalledV1.js"), exports);
|
|
|
367
368
|
__exportStar(require("./AuditLogsInternalStatusPageCreatedV1.js"), exports);
|
|
368
369
|
__exportStar(require("./AuditLogsInternalStatusPageDeletedV1.js"), exports);
|
|
369
370
|
__exportStar(require("./AuditLogsInternalStatusPageUpdatedV1.js"), exports);
|
|
371
|
+
__exportStar(require("./AuditLogsInvestigationConfigUpdatedV1.js"), exports);
|
|
370
372
|
__exportStar(require("./AuditLogsInvestigationTriggerCreatedV1.js"), exports);
|
|
371
373
|
__exportStar(require("./AuditLogsInvestigationTriggerDeletedV1.js"), exports);
|
|
372
374
|
__exportStar(require("./AuditLogsInvestigationTriggerUpdatedV1.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.28.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -0,0 +1,86 @@
|
|
|
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 AuditLogInvestigationConfigUpdatedMetadataV2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogInvestigationConfigUpdatedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* What an investigation does with a duplicate incident after the change (suggest, auto)
|
|
20
|
+
*/
|
|
21
|
+
after_auto_merge_mode?: string;
|
|
22
|
+
/**
|
|
23
|
+
* When investigations start on their own after the change (off, silent, on, conditional)
|
|
24
|
+
*/
|
|
25
|
+
after_auto_run_mode?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Whether conditional auto-run is re-checked on incident updates after the change (true, false)
|
|
28
|
+
*/
|
|
29
|
+
after_evaluate_auto_run_on_incident_update?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the progress thread is hidden after the change (true, false)
|
|
32
|
+
*/
|
|
33
|
+
after_hide_progress_thread?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Whether investigations can open code change tasks on their own after the change (off, on)
|
|
36
|
+
*/
|
|
37
|
+
after_propose_code_changes_mode?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Whether investigations are switched on after the change (enabled, scheduled_for_enable, disabled)
|
|
40
|
+
*/
|
|
41
|
+
after_status?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The summary template used after the change (default, compact)
|
|
44
|
+
*/
|
|
45
|
+
after_summary_template?: string;
|
|
46
|
+
/**
|
|
47
|
+
* What an investigation did with a duplicate incident before the change (suggest, auto)
|
|
48
|
+
*/
|
|
49
|
+
before_auto_merge_mode?: string;
|
|
50
|
+
/**
|
|
51
|
+
* When investigations started on their own before the change (off, silent, on, conditional)
|
|
52
|
+
*/
|
|
53
|
+
before_auto_run_mode?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Whether conditional auto-run was re-checked on incident updates before the change (true, false)
|
|
56
|
+
*/
|
|
57
|
+
before_evaluate_auto_run_on_incident_update?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Whether the progress thread was hidden before the change (true, false)
|
|
60
|
+
*/
|
|
61
|
+
before_hide_progress_thread?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Whether investigations could open code change tasks on their own before the change (off, on)
|
|
64
|
+
*/
|
|
65
|
+
before_propose_code_changes_mode?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Whether investigations were switched on before the change (enabled, scheduled_for_enable, disabled)
|
|
68
|
+
*/
|
|
69
|
+
before_status?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The summary template used before the change (default, compact)
|
|
72
|
+
*/
|
|
73
|
+
before_summary_template?: string;
|
|
74
|
+
/**
|
|
75
|
+
* What the update changed, comma separated (status, auto_run_mode, condition_groups, evaluate_auto_run_on_incident_update, auto_merge_mode, propose_code_changes_mode, tuneables, hide_progress_thread, summary_template)
|
|
76
|
+
*/
|
|
77
|
+
changed: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Check if a given object implements the AuditLogInvestigationConfigUpdatedMetadataV2 interface.
|
|
81
|
+
*/
|
|
82
|
+
export declare function instanceOfAuditLogInvestigationConfigUpdatedMetadataV2(value: object): value is AuditLogInvestigationConfigUpdatedMetadataV2;
|
|
83
|
+
export declare function AuditLogInvestigationConfigUpdatedMetadataV2FromJSON(json: any): AuditLogInvestigationConfigUpdatedMetadataV2;
|
|
84
|
+
export declare function AuditLogInvestigationConfigUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogInvestigationConfigUpdatedMetadataV2;
|
|
85
|
+
export declare function AuditLogInvestigationConfigUpdatedMetadataV2ToJSON(json: any): AuditLogInvestigationConfigUpdatedMetadataV2;
|
|
86
|
+
export declare function AuditLogInvestigationConfigUpdatedMetadataV2ToJSONTyped(value?: AuditLogInvestigationConfigUpdatedMetadataV2 | 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 AuditLogInvestigationConfigUpdatedMetadataV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuditLogInvestigationConfigUpdatedMetadataV2(value) {
|
|
18
|
+
if (!('changed' in value) || value['changed'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function AuditLogInvestigationConfigUpdatedMetadataV2FromJSON(json) {
|
|
23
|
+
return AuditLogInvestigationConfigUpdatedMetadataV2FromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function AuditLogInvestigationConfigUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'after_auto_merge_mode': json['after_auto_merge_mode'] == null ? undefined : json['after_auto_merge_mode'],
|
|
31
|
+
'after_auto_run_mode': json['after_auto_run_mode'] == null ? undefined : json['after_auto_run_mode'],
|
|
32
|
+
'after_evaluate_auto_run_on_incident_update': json['after_evaluate_auto_run_on_incident_update'] == null ? undefined : json['after_evaluate_auto_run_on_incident_update'],
|
|
33
|
+
'after_hide_progress_thread': json['after_hide_progress_thread'] == null ? undefined : json['after_hide_progress_thread'],
|
|
34
|
+
'after_propose_code_changes_mode': json['after_propose_code_changes_mode'] == null ? undefined : json['after_propose_code_changes_mode'],
|
|
35
|
+
'after_status': json['after_status'] == null ? undefined : json['after_status'],
|
|
36
|
+
'after_summary_template': json['after_summary_template'] == null ? undefined : json['after_summary_template'],
|
|
37
|
+
'before_auto_merge_mode': json['before_auto_merge_mode'] == null ? undefined : json['before_auto_merge_mode'],
|
|
38
|
+
'before_auto_run_mode': json['before_auto_run_mode'] == null ? undefined : json['before_auto_run_mode'],
|
|
39
|
+
'before_evaluate_auto_run_on_incident_update': json['before_evaluate_auto_run_on_incident_update'] == null ? undefined : json['before_evaluate_auto_run_on_incident_update'],
|
|
40
|
+
'before_hide_progress_thread': json['before_hide_progress_thread'] == null ? undefined : json['before_hide_progress_thread'],
|
|
41
|
+
'before_propose_code_changes_mode': json['before_propose_code_changes_mode'] == null ? undefined : json['before_propose_code_changes_mode'],
|
|
42
|
+
'before_status': json['before_status'] == null ? undefined : json['before_status'],
|
|
43
|
+
'before_summary_template': json['before_summary_template'] == null ? undefined : json['before_summary_template'],
|
|
44
|
+
'changed': json['changed'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function AuditLogInvestigationConfigUpdatedMetadataV2ToJSON(json) {
|
|
48
|
+
return AuditLogInvestigationConfigUpdatedMetadataV2ToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function AuditLogInvestigationConfigUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'after_auto_merge_mode': value['after_auto_merge_mode'],
|
|
56
|
+
'after_auto_run_mode': value['after_auto_run_mode'],
|
|
57
|
+
'after_evaluate_auto_run_on_incident_update': value['after_evaluate_auto_run_on_incident_update'],
|
|
58
|
+
'after_hide_progress_thread': value['after_hide_progress_thread'],
|
|
59
|
+
'after_propose_code_changes_mode': value['after_propose_code_changes_mode'],
|
|
60
|
+
'after_status': value['after_status'],
|
|
61
|
+
'after_summary_template': value['after_summary_template'],
|
|
62
|
+
'before_auto_merge_mode': value['before_auto_merge_mode'],
|
|
63
|
+
'before_auto_run_mode': value['before_auto_run_mode'],
|
|
64
|
+
'before_evaluate_auto_run_on_incident_update': value['before_evaluate_auto_run_on_incident_update'],
|
|
65
|
+
'before_hide_progress_thread': value['before_hide_progress_thread'],
|
|
66
|
+
'before_propose_code_changes_mode': value['before_propose_code_changes_mode'],
|
|
67
|
+
'before_status': value['before_status'],
|
|
68
|
+
'before_summary_template': value['before_summary_template'],
|
|
69
|
+
'changed': value['changed'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -55,6 +55,7 @@ export declare const AuditLogTargetV2TypeEnum: {
|
|
|
55
55
|
readonly ExtensionPlugin: "extension_plugin";
|
|
56
56
|
readonly GlossaryEntry: "glossary_entry";
|
|
57
57
|
readonly InvestigationTrigger: "investigation_trigger";
|
|
58
|
+
readonly InvestigationConfig: "investigation_config";
|
|
58
59
|
readonly FollowUpCategory: "follow_up_category";
|
|
59
60
|
readonly FollowUpPriority: "follow_up_priority";
|
|
60
61
|
readonly HolidayUserFeed: "holiday_user_feed";
|
|
@@ -38,6 +38,7 @@ export const AuditLogTargetV2TypeEnum = {
|
|
|
38
38
|
ExtensionPlugin: 'extension_plugin',
|
|
39
39
|
GlossaryEntry: 'glossary_entry',
|
|
40
40
|
InvestigationTrigger: 'investigation_trigger',
|
|
41
|
+
InvestigationConfig: 'investigation_config',
|
|
41
42
|
FollowUpCategory: 'follow_up_category',
|
|
42
43
|
FollowUpPriority: 'follow_up_priority',
|
|
43
44
|
HolidayUserFeed: 'holiday_user_feed',
|
|
@@ -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 { AuditLogInvestigationConfigUpdatedMetadataV2 } from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsInvestigationConfigUpdatedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsInvestigationConfigUpdatedV1 {
|
|
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: AuditLogInvestigationConfigUpdatedMetadataV2;
|
|
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 AuditLogsInvestigationConfigUpdatedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsInvestigationConfigUpdatedV1(value: object): value is AuditLogsInvestigationConfigUpdatedV1;
|
|
55
|
+
export declare function AuditLogsInvestigationConfigUpdatedV1FromJSON(json: any): AuditLogsInvestigationConfigUpdatedV1;
|
|
56
|
+
export declare function AuditLogsInvestigationConfigUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsInvestigationConfigUpdatedV1;
|
|
57
|
+
export declare function AuditLogsInvestigationConfigUpdatedV1ToJSON(json: any): AuditLogsInvestigationConfigUpdatedV1;
|
|
58
|
+
export declare function AuditLogsInvestigationConfigUpdatedV1ToJSONTyped(value?: AuditLogsInvestigationConfigUpdatedV1 | 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 { AuditLogInvestigationConfigUpdatedMetadataV2FromJSON, AuditLogInvestigationConfigUpdatedMetadataV2ToJSON, } from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
|
|
17
|
+
import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsInvestigationConfigUpdatedV1 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsInvestigationConfigUpdatedV1(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 AuditLogsInvestigationConfigUpdatedV1FromJSON(json) {
|
|
40
|
+
return AuditLogsInvestigationConfigUpdatedV1FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsInvestigationConfigUpdatedV1FromJSONTyped(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': AuditLogInvestigationConfigUpdatedMetadataV2FromJSON(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 AuditLogsInvestigationConfigUpdatedV1ToJSON(json) {
|
|
57
|
+
return AuditLogsInvestigationConfigUpdatedV1ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsInvestigationConfigUpdatedV1ToJSONTyped(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': AuditLogInvestigationConfigUpdatedMetadataV2ToJSON(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 './AuditLogExtensionPluginUpdatedMetadataV2.js';
|
|
|
210
210
|
export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
|
|
211
211
|
export * from './AuditLogIPAllowlistUpdatedMetadataV2.js';
|
|
212
212
|
export * from './AuditLogIncidentTypeDefaultTeamsMetadataV2.js';
|
|
213
|
+
export * from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
|
|
213
214
|
export * from './AuditLogInvestigationTriggerMetadataV2.js';
|
|
214
215
|
export * from './AuditLogMicrosoftEntraTenantLinkedMetadataV2.js';
|
|
215
216
|
export * from './AuditLogMobileIntuneEnabledSettingUpdatedMetadataV2.js';
|
|
@@ -349,6 +350,7 @@ export * from './AuditLogsIntegrationUninstalledV1.js';
|
|
|
349
350
|
export * from './AuditLogsInternalStatusPageCreatedV1.js';
|
|
350
351
|
export * from './AuditLogsInternalStatusPageDeletedV1.js';
|
|
351
352
|
export * from './AuditLogsInternalStatusPageUpdatedV1.js';
|
|
353
|
+
export * from './AuditLogsInvestigationConfigUpdatedV1.js';
|
|
352
354
|
export * from './AuditLogsInvestigationTriggerCreatedV1.js';
|
|
353
355
|
export * from './AuditLogsInvestigationTriggerDeletedV1.js';
|
|
354
356
|
export * from './AuditLogsInvestigationTriggerUpdatedV1.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -212,6 +212,7 @@ export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
|
|
|
212
212
|
export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
|
|
213
213
|
export * from './AuditLogIPAllowlistUpdatedMetadataV2.js';
|
|
214
214
|
export * from './AuditLogIncidentTypeDefaultTeamsMetadataV2.js';
|
|
215
|
+
export * from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
|
|
215
216
|
export * from './AuditLogInvestigationTriggerMetadataV2.js';
|
|
216
217
|
export * from './AuditLogMicrosoftEntraTenantLinkedMetadataV2.js';
|
|
217
218
|
export * from './AuditLogMobileIntuneEnabledSettingUpdatedMetadataV2.js';
|
|
@@ -351,6 +352,7 @@ export * from './AuditLogsIntegrationUninstalledV1.js';
|
|
|
351
352
|
export * from './AuditLogsInternalStatusPageCreatedV1.js';
|
|
352
353
|
export * from './AuditLogsInternalStatusPageDeletedV1.js';
|
|
353
354
|
export * from './AuditLogsInternalStatusPageUpdatedV1.js';
|
|
355
|
+
export * from './AuditLogsInvestigationConfigUpdatedV1.js';
|
|
354
356
|
export * from './AuditLogsInvestigationTriggerCreatedV1.js';
|
|
355
357
|
export * from './AuditLogsInvestigationTriggerDeletedV1.js';
|
|
356
358
|
export * from './AuditLogsInvestigationTriggerUpdatedV1.js';
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.28.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.28.0";
|