@incident-io/sdk 2.42.0 → 2.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/cjs/models/AuditLogIncidentSummaryConfigUpdatedMetadataV2.d.ts +38 -0
  2. package/dist/cjs/models/AuditLogIncidentSummaryConfigUpdatedMetadataV2.js +54 -0
  3. package/dist/cjs/models/AuditLogIncidentUpdateConfigUpdatedMetadataV2.d.ts +38 -0
  4. package/dist/cjs/models/AuditLogIncidentUpdateConfigUpdatedMetadataV2.js +54 -0
  5. package/dist/cjs/models/AuditLogTargetV2.d.ts +2 -0
  6. package/dist/cjs/models/AuditLogTargetV2.js +2 -0
  7. package/dist/cjs/models/AuditLogsIncidentSummaryConfigUpdatedV1.d.ts +58 -0
  8. package/dist/cjs/models/AuditLogsIncidentSummaryConfigUpdatedV1.js +79 -0
  9. package/dist/cjs/models/AuditLogsIncidentUpdateConfigUpdatedV1.d.ts +58 -0
  10. package/dist/cjs/models/AuditLogsIncidentUpdateConfigUpdatedV1.js +79 -0
  11. package/dist/cjs/models/index.d.ts +4 -0
  12. package/dist/cjs/models/index.js +4 -0
  13. package/dist/cjs/version.d.ts +1 -1
  14. package/dist/cjs/version.js +1 -1
  15. package/dist/esm/models/AuditLogIncidentSummaryConfigUpdatedMetadataV2.d.ts +38 -0
  16. package/dist/esm/models/AuditLogIncidentSummaryConfigUpdatedMetadataV2.js +47 -0
  17. package/dist/esm/models/AuditLogIncidentUpdateConfigUpdatedMetadataV2.d.ts +38 -0
  18. package/dist/esm/models/AuditLogIncidentUpdateConfigUpdatedMetadataV2.js +47 -0
  19. package/dist/esm/models/AuditLogTargetV2.d.ts +2 -0
  20. package/dist/esm/models/AuditLogTargetV2.js +2 -0
  21. package/dist/esm/models/AuditLogsIncidentSummaryConfigUpdatedV1.d.ts +58 -0
  22. package/dist/esm/models/AuditLogsIncidentSummaryConfigUpdatedV1.js +72 -0
  23. package/dist/esm/models/AuditLogsIncidentUpdateConfigUpdatedV1.d.ts +58 -0
  24. package/dist/esm/models/AuditLogsIncidentUpdateConfigUpdatedV1.js +72 -0
  25. package/dist/esm/models/index.d.ts +4 -0
  26. package/dist/esm/models/index.js +4 -0
  27. package/dist/esm/version.d.ts +1 -1
  28. package/dist/esm/version.js +1 -1
  29. package/package.json +1 -1
