@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
@@ -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);
@@ -345,6 +347,7 @@ __exportStar(require("./AuditLogsCodeRepositoryAccessedV1.js"), exports);
345
347
  __exportStar(require("./AuditLogsConnectorConfigArchivedV1.js"), exports);
346
348
  __exportStar(require("./AuditLogsConnectorConfigCreatedV1.js"), exports);
347
349
  __exportStar(require("./AuditLogsConnectorConfigCreatedV2.js"), exports);
350
+ __exportStar(require("./AuditLogsConnectorConfigPreviousTokenRevokedV1.js"), exports);
348
351
  __exportStar(require("./AuditLogsConnectorConfigTokenGeneratedV1.js"), exports);
349
352
  __exportStar(require("./AuditLogsConnectorConfigTokenGeneratedV2.js"), exports);
350
353
  __exportStar(require("./AuditLogsConnectorConfigUpdatedV1.js"), exports);
@@ -441,6 +444,7 @@ __exportStar(require("./AuditLogsIncidentStatusDeletedV1.js"), exports);
441
444
  __exportStar(require("./AuditLogsIncidentStatusDeletedV2.js"), exports);
442
445
  __exportStar(require("./AuditLogsIncidentStatusUpdatedV1.js"), exports);
443
446
  __exportStar(require("./AuditLogsIncidentStatusUpdatedV2.js"), exports);
447
+ __exportStar(require("./AuditLogsIncidentSummaryConfigUpdatedV1.js"), exports);
444
448
  __exportStar(require("./AuditLogsIncidentTemplateCreatedV1.js"), exports);
445
449
  __exportStar(require("./AuditLogsIncidentTemplateCreatedV2.js"), exports);
446
450
  __exportStar(require("./AuditLogsIncidentTemplateDeletedV1.js"), exports);
@@ -469,6 +473,7 @@ __exportStar(require("./AuditLogsIncidentTypeDeletedV2.js"), exports);
469
473
  __exportStar(require("./AuditLogsIncidentTypeUpdatedV1.js"), exports);
470
474
  __exportStar(require("./AuditLogsIncidentTypeUpdatedV2.js"), exports);
471
475
  __exportStar(require("./AuditLogsIncidentTypeUpdatedV3.js"), exports);
476
+ __exportStar(require("./AuditLogsIncidentUpdateConfigUpdatedV1.js"), exports);
472
477
  __exportStar(require("./AuditLogsIntegrationInstalledV1.js"), exports);
473
478
  __exportStar(require("./AuditLogsIntegrationInstalledV2.js"), exports);
474
479
  __exportStar(require("./AuditLogsIntegrationUninstalledV1.js"), exports);
@@ -1 +1 @@
1
- export declare const VERSION = "2.42.0";
1
+ export declare const VERSION = "2.44.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.44.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,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,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { parseDateTime, serializeDateTime } from '../runtime.js';
15
+ import { AuditLogActorV2FromJSON, AuditLogActorV2ToJSON, } from './AuditLogActorV2.js';
16
+ import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
17
+ import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
18
+ /**
19
+ * Check if a given object implements the AuditLogsConnectorConfigPreviousTokenRevokedV1 interface.
20
+ */
21
+ export function instanceOfAuditLogsConnectorConfigPreviousTokenRevokedV1(value) {
22
+ if (!('action' in value) || value['action'] === undefined)
23
+ return false;
24
+ if (!('actor' in value) || value['actor'] === undefined)
25
+ return false;
26
+ if (!('context' in value) || value['context'] === undefined)
27
+ return false;
28
+ if (!('occurred_at' in value) || value['occurred_at'] === undefined)
29
+ return false;
30
+ if (!('targets' in value) || value['targets'] === undefined)
31
+ return false;
32
+ if (!('version' in value) || value['version'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ export function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSON(json) {
37
+ return AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped(json, false);
38
+ }
39
+ export function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'action': json['action'],
45
+ 'actor': AuditLogActorV2FromJSON(json['actor']),
46
+ 'context': AuditLogEntryContextV2FromJSON(json['context']),
47
+ 'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : parseDateTime(json['occurred_at'])),
48
+ 'targets': (json['targets'].map(AuditLogTargetV2FromJSON)),
49
+ 'version': json['version'],
50
+ };
51
+ }
52
+ export function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSON(json) {
53
+ return AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped(json, false);
54
+ }
55
+ export function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'action': value['action'],
61
+ 'actor': AuditLogActorV2ToJSON(value['actor']),
62
+ 'context': AuditLogEntryContextV2ToJSON(value['context']),
63
+ 'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : serializeDateTime(value['occurred_at']),
64
+ 'targets': (value['targets'].map(AuditLogTargetV2ToJSON)),
65
+ 'version': value['version'],
66
+ };
67
+ }
@@ -0,0 +1,58 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AuditLogActorV2 } from './AuditLogActorV2.js';
13
+ import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
14
+ import type { 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';
@@ -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';