@incident-io/sdk 2.42.0 → 2.44.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 (33) 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/AuditLogsConnectorConfigPreviousTokenRevokedV1.d.ts +53 -0
  8. package/dist/cjs/models/AuditLogsConnectorConfigPreviousTokenRevokedV1.js +74 -0
  9. package/dist/cjs/models/AuditLogsIncidentSummaryConfigUpdatedV1.d.ts +58 -0
  10. package/dist/cjs/models/AuditLogsIncidentSummaryConfigUpdatedV1.js +79 -0
  11. package/dist/cjs/models/AuditLogsIncidentUpdateConfigUpdatedV1.d.ts +58 -0
  12. package/dist/cjs/models/AuditLogsIncidentUpdateConfigUpdatedV1.js +79 -0
  13. package/dist/cjs/models/index.d.ts +5 -0
  14. package/dist/cjs/models/index.js +5 -0
  15. package/dist/cjs/version.d.ts +1 -1
  16. package/dist/cjs/version.js +1 -1
  17. package/dist/esm/models/AuditLogIncidentSummaryConfigUpdatedMetadataV2.d.ts +38 -0
  18. package/dist/esm/models/AuditLogIncidentSummaryConfigUpdatedMetadataV2.js +47 -0
  19. package/dist/esm/models/AuditLogIncidentUpdateConfigUpdatedMetadataV2.d.ts +38 -0
  20. package/dist/esm/models/AuditLogIncidentUpdateConfigUpdatedMetadataV2.js +47 -0
  21. package/dist/esm/models/AuditLogTargetV2.d.ts +2 -0
  22. package/dist/esm/models/AuditLogTargetV2.js +2 -0
  23. package/dist/esm/models/AuditLogsConnectorConfigPreviousTokenRevokedV1.d.ts +53 -0
  24. package/dist/esm/models/AuditLogsConnectorConfigPreviousTokenRevokedV1.js +67 -0
  25. package/dist/esm/models/AuditLogsIncidentSummaryConfigUpdatedV1.d.ts +58 -0
  26. package/dist/esm/models/AuditLogsIncidentSummaryConfigUpdatedV1.js +72 -0
  27. package/dist/esm/models/AuditLogsIncidentUpdateConfigUpdatedV1.d.ts +58 -0
  28. package/dist/esm/models/AuditLogsIncidentUpdateConfigUpdatedV1.js +72 -0
  29. package/dist/esm/models/index.d.ts +5 -0
  30. package/dist/esm/models/index.js +5 -0
  31. package/dist/esm/version.d.ts +1 -1
  32. package/dist/esm/version.js +1 -1
  33. 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,53 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AuditLogActorV2 } from './AuditLogActorV2.js';