@@ -0,0 +1,38 @@
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 AuditLogIncidentSummaryConfigUpdatedMetadataV2
16
+ */
17
+ export interface AuditLogIncidentSummaryConfigUpdatedMetadataV2 {
18
+ /**
19
+ * The format of suggested summaries after the change (narrative, stakeholder, custom)
20
+ */
21
+ after_structure_type?: string;
22
+ /**
23
+ * The format of suggested summaries before the change (narrative, stakeholder, custom)
24
+ */
25
+ before_structure_type?: string;
26
+ /**
27
+ * What the update changed, comma separated (structure_type, custom_instructions)
28
+ */
29
+ changed: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AuditLogIncidentSummaryConfigUpdatedMetadataV2 interface.
33
+ */
34
+ export declare function instanceOfAuditLogIncidentSummaryConfigUpdatedMetadataV2(value: object): value is AuditLogIncidentSummaryConfigUpdatedMetadataV2;
35
+ export declare function AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSON(json: any): AuditLogIncidentSummaryConfigUpdatedMetadataV2;
36
+ export declare function AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogIncidentSummaryConfigUpdatedMetadataV2;
37
+ export declare function AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSON(json: any): AuditLogIncidentSummaryConfigUpdatedMetadataV2;
38
+ export declare function AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSONTyped(value?: AuditLogIncidentSummaryConfigUpdatedMetadataV2 | 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.instanceOfAuditLogIncidentSummaryConfigUpdatedMetadataV2 = instanceOfAuditLogIncidentSummaryConfigUpdatedMetadataV2;
17
+ exports.AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSON = AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSON;
18
+ exports.AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSONTyped = AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSONTyped;
19
+ exports.AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSON = AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSON;
20
+ exports.AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSONTyped = AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AuditLogIncidentSummaryConfigUpdatedMetadataV2 interface.
23
+ */
24
+ function instanceOfAuditLogIncidentSummaryConfigUpdatedMetadataV2(value) {
25
+ if (!('changed' in value) || value['changed'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSON(json) {
30
+ return AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSONTyped(json, false);
31
+ }
32
+ function AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'after_structure_type': json['after_structure_type'] == null ? undefined : json['after_structure_type'],
38
+ 'before_structure_type': json['before_structure_type'] == null ? undefined : json['before_structure_type'],
39
+ 'changed': json['changed'],
40
+ };
41
+ }
42
+ function AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSON(json) {
43
+ return AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSONTyped(json, false);
44
+ }
45
+ function AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'after_structure_type': value['after_structure_type'],
51
+ 'before_structure_type': value['before_structure_type'],
52
+ 'changed': value['changed'],
53
+ };
54
+ }
@@ -0,0 +1,38 @@
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 AuditLogIncidentUpdateConfigUpdatedMetadataV2
16
+ */
17
+ export interface AuditLogIncidentUpdateConfigUpdatedMetadataV2 {
18
+ /**
19
+ * The format of suggested updates after the change (classic, brief, custom)
20
+ */
21
+ after_structure_type?: string;
22
+ /**
23
+ * The format of suggested updates before the change (classic, brief, custom)
24
+ */
25
+ before_structure_type?: string;
26
+ /**
27
+ * What the update changed, comma separated (structure_type, custom_instructions)
28
+ */
29
+ changed: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AuditLogIncidentUpdateConfigUpdatedMetadataV2 interface.
33
+ */
34
+ export declare function instanceOfAuditLogIncidentUpdateConfigUpdatedMetadataV2(value: object): value is AuditLogIncidentUpdateConfigUpdatedMetadataV2;
35
+ export declare function AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSON(json: any): AuditLogIncidentUpdateConfigUpdatedMetadataV2;
36
+ export declare function AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogIncidentUpdateConfigUpdatedMetadataV2;
37
+ export declare function AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSON(json: any): AuditLogIncidentUpdateConfigUpdatedMetadataV2;
38
+ export declare function AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSONTyped(value?: AuditLogIncidentUpdateConfigUpdatedMetadataV2 | 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.instanceOfAuditLogIncidentUpdateConfigUpdatedMetadataV2 = instanceOfAuditLogIncidentUpdateConfigUpdatedMetadataV2;
17
+ exports.AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSON = AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSON;
18
+ exports.AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSONTyped = AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSONTyped;
19
+ exports.AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSON = AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSON;
20
+ exports.AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSONTyped = AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AuditLogIncidentUpdateConfigUpdatedMetadataV2 interface.
23
+ */
24
+ function instanceOfAuditLogIncidentUpdateConfigUpdatedMetadataV2(value) {
25
+ if (!('changed' in value) || value['changed'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSON(json) {
30
+ return AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSONTyped(json, false);
31
+ }
32
+ function AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'after_structure_type': json['after_structure_type'] == null ? undefined : json['after_structure_type'],
38
+ 'before_structure_type': json['before_structure_type'] == null ? undefined : json['before_structure_type'],
39
+ 'changed': json['changed'],
40
+ };
41
+ }
42
+ function AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSON(json) {
43
+ return AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSONTyped(json, false);
44
+ }
45
+ function AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'after_structure_type': value['after_structure_type'],
51
+ 'before_structure_type': value['before_structure_type'],
52
+ 'changed': value['changed'],
53
+ };
54
+ }
@@ -67,6 +67,8 @@ export declare const AuditLogTargetV2TypeEnum: {
67
67
  readonly IncidentCallSetting: "incident_call_setting";
68
68
  readonly IncidentDurationMetric: "incident_duration_metric";
69
69
  readonly IncidentTemplate: "incident_template";
70
+ readonly IncidentSummaryConfig: "incident_summary_config";
71
+ readonly IncidentUpdateConfig: "incident_update_config";
70
72
  readonly MaintenanceWindow: "maintenance_window";
71
73
  readonly IncidentRole: "incident_role";
72
74
  readonly IncidentStatus: "incident_status";
@@ -58,6 +58,8 @@ exports.AuditLogTargetV2TypeEnum = {
58
58
  IncidentCallSetting: 'incident_call_setting',
59
59
  IncidentDurationMetric: 'incident_duration_metric',
60
60
  IncidentTemplate: 'incident_template',
61
+ IncidentSummaryConfig: 'incident_summary_config',
62
+ IncidentUpdateConfig: 'incident_update_config',
61
63
  MaintenanceWindow: 'maintenance_window',
62
64
  IncidentRole: 'incident_role',
63
65
  IncidentStatus: 'incident_status',
@@ -0,0 +1,58 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AuditLogActorV2 } from './AuditLogActorV2.js';
13
+ import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
14
+ import type { AuditLogIncidentSummaryConfigUpdatedMetadataV2 } from './AuditLogIncidentSummaryConfigUpdatedMetadataV2.js';
15
+ import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AuditLogsIncidentSummaryConfigUpdatedV1
20
+ */
21
+ export interface AuditLogsIncidentSummaryConfigUpdatedV1 {
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: AuditLogIncidentSummaryConfigUpdatedMetadataV2;
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 AuditLogsIncidentSummaryConfigUpdatedV1 interface.
53
+ */
54
+ export declare function instanceOfAuditLogsIncidentSummaryConfigUpdatedV1(value: object): value is AuditLogsIncidentSummaryConfigUpdatedV1;
55
+ export declare function AuditLogsIncidentSummaryConfigUpdatedV1FromJSON(json: any): AuditLogsIncidentSummaryConfigUpdatedV1;
56
+ export declare function AuditLogsIncidentSummaryConfigUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsIncidentSummaryConfigUpdatedV1;
57
+ export declare function AuditLogsIncidentSummaryConfigUpdatedV1ToJSON(json: any): AuditLogsIncidentSummaryConfigUpdatedV1;
58
+ export declare function AuditLogsIncidentSummaryConfigUpdatedV1ToJSONTyped(value?: AuditLogsIncidentSummaryConfigUpdatedV1 | 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.instanceOfAuditLogsIncidentSummaryConfigUpdatedV1 = instanceOfAuditLogsIncidentSummaryConfigUpdatedV1;
17
+ exports.AuditLogsIncidentSummaryConfigUpdatedV1FromJSON = AuditLogsIncidentSummaryConfigUpdatedV1FromJSON;
18
+ exports.AuditLogsIncidentSummaryConfigUpdatedV1FromJSONTyped = AuditLogsIncidentSummaryConfigUpdatedV1FromJSONTyped;
19
+ exports.AuditLogsIncidentSummaryConfigUpdatedV1ToJSON = AuditLogsIncidentSummaryConfigUpdatedV1ToJSON;
20
+ exports.AuditLogsIncidentSummaryConfigUpdatedV1ToJSONTyped = AuditLogsIncidentSummaryConfigUpdatedV1ToJSONTyped;
21
+ const runtime_js_1 = require("../runtime.js");
22
+ const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
23
+ const AuditLogEntryContextV2_js_1 = require("./AuditLogEntryContextV2.js");
24
+ const AuditLogIncidentSummaryConfigUpdatedMetadataV2_js_1 = require("./AuditLogIncidentSummaryConfigUpdatedMetadataV2.js");
25
+ const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
26
+ /**
27
+ * Check if a given object implements the AuditLogsIncidentSummaryConfigUpdatedV1 interface.
28
+ */
29
+ function instanceOfAuditLogsIncidentSummaryConfigUpdatedV1(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 AuditLogsIncidentSummaryConfigUpdatedV1FromJSON(json) {
47
+ return AuditLogsIncidentSummaryConfigUpdatedV1FromJSONTyped(json, false);
48
+ }
49
+ function AuditLogsIncidentSummaryConfigUpdatedV1FromJSONTyped(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, AuditLogIncidentSummaryConfigUpdatedMetadataV2_js_1.AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSON)(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 AuditLogsIncidentSummaryConfigUpdatedV1ToJSON(json) {
64
+ return AuditLogsIncidentSummaryConfigUpdatedV1ToJSONTyped(json, false);
65
+ }
66
+ function AuditLogsIncidentSummaryConfigUpdatedV1ToJSONTyped(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, AuditLogIncidentSummaryConfigUpdatedMetadataV2_js_1.AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSON)(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 { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
14
+ import type { AuditLogIncidentUpdateConfigUpdatedMetadataV2 } from './AuditLogIncidentUpdateConfigUpdatedMetadataV2.js';
15
+ import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AuditLogsIncidentUpdateConfigUpdatedV1
20
+ */
21
+ export interface AuditLogsIncidentUpdateConfigUpdatedV1 {
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: AuditLogIncidentUpdateConfigUpdatedMetadataV2;
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 AuditLogsIncidentUpdateConfigUpdatedV1 interface.
53
+ */
54
+ export declare function instanceOfAuditLogsIncidentUpdateConfigUpdatedV1(value: object): value is AuditLogsIncidentUpdateConfigUpdatedV1;
55
+ export declare function AuditLogsIncidentUpdateConfigUpdatedV1FromJSON(json: any): AuditLogsIncidentUpdateConfigUpdatedV1;
56
+ export declare function AuditLogsIncidentUpdateConfigUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsIncidentUpdateConfigUpdatedV1;
57
+ export declare function AuditLogsIncidentUpdateConfigUpdatedV1ToJSON(json: any): AuditLogsIncidentUpdateConfigUpdatedV1;
58
+ export declare function AuditLogsIncidentUpdateConfigUpdatedV1ToJSONTyped(value?: AuditLogsIncidentUpdateConfigUpdatedV1 | 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.instanceOfAuditLogsIncidentUpdateConfigUpdatedV1 = instanceOfAuditLogsIncidentUpdateConfigUpdatedV1;
17
+ exports.AuditLogsIncidentUpdateConfigUpdatedV1FromJSON = AuditLogsIncidentUpdateConfigUpdatedV1FromJSON;
18
+ exports.AuditLogsIncidentUpdateConfigUpdatedV1FromJSONTyped = AuditLogsIncidentUpdateConfigUpdatedV1FromJSONTyped;
19
+ exports.AuditLogsIncidentUpdateConfigUpdatedV1ToJSON = AuditLogsIncidentUpdateConfigUpdatedV1ToJSON;
20
+ exports.AuditLogsIncidentUpdateConfigUpdatedV1ToJSONTyped = AuditLogsIncidentUpdateConfigUpdatedV1ToJSONTyped;
21
+ const runtime_js_1 = require("../runtime.js");
22
+ const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
23
+ const AuditLogEntryContextV2_js_1 = require("./AuditLogEntryContextV2.js");
24
+ const AuditLogIncidentUpdateConfigUpdatedMetadataV2_js_1 = require("./AuditLogIncidentUpdateConfigUpdatedMetadataV2.js");
25
+ const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
26
+ /**
27
+ * Check if a given object implements the AuditLogsIncidentUpdateConfigUpdatedV1 interface.
28
+ */
29
+ function instanceOfAuditLogsIncidentUpdateConfigUpdatedV1(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 AuditLogsIncidentUpdateConfigUpdatedV1FromJSON(json) {
47
+ return AuditLogsIncidentUpdateConfigUpdatedV1FromJSONTyped(json, false);
48
+ }
49
+ function AuditLogsIncidentUpdateConfigUpdatedV1FromJSONTyped(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, AuditLogIncidentUpdateConfigUpdatedMetadataV2_js_1.AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSON)(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 AuditLogsIncidentUpdateConfigUpdatedV1ToJSON(json) {
64
+ return AuditLogsIncidentUpdateConfigUpdatedV1ToJSONTyped(json, false);
65
+ }
66
+ function AuditLogsIncidentUpdateConfigUpdatedV1ToJSONTyped(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, AuditLogIncidentUpdateConfigUpdatedMetadataV2_js_1.AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSON)(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
+ }
@@ -215,7 +215,9 @@ export * from './AuditLogExtensionPluginCreatedMetadataV2.js';
215
215
  export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
216
216
  export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
217
217
  export * from './AuditLogIPAllowlistUpdatedMetadataV2.js';
218
+ export * from './AuditLogIncidentSummaryConfigUpdatedMetadataV2.js';
218
219
  export * from './AuditLogIncidentTypeDefaultTeamsMetadataV2.js';
220
+ export * from './AuditLogIncidentUpdateConfigUpdatedMetadataV2.js';
219
221
  export * from './AuditLogIntegrationUpdatedMetadataV2.js';
220
222
  export * from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
221
223
  export * from './AuditLogInvestigationTriggerMetadataV2.js';
@@ -423,6 +425,7 @@ export * from './AuditLogsIncidentStatusDeletedV1.js';
423
425
  export * from './AuditLogsIncidentStatusDeletedV2.js';
424
426
  export * from './AuditLogsIncidentStatusUpdatedV1.js';
425
427
  export * from './AuditLogsIncidentStatusUpdatedV2.js';
428
+ export * from './AuditLogsIncidentSummaryConfigUpdatedV1.js';
426
429
  export * from './AuditLogsIncidentTemplateCreatedV1.js';
427
430
  export * from './AuditLogsIncidentTemplateCreatedV2.js';
428
431
  export * from './AuditLogsIncidentTemplateDeletedV1.js';
@@ -451,6 +454,7 @@ export * from './AuditLogsIncidentTypeDeletedV2.js';
451
454
  export * from './AuditLogsIncidentTypeUpdatedV1.js';
452
455
  export * from './AuditLogsIncidentTypeUpdatedV2.js';
453
456
  export * from './AuditLogsIncidentTypeUpdatedV3.js';
457
+ export * from './AuditLogsIncidentUpdateConfigUpdatedV1.js';
454
458
  export * from './AuditLogsIntegrationInstalledV1.js';
455
459
  export * from './AuditLogsIntegrationInstalledV2.js';
456
460
  export * from './AuditLogsIntegrationUninstalledV1.js';
@@ -233,7 +233,9 @@ __exportStar(require("./AuditLogExtensionPluginCreatedMetadataV2.js"), exports);
233
233
  __exportStar(require("./AuditLogExtensionPluginUpdatedMetadataV2.js"), exports);
234
234
  __exportStar(require("./AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js"), exports);
235
235
  __exportStar(require("./AuditLogIPAllowlistUpdatedMetadataV2.js"), exports);
236
+ __exportStar(require("./AuditLogIncidentSummaryConfigUpdatedMetadataV2.js"), exports);
236
237
  __exportStar(require("./AuditLogIncidentTypeDefaultTeamsMetadataV2.js"), exports);
238
+ __exportStar(require("./AuditLogIncidentUpdateConfigUpdatedMetadataV2.js"), exports);
237
239
  __exportStar(require("./AuditLogIntegrationUpdatedMetadataV2.js"), exports);
238
240
  __exportStar(require("./AuditLogInvestigationConfigUpdatedMetadataV2.js"), exports);
239
241
  __exportStar(require("./AuditLogInvestigationTriggerMetadataV2.js"), exports);
@@ -441,6 +443,7 @@ __exportStar(require("./AuditLogsIncidentStatusDeletedV1.js"), exports);
441
443
  __exportStar(require("./AuditLogsIncidentStatusDeletedV2.js"), exports);
442
444
  __exportStar(require("./AuditLogsIncidentStatusUpdatedV1.js"), exports);
443
445
  __exportStar(require("./AuditLogsIncidentStatusUpdatedV2.js"), exports);
446
+ __exportStar(require("./AuditLogsIncidentSummaryConfigUpdatedV1.js"), exports);
444
447
  __exportStar(require("./AuditLogsIncidentTemplateCreatedV1.js"), exports);
445
448
  __exportStar(require("./AuditLogsIncidentTemplateCreatedV2.js"), exports);
446
449
  __exportStar(require("./AuditLogsIncidentTemplateDeletedV1.js"), exports);
@@ -469,6 +472,7 @@ __exportStar(require("./AuditLogsIncidentTypeDeletedV2.js"), exports);
469
472
  __exportStar(require("./AuditLogsIncidentTypeUpdatedV1.js"), exports);
470
473
  __exportStar(require("./AuditLogsIncidentTypeUpdatedV2.js"), exports);
471
474
  __exportStar(require("./AuditLogsIncidentTypeUpdatedV3.js"), exports);
475
+ __exportStar(require("./AuditLogsIncidentUpdateConfigUpdatedV1.js"), exports);
472
476
  __exportStar(require("./AuditLogsIntegrationInstalledV1.js"), exports);
473
477
  __exportStar(require("./AuditLogsIntegrationInstalledV2.js"), exports);
474
478
  __exportStar(require("./AuditLogsIntegrationUninstalledV1.js"), exports);
@@ -1 +1 @@
1
- export declare const VERSION = "2.42.0";
1
+ export declare const VERSION = "2.43.0";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // Written by `make build` from package.json. Do not edit.
5
- exports.VERSION = "2.42.0";
5
+ exports.VERSION = "2.43.0";
@@ -0,0 +1,38 @@
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 AuditLogIncidentSummaryConfigUpdatedMetadataV2
16
+ */
17
+ export interface AuditLogIncidentSummaryConfigUpdatedMetadataV2 {
18
+ /**
19
+ * The format of suggested summaries after the change (narrative, stakeholder, custom)
20
+ */
21
+ after_structure_type?: string;
22
+ /**
23
+ * The format of suggested summaries before the change (narrative, stakeholder, custom)
24
+ */
25
+ before_structure_type?: string;
26
+ /**
27
+ * What the update changed, comma separated (structure_type, custom_instructions)
28
+ */
29
+ changed: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AuditLogIncidentSummaryConfigUpdatedMetadataV2 interface.
33
+ */
34
+ export declare function instanceOfAuditLogIncidentSummaryConfigUpdatedMetadataV2(value: object): value is AuditLogIncidentSummaryConfigUpdatedMetadataV2;
35
+ export declare function AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSON(json: any): AuditLogIncidentSummaryConfigUpdatedMetadataV2;
36
+ export declare function AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogIncidentSummaryConfigUpdatedMetadataV2;
37
+ export declare function AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSON(json: any): AuditLogIncidentSummaryConfigUpdatedMetadataV2;
38
+ export declare function AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSONTyped(value?: AuditLogIncidentSummaryConfigUpdatedMetadataV2 | 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 AuditLogIncidentSummaryConfigUpdatedMetadataV2 interface.
16
+ */
17
+ export function instanceOfAuditLogIncidentSummaryConfigUpdatedMetadataV2(value) {
18
+ if (!('changed' in value) || value['changed'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSON(json) {
23
+ return AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSONTyped(json, false);
24
+ }
25
+ export function AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'after_structure_type': json['after_structure_type'] == null ? undefined : json['after_structure_type'],
31
+ 'before_structure_type': json['before_structure_type'] == null ? undefined : json['before_structure_type'],
32
+ 'changed': json['changed'],
33
+ };
34
+ }
35
+ export function AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSON(json) {
36
+ return AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSONTyped(json, false);
37
+ }
38
+ export function AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'after_structure_type': value['after_structure_type'],
44
+ 'before_structure_type': value['before_structure_type'],
45
+ 'changed': value['changed'],
46
+ };
47
+ }
@@ -0,0 +1,38 @@
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 AuditLogIncidentUpdateConfigUpdatedMetadataV2
16
+ */
17
+ export interface AuditLogIncidentUpdateConfigUpdatedMetadataV2 {
18
+ /**
19
+ * The format of suggested updates after the change (classic, brief, custom)
20
+ */
21
+ after_structure_type?: string;
22
+ /**
23
+ * The format of suggested updates before the change (classic, brief, custom)
24
+ */
25
+ before_structure_type?: string;
26
+ /**
27
+ * What the update changed, comma separated (structure_type, custom_instructions)
28
+ */
29
+ changed: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AuditLogIncidentUpdateConfigUpdatedMetadataV2 interface.
33
+ */
34
+ export declare function instanceOfAuditLogIncidentUpdateConfigUpdatedMetadataV2(value: object): value is AuditLogIncidentUpdateConfigUpdatedMetadataV2;
35
+ export declare function AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSON(json: any): AuditLogIncidentUpdateConfigUpdatedMetadataV2;
36
+ export declare function AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogIncidentUpdateConfigUpdatedMetadataV2;
37
+ export declare function AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSON(json: any): AuditLogIncidentUpdateConfigUpdatedMetadataV2;
38
+ export declare function AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSONTyped(value?: AuditLogIncidentUpdateConfigUpdatedMetadataV2 | 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 AuditLogIncidentUpdateConfigUpdatedMetadataV2 interface.
16
+ */
17
+ export function instanceOfAuditLogIncidentUpdateConfigUpdatedMetadataV2(value) {
18
+ if (!('changed' in value) || value['changed'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSON(json) {
23
+ return AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSONTyped(json, false);
24
+ }
25
+ export function AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'after_structure_type': json['after_structure_type'] == null ? undefined : json['after_structure_type'],
31
+ 'before_structure_type': json['before_structure_type'] == null ? undefined : json['before_structure_type'],
32
+ 'changed': json['changed'],
33
+ };
34
+ }
35
+ export function AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSON(json) {
36
+ return AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSONTyped(json, false);
37
+ }
38
+ export function AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'after_structure_type': value['after_structure_type'],
44
+ 'before_structure_type': value['before_structure_type'],
45
+ 'changed': value['changed'],
46
+ };
47
+ }
@@ -67,6 +67,8 @@ export declare const AuditLogTargetV2TypeEnum: {
67
67
  readonly IncidentCallSetting: "incident_call_setting";
68
68
  readonly IncidentDurationMetric: "incident_duration_metric";
69
69
  readonly IncidentTemplate: "incident_template";
70
+ readonly IncidentSummaryConfig: "incident_summary_config";
71
+ readonly IncidentUpdateConfig: "incident_update_config";
70
72
  readonly MaintenanceWindow: "maintenance_window";
71
73
  readonly IncidentRole: "incident_role";
72
74
  readonly IncidentStatus: "incident_status";
@@ -50,6 +50,8 @@ export const AuditLogTargetV2TypeEnum = {
50
50
  IncidentCallSetting: 'incident_call_setting',
51
51
  IncidentDurationMetric: 'incident_duration_metric',
52
52
  IncidentTemplate: 'incident_template',
53
+ IncidentSummaryConfig: 'incident_summary_config',
54
+ IncidentUpdateConfig: 'incident_update_config',
53
55
  MaintenanceWindow: 'maintenance_window',
54
56
  IncidentRole: 'incident_role',
55
57
  IncidentStatus: 'incident_status',
@@ -0,0 +1,58 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AuditLogActorV2 } from './AuditLogActorV2.js';
13
+ import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
14
+ import type { AuditLogIncidentSummaryConfigUpdatedMetadataV2 } from './AuditLogIncidentSummaryConfigUpdatedMetadataV2.js';
15
+ import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AuditLogsIncidentSummaryConfigUpdatedV1
20
+ */
21
+ export interface AuditLogsIncidentSummaryConfigUpdatedV1 {
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: AuditLogIncidentSummaryConfigUpdatedMetadataV2;
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 AuditLogsIncidentSummaryConfigUpdatedV1 interface.
53
+ */
54
+ export declare function instanceOfAuditLogsIncidentSummaryConfigUpdatedV1(value: object): value is AuditLogsIncidentSummaryConfigUpdatedV1;
55
+ export declare function AuditLogsIncidentSummaryConfigUpdatedV1FromJSON(json: any): AuditLogsIncidentSummaryConfigUpdatedV1;
56
+ export declare function AuditLogsIncidentSummaryConfigUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsIncidentSummaryConfigUpdatedV1;
57
+ export declare function AuditLogsIncidentSummaryConfigUpdatedV1ToJSON(json: any): AuditLogsIncidentSummaryConfigUpdatedV1;
58
+ export declare function AuditLogsIncidentSummaryConfigUpdatedV1ToJSONTyped(value?: AuditLogsIncidentSummaryConfigUpdatedV1 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { parseDateTime, serializeDateTime } from '../runtime.js';
15
+ import { AuditLogActorV2FromJSON, AuditLogActorV2ToJSON, } from './AuditLogActorV2.js';
16
+ import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
17
+ import { AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSON, AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSON, } from './AuditLogIncidentSummaryConfigUpdatedMetadataV2.js';
18
+ import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
19
+ /**
20
+ * Check if a given object implements the AuditLogsIncidentSummaryConfigUpdatedV1 interface.
21
+ */
22
+ export function instanceOfAuditLogsIncidentSummaryConfigUpdatedV1(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 AuditLogsIncidentSummaryConfigUpdatedV1FromJSON(json) {
40
+ return AuditLogsIncidentSummaryConfigUpdatedV1FromJSONTyped(json, false);
41
+ }
42
+ export function AuditLogsIncidentSummaryConfigUpdatedV1FromJSONTyped(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': AuditLogIncidentSummaryConfigUpdatedMetadataV2FromJSON(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 AuditLogsIncidentSummaryConfigUpdatedV1ToJSON(json) {
57
+ return AuditLogsIncidentSummaryConfigUpdatedV1ToJSONTyped(json, false);
58
+ }
59
+ export function AuditLogsIncidentSummaryConfigUpdatedV1ToJSONTyped(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': AuditLogIncidentSummaryConfigUpdatedMetadataV2ToJSON(value['metadata']),
68
+ 'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : serializeDateTime(value['occurred_at']),
69
+ 'targets': (value['targets'].map(AuditLogTargetV2ToJSON)),
70
+ 'version': value['version'],
71
+ };
72
+ }
@@ -0,0 +1,58 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AuditLogActorV2 } from './AuditLogActorV2.js';
13
+ import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
14
+ import type { AuditLogIncidentUpdateConfigUpdatedMetadataV2 } from './AuditLogIncidentUpdateConfigUpdatedMetadataV2.js';
15
+ import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AuditLogsIncidentUpdateConfigUpdatedV1
20
+ */
21
+ export interface AuditLogsIncidentUpdateConfigUpdatedV1 {
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: AuditLogIncidentUpdateConfigUpdatedMetadataV2;
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 AuditLogsIncidentUpdateConfigUpdatedV1 interface.
53
+ */
54
+ export declare function instanceOfAuditLogsIncidentUpdateConfigUpdatedV1(value: object): value is AuditLogsIncidentUpdateConfigUpdatedV1;
55
+ export declare function AuditLogsIncidentUpdateConfigUpdatedV1FromJSON(json: any): AuditLogsIncidentUpdateConfigUpdatedV1;
56
+ export declare function AuditLogsIncidentUpdateConfigUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsIncidentUpdateConfigUpdatedV1;
57
+ export declare function AuditLogsIncidentUpdateConfigUpdatedV1ToJSON(json: any): AuditLogsIncidentUpdateConfigUpdatedV1;
58
+ export declare function AuditLogsIncidentUpdateConfigUpdatedV1ToJSONTyped(value?: AuditLogsIncidentUpdateConfigUpdatedV1 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { parseDateTime, serializeDateTime } from '../runtime.js';
15
+ import { AuditLogActorV2FromJSON, AuditLogActorV2ToJSON, } from './AuditLogActorV2.js';
16
+ import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
17
+ import { AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSON, AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSON, } from './AuditLogIncidentUpdateConfigUpdatedMetadataV2.js';
18
+ import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
19
+ /**
20
+ * Check if a given object implements the AuditLogsIncidentUpdateConfigUpdatedV1 interface.
21
+ */
22
+ export function instanceOfAuditLogsIncidentUpdateConfigUpdatedV1(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 AuditLogsIncidentUpdateConfigUpdatedV1FromJSON(json) {
40
+ return AuditLogsIncidentUpdateConfigUpdatedV1FromJSONTyped(json, false);
41
+ }
42
+ export function AuditLogsIncidentUpdateConfigUpdatedV1FromJSONTyped(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': AuditLogIncidentUpdateConfigUpdatedMetadataV2FromJSON(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 AuditLogsIncidentUpdateConfigUpdatedV1ToJSON(json) {
57
+ return AuditLogsIncidentUpdateConfigUpdatedV1ToJSONTyped(json, false);
58
+ }
59
+ export function AuditLogsIncidentUpdateConfigUpdatedV1ToJSONTyped(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': AuditLogIncidentUpdateConfigUpdatedMetadataV2ToJSON(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
+ }
@@ -215,7 +215,9 @@ export * from './AuditLogExtensionPluginCreatedMetadataV2.js';
215
215
  export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
216
216
  export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
217
217
  export * from './AuditLogIPAllowlistUpdatedMetadataV2.js';
218
+ export * from './AuditLogIncidentSummaryConfigUpdatedMetadataV2.js';
218
219
  export * from './AuditLogIncidentTypeDefaultTeamsMetadataV2.js';
220
+ export * from './AuditLogIncidentUpdateConfigUpdatedMetadataV2.js';
219
221
  export * from './AuditLogIntegrationUpdatedMetadataV2.js';
220
222
  export * from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
221
223
  export * from './AuditLogInvestigationTriggerMetadataV2.js';
@@ -423,6 +425,7 @@ export * from './AuditLogsIncidentStatusDeletedV1.js';
423
425
  export * from './AuditLogsIncidentStatusDeletedV2.js';
424
426
  export * from './AuditLogsIncidentStatusUpdatedV1.js';
425
427
  export * from './AuditLogsIncidentStatusUpdatedV2.js';
428
+ export * from './AuditLogsIncidentSummaryConfigUpdatedV1.js';
426
429
  export * from './AuditLogsIncidentTemplateCreatedV1.js';
427
430
  export * from './AuditLogsIncidentTemplateCreatedV2.js';
428
431
  export * from './AuditLogsIncidentTemplateDeletedV1.js';
@@ -451,6 +454,7 @@ export * from './AuditLogsIncidentTypeDeletedV2.js';
451
454
  export * from './AuditLogsIncidentTypeUpdatedV1.js';
452
455
  export * from './AuditLogsIncidentTypeUpdatedV2.js';
453
456
  export * from './AuditLogsIncidentTypeUpdatedV3.js';
457
+ export * from './AuditLogsIncidentUpdateConfigUpdatedV1.js';
454
458
  export * from './AuditLogsIntegrationInstalledV1.js';
455
459
  export * from './AuditLogsIntegrationInstalledV2.js';
456
460
  export * from './AuditLogsIntegrationUninstalledV1.js';
@@ -217,7 +217,9 @@ export * from './AuditLogExtensionPluginCreatedMetadataV2.js';
217
217
  export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
218
218
  export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
219
219
  export * from './AuditLogIPAllowlistUpdatedMetadataV2.js';
220
+ export * from './AuditLogIncidentSummaryConfigUpdatedMetadataV2.js';
220
221
  export * from './AuditLogIncidentTypeDefaultTeamsMetadataV2.js';
222
+ export * from './AuditLogIncidentUpdateConfigUpdatedMetadataV2.js';
221
223
  export * from './AuditLogIntegrationUpdatedMetadataV2.js';
222
224
  export * from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
223
225
  export * from './AuditLogInvestigationTriggerMetadataV2.js';
@@ -425,6 +427,7 @@ export * from './AuditLogsIncidentStatusDeletedV1.js';
425
427
  export * from './AuditLogsIncidentStatusDeletedV2.js';
426
428
  export * from './AuditLogsIncidentStatusUpdatedV1.js';
427
429
  export * from './AuditLogsIncidentStatusUpdatedV2.js';
430
+ export * from './AuditLogsIncidentSummaryConfigUpdatedV1.js';
428
431
  export * from './AuditLogsIncidentTemplateCreatedV1.js';
429
432
  export * from './AuditLogsIncidentTemplateCreatedV2.js';
430
433
  export * from './AuditLogsIncidentTemplateDeletedV1.js';
@@ -453,6 +456,7 @@ export * from './AuditLogsIncidentTypeDeletedV2.js';
453
456
  export * from './AuditLogsIncidentTypeUpdatedV1.js';
454
457
  export * from './AuditLogsIncidentTypeUpdatedV2.js';
455
458
  export * from './AuditLogsIncidentTypeUpdatedV3.js';
459
+ export * from './AuditLogsIncidentUpdateConfigUpdatedV1.js';
456
460
  export * from './AuditLogsIntegrationInstalledV1.js';
457
461
  export * from './AuditLogsIntegrationInstalledV2.js';
458
462
  export * from './AuditLogsIntegrationUninstalledV1.js';
@@ -1 +1 @@
1
- export declare const VERSION = "2.42.0";
1
+ export declare const VERSION = "2.43.0";
@@ -1,2 +1,2 @@
1
1
  // Written by `make build` from package.json. Do not edit.
2
- export const VERSION = "2.42.0";
2
+ export const VERSION = "2.43.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incident-io/sdk",
3
- "version": "2.42.0",
3
+ "version": "2.43.0",
4
4
  "description": "TypeScript SDK for the incident.io API",
5
5
  "license": "MIT",
6
6
  "author": "incident.io <support@incident.io>",