13
+ import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
14
+ import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface AuditLogsConnectorConfigPreviousTokenRevokedV1
19
+ */
20
+ export interface AuditLogsConnectorConfigPreviousTokenRevokedV1 {
21
+ /**
22
+ * The type of log entry that this is
23
+ */
24
+ action: string;
25
+ /**
26
+ *
27
+ */
28
+ actor: AuditLogActorV2;
29
+ /**
30
+ *
31
+ */
32
+ context: AuditLogEntryContextV2;
33
+ /**
34
+ * When the entry occurred
35
+ */
36
+ occurred_at: Date;
37
+ /**
38
+ * The custom field that was created
39
+ */
40
+ targets: Array<AuditLogTargetV2>;
41
+ /**
42
+ * Which version the event is
43
+ */
44
+ version: number;
45
+ }
46
+ /**
47
+ * Check if a given object implements the AuditLogsConnectorConfigPreviousTokenRevokedV1 interface.
48
+ */
49
+ export declare function instanceOfAuditLogsConnectorConfigPreviousTokenRevokedV1(value: object): value is AuditLogsConnectorConfigPreviousTokenRevokedV1;
50
+ export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSON(json: any): AuditLogsConnectorConfigPreviousTokenRevokedV1;
51
+ export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsConnectorConfigPreviousTokenRevokedV1;
52
+ export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSON(json: any): AuditLogsConnectorConfigPreviousTokenRevokedV1;
53
+ export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped(value?: AuditLogsConnectorConfigPreviousTokenRevokedV1 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
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.instanceOfAuditLogsConnectorConfigPreviousTokenRevokedV1 = instanceOfAuditLogsConnectorConfigPreviousTokenRevokedV1;
17
+ exports.AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSON = AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSON;
18
+ exports.AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped = AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped;
19
+ exports.AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSON = AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSON;
20
+ exports.AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped = AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped;
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 AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
25
+ /**
26
+ * Check if a given object implements the AuditLogsConnectorConfigPreviousTokenRevokedV1 interface.
27
+ */
28
+ function instanceOfAuditLogsConnectorConfigPreviousTokenRevokedV1(value) {
29
+ if (!('action' in value) || value['action'] === undefined)
30
+ return false;
31
+ if (!('actor' in value) || value['actor'] === undefined)
32
+ return false;
33
+ if (!('context' in value) || value['context'] === undefined)
34
+ return false;
35
+ if (!('occurred_at' in value) || value['occurred_at'] === undefined)
36
+ return false;
37
+ if (!('targets' in value) || value['targets'] === undefined)
38
+ return false;
39
+ if (!('version' in value) || value['version'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSON(json) {
44
+ return AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped(json, false);
45
+ }
46
+ function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'action': json['action'],
52
+ 'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2FromJSON)(json['actor']),
53
+ 'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2FromJSON)(json['context']),
54
+ 'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : (0, runtime_js_1.parseDateTime)(json['occurred_at'])),
55
+ 'targets': (json['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2FromJSON)),
56
+ 'version': json['version'],
57
+ };
58
+ }
59
+ function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSON(json) {
60
+ return AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped(json, false);
61
+ }
62
+ function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'action': value['action'],
68
+ 'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2ToJSON)(value['actor']),
69
+ 'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2ToJSON)(value['context']),
70
+ 'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : (0, runtime_js_1.serializeDateTime)(value['occurred_at']),
71
+ 'targets': (value['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2ToJSON)),
72
+ 'version': value['version'],
73
+ };
74
+ }
@@ -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';
@@ -327,6 +329,7 @@ export * from './AuditLogsCodeRepositoryAccessedV1.js';
327
329
  export * from './AuditLogsConnectorConfigArchivedV1.js';
328
330
  export * from './AuditLogsConnectorConfigCreatedV1.js';
329
331
  export * from './AuditLogsConnectorConfigCreatedV2.js';
332
+ export * from './AuditLogsConnectorConfigPreviousTokenRevokedV1.js';
330
333
  export * from './AuditLogsConnectorConfigTokenGeneratedV1.js';
331
334
  export * from './AuditLogsConnectorConfigTokenGeneratedV2.js';
332
335
  export * from './AuditLogsConnectorConfigUpdatedV1.js';
@@ -423,6 +426,7 @@ export * from './AuditLogsIncidentStatusDeletedV1.js';
423
426
  export * from './AuditLogsIncidentStatusDeletedV2.js';
424
427
  export * from './AuditLogsIncidentStatusUpdatedV1.js';
425
428
  export * from './AuditLogsIncidentStatusUpdatedV2.js';
429
+ export * from './AuditLogsIncidentSummaryConfigUpdatedV1.js';
426
430
  export * from './AuditLogsIncidentTemplateCreatedV1.js';
427
431
  export * from './AuditLogsIncidentTemplateCreatedV2.js';
428
432
  export * from './AuditLogsIncidentTemplateDeletedV1.js';
@@ -451,6 +455,7 @@ export * from './AuditLogsIncidentTypeDeletedV2.js';
451
455
  export * from './AuditLogsIncidentTypeUpdatedV1.js';
452
456
  export * from './AuditLogsIncidentTypeUpdatedV2.js';
453
457
  export * from './AuditLogsIncidentTypeUpdatedV3.js';
458
+ export * from './AuditLogsIncidentUpdateConfigUpdatedV1.js';
454
459
  export * from './AuditLogsIntegrationInstalledV1.js';
455
460
  export * from './AuditLogsIntegrationInstalledV2.js';
456
461
  export * from './AuditLogsIntegrationUninstalledV1.js';