@incident-io/sdk 2.11.0 → 2.13.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 (63) hide show
  1. package/dist/cjs/models/AuditLogExtensionPluginCreatedMetadataV2.d.ts +42 -0
  2. package/dist/cjs/models/AuditLogExtensionPluginCreatedMetadataV2.js +60 -0
  3. package/dist/cjs/models/AuditLogExtensionPluginUpdatedMetadataV2.d.ts +94 -0
  4. package/dist/cjs/models/AuditLogExtensionPluginUpdatedMetadataV2.js +82 -0
  5. package/dist/cjs/models/AuditLogInvestigationTriggerMetadataV2.d.ts +54 -0
  6. package/dist/cjs/models/AuditLogInvestigationTriggerMetadataV2.js +70 -0
  7. package/dist/cjs/models/AuditLogTargetV2.d.ts +3 -0
  8. package/dist/cjs/models/AuditLogTargetV2.js +3 -0
  9. package/dist/cjs/models/AuditLogsExtensionPluginCreatedV1.d.ts +58 -0
  10. package/dist/cjs/models/AuditLogsExtensionPluginCreatedV1.js +79 -0
  11. package/dist/cjs/models/AuditLogsExtensionPluginDeletedV1.d.ts +53 -0
  12. package/dist/cjs/models/AuditLogsExtensionPluginDeletedV1.js +74 -0
  13. package/dist/cjs/models/AuditLogsExtensionPluginUpdatedV1.d.ts +58 -0
  14. package/dist/cjs/models/AuditLogsExtensionPluginUpdatedV1.js +79 -0
  15. package/dist/cjs/models/AuditLogsGlossaryEntryCreatedV1.d.ts +53 -0
  16. package/dist/cjs/models/AuditLogsGlossaryEntryCreatedV1.js +74 -0
  17. package/dist/cjs/models/AuditLogsGlossaryEntryDeletedV1.d.ts +53 -0
  18. package/dist/cjs/models/AuditLogsGlossaryEntryDeletedV1.js +74 -0
  19. package/dist/cjs/models/AuditLogsGlossaryEntryUpdatedV1.d.ts +53 -0
  20. package/dist/cjs/models/AuditLogsGlossaryEntryUpdatedV1.js +74 -0
  21. package/dist/cjs/models/AuditLogsInvestigationTriggerCreatedV1.d.ts +58 -0
  22. package/dist/cjs/models/AuditLogsInvestigationTriggerCreatedV1.js +79 -0
  23. package/dist/cjs/models/AuditLogsInvestigationTriggerDeletedV1.d.ts +58 -0
  24. package/dist/cjs/models/AuditLogsInvestigationTriggerDeletedV1.js +79 -0
  25. package/dist/cjs/models/AuditLogsInvestigationTriggerUpdatedV1.d.ts +58 -0
  26. package/dist/cjs/models/AuditLogsInvestigationTriggerUpdatedV1.js +79 -0
  27. package/dist/cjs/models/PostmortemDocumentsAttachPayloadV1.d.ts +1 -1
  28. package/dist/cjs/models/index.d.ts +12 -0
  29. package/dist/cjs/models/index.js +12 -0
  30. package/dist/cjs/version.d.ts +1 -1
  31. package/dist/cjs/version.js +1 -1
  32. package/dist/esm/models/AuditLogExtensionPluginCreatedMetadataV2.d.ts +42 -0
  33. package/dist/esm/models/AuditLogExtensionPluginCreatedMetadataV2.js +53 -0
  34. package/dist/esm/models/AuditLogExtensionPluginUpdatedMetadataV2.d.ts +94 -0
  35. package/dist/esm/models/AuditLogExtensionPluginUpdatedMetadataV2.js +75 -0
  36. package/dist/esm/models/AuditLogInvestigationTriggerMetadataV2.d.ts +54 -0
  37. package/dist/esm/models/AuditLogInvestigationTriggerMetadataV2.js +63 -0
  38. package/dist/esm/models/AuditLogTargetV2.d.ts +3 -0
  39. package/dist/esm/models/AuditLogTargetV2.js +3 -0
  40. package/dist/esm/models/AuditLogsExtensionPluginCreatedV1.d.ts +58 -0
  41. package/dist/esm/models/AuditLogsExtensionPluginCreatedV1.js +72 -0
  42. package/dist/esm/models/AuditLogsExtensionPluginDeletedV1.d.ts +53 -0
  43. package/dist/esm/models/AuditLogsExtensionPluginDeletedV1.js +67 -0
  44. package/dist/esm/models/AuditLogsExtensionPluginUpdatedV1.d.ts +58 -0
  45. package/dist/esm/models/AuditLogsExtensionPluginUpdatedV1.js +72 -0
  46. package/dist/esm/models/AuditLogsGlossaryEntryCreatedV1.d.ts +53 -0
  47. package/dist/esm/models/AuditLogsGlossaryEntryCreatedV1.js +67 -0
  48. package/dist/esm/models/AuditLogsGlossaryEntryDeletedV1.d.ts +53 -0
  49. package/dist/esm/models/AuditLogsGlossaryEntryDeletedV1.js +67 -0
  50. package/dist/esm/models/AuditLogsGlossaryEntryUpdatedV1.d.ts +53 -0
  51. package/dist/esm/models/AuditLogsGlossaryEntryUpdatedV1.js +67 -0
  52. package/dist/esm/models/AuditLogsInvestigationTriggerCreatedV1.d.ts +58 -0
  53. package/dist/esm/models/AuditLogsInvestigationTriggerCreatedV1.js +72 -0
  54. package/dist/esm/models/AuditLogsInvestigationTriggerDeletedV1.d.ts +58 -0
  55. package/dist/esm/models/AuditLogsInvestigationTriggerDeletedV1.js +72 -0
  56. package/dist/esm/models/AuditLogsInvestigationTriggerUpdatedV1.d.ts +58 -0
  57. package/dist/esm/models/AuditLogsInvestigationTriggerUpdatedV1.js +72 -0
  58. package/dist/esm/models/PostmortemDocumentsAttachPayloadV1.d.ts +1 -1
  59. package/dist/esm/models/index.d.ts +12 -0
  60. package/dist/esm/models/index.js +12 -0
  61. package/dist/esm/version.d.ts +1 -1
  62. package/dist/esm/version.js +1 -1
  63. package/package.json +1 -1
@@ -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.instanceOfAuditLogsInvestigationTriggerCreatedV1 = instanceOfAuditLogsInvestigationTriggerCreatedV1;
17
+ exports.AuditLogsInvestigationTriggerCreatedV1FromJSON = AuditLogsInvestigationTriggerCreatedV1FromJSON;
18
+ exports.AuditLogsInvestigationTriggerCreatedV1FromJSONTyped = AuditLogsInvestigationTriggerCreatedV1FromJSONTyped;
19
+ exports.AuditLogsInvestigationTriggerCreatedV1ToJSON = AuditLogsInvestigationTriggerCreatedV1ToJSON;
20
+ exports.AuditLogsInvestigationTriggerCreatedV1ToJSONTyped = AuditLogsInvestigationTriggerCreatedV1ToJSONTyped;
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 AuditLogInvestigationTriggerMetadataV2_js_1 = require("./AuditLogInvestigationTriggerMetadataV2.js");
25
+ const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
26
+ /**
27
+ * Check if a given object implements the AuditLogsInvestigationTriggerCreatedV1 interface.
28
+ */
29
+ function instanceOfAuditLogsInvestigationTriggerCreatedV1(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 AuditLogsInvestigationTriggerCreatedV1FromJSON(json) {
47
+ return AuditLogsInvestigationTriggerCreatedV1FromJSONTyped(json, false);
48
+ }
49
+ function AuditLogsInvestigationTriggerCreatedV1FromJSONTyped(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, AuditLogInvestigationTriggerMetadataV2_js_1.AuditLogInvestigationTriggerMetadataV2FromJSON)(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 AuditLogsInvestigationTriggerCreatedV1ToJSON(json) {
64
+ return AuditLogsInvestigationTriggerCreatedV1ToJSONTyped(json, false);
65
+ }
66
+ function AuditLogsInvestigationTriggerCreatedV1ToJSONTyped(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, AuditLogInvestigationTriggerMetadataV2_js_1.AuditLogInvestigationTriggerMetadataV2ToJSON)(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 { AuditLogInvestigationTriggerMetadataV2 } from './AuditLogInvestigationTriggerMetadataV2.js';
15
+ import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AuditLogsInvestigationTriggerDeletedV1
20
+ */
21
+ export interface AuditLogsInvestigationTriggerDeletedV1 {
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: AuditLogInvestigationTriggerMetadataV2;
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 AuditLogsInvestigationTriggerDeletedV1 interface.
53
+ */
54
+ export declare function instanceOfAuditLogsInvestigationTriggerDeletedV1(value: object): value is AuditLogsInvestigationTriggerDeletedV1;
55
+ export declare function AuditLogsInvestigationTriggerDeletedV1FromJSON(json: any): AuditLogsInvestigationTriggerDeletedV1;
56
+ export declare function AuditLogsInvestigationTriggerDeletedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsInvestigationTriggerDeletedV1;
57
+ export declare function AuditLogsInvestigationTriggerDeletedV1ToJSON(json: any): AuditLogsInvestigationTriggerDeletedV1;
58
+ export declare function AuditLogsInvestigationTriggerDeletedV1ToJSONTyped(value?: AuditLogsInvestigationTriggerDeletedV1 | 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.instanceOfAuditLogsInvestigationTriggerDeletedV1 = instanceOfAuditLogsInvestigationTriggerDeletedV1;
17
+ exports.AuditLogsInvestigationTriggerDeletedV1FromJSON = AuditLogsInvestigationTriggerDeletedV1FromJSON;
18
+ exports.AuditLogsInvestigationTriggerDeletedV1FromJSONTyped = AuditLogsInvestigationTriggerDeletedV1FromJSONTyped;
19
+ exports.AuditLogsInvestigationTriggerDeletedV1ToJSON = AuditLogsInvestigationTriggerDeletedV1ToJSON;
20
+ exports.AuditLogsInvestigationTriggerDeletedV1ToJSONTyped = AuditLogsInvestigationTriggerDeletedV1ToJSONTyped;
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 AuditLogInvestigationTriggerMetadataV2_js_1 = require("./AuditLogInvestigationTriggerMetadataV2.js");
25
+ const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
26
+ /**
27
+ * Check if a given object implements the AuditLogsInvestigationTriggerDeletedV1 interface.
28
+ */
29
+ function instanceOfAuditLogsInvestigationTriggerDeletedV1(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 AuditLogsInvestigationTriggerDeletedV1FromJSON(json) {
47
+ return AuditLogsInvestigationTriggerDeletedV1FromJSONTyped(json, false);
48
+ }
49
+ function AuditLogsInvestigationTriggerDeletedV1FromJSONTyped(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, AuditLogInvestigationTriggerMetadataV2_js_1.AuditLogInvestigationTriggerMetadataV2FromJSON)(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 AuditLogsInvestigationTriggerDeletedV1ToJSON(json) {
64
+ return AuditLogsInvestigationTriggerDeletedV1ToJSONTyped(json, false);
65
+ }
66
+ function AuditLogsInvestigationTriggerDeletedV1ToJSONTyped(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, AuditLogInvestigationTriggerMetadataV2_js_1.AuditLogInvestigationTriggerMetadataV2ToJSON)(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 { AuditLogInvestigationTriggerMetadataV2 } from './AuditLogInvestigationTriggerMetadataV2.js';
15
+ import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AuditLogsInvestigationTriggerUpdatedV1
20
+ */
21
+ export interface AuditLogsInvestigationTriggerUpdatedV1 {
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: AuditLogInvestigationTriggerMetadataV2;
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 AuditLogsInvestigationTriggerUpdatedV1 interface.
53
+ */
54
+ export declare function instanceOfAuditLogsInvestigationTriggerUpdatedV1(value: object): value is AuditLogsInvestigationTriggerUpdatedV1;
55
+ export declare function AuditLogsInvestigationTriggerUpdatedV1FromJSON(json: any): AuditLogsInvestigationTriggerUpdatedV1;
56
+ export declare function AuditLogsInvestigationTriggerUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsInvestigationTriggerUpdatedV1;
57
+ export declare function AuditLogsInvestigationTriggerUpdatedV1ToJSON(json: any): AuditLogsInvestigationTriggerUpdatedV1;
58
+ export declare function AuditLogsInvestigationTriggerUpdatedV1ToJSONTyped(value?: AuditLogsInvestigationTriggerUpdatedV1 | 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.instanceOfAuditLogsInvestigationTriggerUpdatedV1 = instanceOfAuditLogsInvestigationTriggerUpdatedV1;
17
+ exports.AuditLogsInvestigationTriggerUpdatedV1FromJSON = AuditLogsInvestigationTriggerUpdatedV1FromJSON;
18
+ exports.AuditLogsInvestigationTriggerUpdatedV1FromJSONTyped = AuditLogsInvestigationTriggerUpdatedV1FromJSONTyped;
19
+ exports.AuditLogsInvestigationTriggerUpdatedV1ToJSON = AuditLogsInvestigationTriggerUpdatedV1ToJSON;
20
+ exports.AuditLogsInvestigationTriggerUpdatedV1ToJSONTyped = AuditLogsInvestigationTriggerUpdatedV1ToJSONTyped;
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 AuditLogInvestigationTriggerMetadataV2_js_1 = require("./AuditLogInvestigationTriggerMetadataV2.js");
25
+ const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
26
+ /**
27
+ * Check if a given object implements the AuditLogsInvestigationTriggerUpdatedV1 interface.
28
+ */
29
+ function instanceOfAuditLogsInvestigationTriggerUpdatedV1(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 AuditLogsInvestigationTriggerUpdatedV1FromJSON(json) {
47
+ return AuditLogsInvestigationTriggerUpdatedV1FromJSONTyped(json, false);
48
+ }
49
+ function AuditLogsInvestigationTriggerUpdatedV1FromJSONTyped(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, AuditLogInvestigationTriggerMetadataV2_js_1.AuditLogInvestigationTriggerMetadataV2FromJSON)(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 AuditLogsInvestigationTriggerUpdatedV1ToJSON(json) {
64
+ return AuditLogsInvestigationTriggerUpdatedV1ToJSONTyped(json, false);
65
+ }
66
+ function AuditLogsInvestigationTriggerUpdatedV1ToJSONTyped(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, AuditLogInvestigationTriggerMetadataV2_js_1.AuditLogInvestigationTriggerMetadataV2ToJSON)(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
+ }
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface PostmortemDocumentsAttachPayloadV1 {
18
18
  /**
19
- * The provider hosting the document. Set this when it can't be inferred from the permalink so the link renders correctly.
19
+ * The provider hosting the document. This is informational only: the document is always stored as a link to the permalink.
20
20
  */
21
21
  document_provider?: PostmortemDocumentsAttachPayloadV1DocumentProviderEnum;
22
22
  /**
@@ -204,9 +204,12 @@ export * from './AuditLogEntryContextV2.js';
204
204
  export * from './AuditLogExtensionConnectorCalledMetadataV2.js';
205
205
  export * from './AuditLogExtensionConnectorCalledMetadataV2V2.js';
206
206
  export * from './AuditLogExtensionConnectorCalledMetadataV3V2.js';
207
+ export * from './AuditLogExtensionPluginCreatedMetadataV2.js';
208
+ export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
207
209
  export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
208
210
  export * from './AuditLogIPAllowlistUpdatedMetadataV2.js';
209
211
  export * from './AuditLogIncidentTypeDefaultTeamsMetadataV2.js';
212
+ export * from './AuditLogInvestigationTriggerMetadataV2.js';
210
213
  export * from './AuditLogMicrosoftEntraTenantLinkedMetadataV2.js';
211
214
  export * from './AuditLogMobileIntuneEnabledSettingUpdatedMetadataV2.js';
212
215
  export * from './AuditLogOnCallNotificationMethodMetadataV2.js';
@@ -293,12 +296,18 @@ export * from './AuditLogsEscalationScrubbedV1.js';
293
296
  export * from './AuditLogsExtensionConnectorCalledV1.js';
294
297
  export * from './AuditLogsExtensionConnectorCalledV2.js';
295
298
  export * from './AuditLogsExtensionConnectorCalledV3.js';
299
+ export * from './AuditLogsExtensionPluginCreatedV1.js';
300
+ export * from './AuditLogsExtensionPluginDeletedV1.js';
301
+ export * from './AuditLogsExtensionPluginUpdatedV1.js';
296
302
  export * from './AuditLogsFollowUpCategoryCreatedV1.js';
297
303
  export * from './AuditLogsFollowUpCategoryDeletedV1.js';
298
304
  export * from './AuditLogsFollowUpCategoryUpdatedV1.js';
299
305
  export * from './AuditLogsFollowUpPriorityCreatedV1.js';
300
306
  export * from './AuditLogsFollowUpPriorityDeletedV1.js';
301
307
  export * from './AuditLogsFollowUpPriorityUpdatedV1.js';
308
+ export * from './AuditLogsGlossaryEntryCreatedV1.js';
309
+ export * from './AuditLogsGlossaryEntryDeletedV1.js';
310
+ export * from './AuditLogsGlossaryEntryUpdatedV1.js';
302
311
  export * from './AuditLogsHolidayUserFeedCreatedV1.js';
303
312
  export * from './AuditLogsHolidayUserFeedDeletedV1.js';
304
313
  export * from './AuditLogsHolidayUserFeedUpdatedV1.js';
@@ -336,6 +345,9 @@ export * from './AuditLogsIntegrationUninstalledV1.js';
336
345
  export * from './AuditLogsInternalStatusPageCreatedV1.js';
337
346
  export * from './AuditLogsInternalStatusPageDeletedV1.js';
338
347
  export * from './AuditLogsInternalStatusPageUpdatedV1.js';
348
+ export * from './AuditLogsInvestigationTriggerCreatedV1.js';
349
+ export * from './AuditLogsInvestigationTriggerDeletedV1.js';
350
+ export * from './AuditLogsInvestigationTriggerUpdatedV1.js';
339
351
  export * from './AuditLogsMaintenanceWindowCreatedV1.js';
340
352
  export * from './AuditLogsMaintenanceWindowDeletedV1.js';
341
353
  export * from './AuditLogsMaintenanceWindowUpdatedV1.js';
@@ -222,9 +222,12 @@ __exportStar(require("./AuditLogEntryContextV2.js"), exports);
222
222
  __exportStar(require("./AuditLogExtensionConnectorCalledMetadataV2.js"), exports);
223
223
  __exportStar(require("./AuditLogExtensionConnectorCalledMetadataV2V2.js"), exports);
224
224
  __exportStar(require("./AuditLogExtensionConnectorCalledMetadataV3V2.js"), exports);
225
+ __exportStar(require("./AuditLogExtensionPluginCreatedMetadataV2.js"), exports);
226
+ __exportStar(require("./AuditLogExtensionPluginUpdatedMetadataV2.js"), exports);
225
227
  __exportStar(require("./AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js"), exports);
226
228
  __exportStar(require("./AuditLogIPAllowlistUpdatedMetadataV2.js"), exports);
227
229
  __exportStar(require("./AuditLogIncidentTypeDefaultTeamsMetadataV2.js"), exports);
230
+ __exportStar(require("./AuditLogInvestigationTriggerMetadataV2.js"), exports);
228
231
  __exportStar(require("./AuditLogMicrosoftEntraTenantLinkedMetadataV2.js"), exports);
229
232
  __exportStar(require("./AuditLogMobileIntuneEnabledSettingUpdatedMetadataV2.js"), exports);
230
233
  __exportStar(require("./AuditLogOnCallNotificationMethodMetadataV2.js"), exports);
@@ -311,12 +314,18 @@ __exportStar(require("./AuditLogsEscalationScrubbedV1.js"), exports);
311
314
  __exportStar(require("./AuditLogsExtensionConnectorCalledV1.js"), exports);
312
315
  __exportStar(require("./AuditLogsExtensionConnectorCalledV2.js"), exports);
313
316
  __exportStar(require("./AuditLogsExtensionConnectorCalledV3.js"), exports);
317
+ __exportStar(require("./AuditLogsExtensionPluginCreatedV1.js"), exports);
318
+ __exportStar(require("./AuditLogsExtensionPluginDeletedV1.js"), exports);
319
+ __exportStar(require("./AuditLogsExtensionPluginUpdatedV1.js"), exports);
314
320
  __exportStar(require("./AuditLogsFollowUpCategoryCreatedV1.js"), exports);
315
321
  __exportStar(require("./AuditLogsFollowUpCategoryDeletedV1.js"), exports);
316
322
  __exportStar(require("./AuditLogsFollowUpCategoryUpdatedV1.js"), exports);
317
323
  __exportStar(require("./AuditLogsFollowUpPriorityCreatedV1.js"), exports);
318
324
  __exportStar(require("./AuditLogsFollowUpPriorityDeletedV1.js"), exports);
319
325
  __exportStar(require("./AuditLogsFollowUpPriorityUpdatedV1.js"), exports);
326
+ __exportStar(require("./AuditLogsGlossaryEntryCreatedV1.js"), exports);
327
+ __exportStar(require("./AuditLogsGlossaryEntryDeletedV1.js"), exports);
328
+ __exportStar(require("./AuditLogsGlossaryEntryUpdatedV1.js"), exports);
320
329
  __exportStar(require("./AuditLogsHolidayUserFeedCreatedV1.js"), exports);
321
330
  __exportStar(require("./AuditLogsHolidayUserFeedDeletedV1.js"), exports);
322
331
  __exportStar(require("./AuditLogsHolidayUserFeedUpdatedV1.js"), exports);
@@ -354,6 +363,9 @@ __exportStar(require("./AuditLogsIntegrationUninstalledV1.js"), exports);
354
363
  __exportStar(require("./AuditLogsInternalStatusPageCreatedV1.js"), exports);
355
364
  __exportStar(require("./AuditLogsInternalStatusPageDeletedV1.js"), exports);
356
365
  __exportStar(require("./AuditLogsInternalStatusPageUpdatedV1.js"), exports);
366
+ __exportStar(require("./AuditLogsInvestigationTriggerCreatedV1.js"), exports);
367
+ __exportStar(require("./AuditLogsInvestigationTriggerDeletedV1.js"), exports);
368
+ __exportStar(require("./AuditLogsInvestigationTriggerUpdatedV1.js"), exports);
357
369
  __exportStar(require("./AuditLogsMaintenanceWindowCreatedV1.js"), exports);
358
370
  __exportStar(require("./AuditLogsMaintenanceWindowDeletedV1.js"), exports);
359
371
  __exportStar(require("./AuditLogsMaintenanceWindowUpdatedV1.js"), exports);
@@ -1 +1 @@
1
- export declare const VERSION = "2.11.0";
1
+ export declare const VERSION = "2.13.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.11.0";
5
+ exports.VERSION = "2.13.0";
@@ -0,0 +1,42 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AuditLogExtensionPluginCreatedMetadataV2
16
+ */
17
+ export interface AuditLogExtensionPluginCreatedMetadataV2 {
18
+ /**
19
+ * The source control provider the plugin's repository lives in (github, gitlab)
20
+ */
21
+ provider: string;
22
+ /**
23
+ * The name of the plugin's repository
24
+ */
25
+ repo_name: string;
26
+ /**
27
+ * The owner of the plugin's repository, including any GitLab group path
28
+ */
29
+ repo_owner: string;
30
+ /**
31
+ * The plugin's directory within the repository, absent when the plugin is the repository root
32
+ */
33
+ subpath?: string;
34
+ }
35
+ /**
36
+ * Check if a given object implements the AuditLogExtensionPluginCreatedMetadataV2 interface.
37
+ */
38
+ export declare function instanceOfAuditLogExtensionPluginCreatedMetadataV2(value: object): value is AuditLogExtensionPluginCreatedMetadataV2;
39
+ export declare function AuditLogExtensionPluginCreatedMetadataV2FromJSON(json: any): AuditLogExtensionPluginCreatedMetadataV2;
40
+ export declare function AuditLogExtensionPluginCreatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogExtensionPluginCreatedMetadataV2;
41
+ export declare function AuditLogExtensionPluginCreatedMetadataV2ToJSON(json: any): AuditLogExtensionPluginCreatedMetadataV2;
42
+ export declare function AuditLogExtensionPluginCreatedMetadataV2ToJSONTyped(value?: AuditLogExtensionPluginCreatedMetadataV2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
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 AuditLogExtensionPluginCreatedMetadataV2 interface.
16
+ */
17
+ export function instanceOfAuditLogExtensionPluginCreatedMetadataV2(value) {
18
+ if (!('provider' in value) || value['provider'] === undefined)
19
+ return false;
20
+ if (!('repo_name' in value) || value['repo_name'] === undefined)
21
+ return false;
22
+ if (!('repo_owner' in value) || value['repo_owner'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function AuditLogExtensionPluginCreatedMetadataV2FromJSON(json) {
27
+ return AuditLogExtensionPluginCreatedMetadataV2FromJSONTyped(json, false);
28
+ }
29
+ export function AuditLogExtensionPluginCreatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'provider': json['provider'],
35
+ 'repo_name': json['repo_name'],
36
+ 'repo_owner': json['repo_owner'],
37
+ 'subpath': json['subpath'] == null ? undefined : json['subpath'],
38
+ };
39
+ }
40
+ export function AuditLogExtensionPluginCreatedMetadataV2ToJSON(json) {
41
+ return AuditLogExtensionPluginCreatedMetadataV2ToJSONTyped(json, false);
42
+ }
43
+ export function AuditLogExtensionPluginCreatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'provider': value['provider'],
49
+ 'repo_name': value['repo_name'],
50
+ 'repo_owner': value['repo_owner'],
51
+ 'subpath': value['subpath'],
52
+ };
53
+ }
@@ -0,0 +1,94 @@
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 AuditLogExtensionPluginUpdatedMetadataV2
16
+ */
17
+ export interface AuditLogExtensionPluginUpdatedMetadataV2 {
18
+ /**
19
+ * Whether the plugin is mounted into agent runs after the change (true, false)
20
+ */
21
+ after_enabled?: string;
22
+ /**
23
+ * How many skills are selected after the change, absent when every skill loads
24
+ */
25
+ after_enabled_skill_count?: string;
26
+ /**
27
+ * The plugin's name after the change
28
+ */
29
+ after_name?: string;
30
+ /**
31
+ * The source control provider of the plugin's new repository (github, gitlab)
32
+ */
33
+ after_provider?: string;
34
+ /**
35
+ * The name of the plugin's new repository
36
+ */
37
+ after_repo_name?: string;
38
+ /**
39
+ * The owner of the plugin's new repository
40
+ */
41
+ after_repo_owner?: string;
42
+ /**
43
+ * Which skills load after the change: every skill, or only the selected ones (automatic, selected)
44
+ */
45
+ after_skill_selection_mode?: string;
46
+ /**
47
+ * The plugin's new directory within its repository, absent when it is the repository root
48
+ */
49
+ after_subpath?: string;
50
+ /**
51
+ * Whether the plugin was mounted into agent runs before the change (true, false)
52
+ */
53
+ before_enabled?: string;
54
+ /**
55
+ * How many skills were selected before the change, absent when every skill loaded
56
+ */
57
+ before_enabled_skill_count?: string;
58
+ /**
59
+ * The plugin's name before the change
60
+ */
61
+ before_name?: string;
62
+ /**
63
+ * The source control provider of the plugin's previous repository (github, gitlab)
64
+ */
65
+ before_provider?: string;
66
+ /**
67
+ * The name of the plugin's previous repository
68
+ */
69
+ before_repo_name?: string;
70
+ /**
71
+ * The owner of the plugin's previous repository
72
+ */
73
+ before_repo_owner?: string;
74
+ /**
75
+ * Which skills loaded before the change: every skill, or only the selected ones (automatic, selected)
76
+ */
77
+ before_skill_selection_mode?: string;
78
+ /**
79
+ * The plugin's previous directory within its repository, absent when it was the repository root
80
+ */
81
+ before_subpath?: string;
82
+ /**
83
+ * What the update changed, comma separated (enabled, skill_selection, name, location)
84
+ */
85
+ changed: string;
86
+ }
87
+ /**
88
+ * Check if a given object implements the AuditLogExtensionPluginUpdatedMetadataV2 interface.
89
+ */
90
+ export declare function instanceOfAuditLogExtensionPluginUpdatedMetadataV2(value: object): value is AuditLogExtensionPluginUpdatedMetadataV2;
91
+ export declare function AuditLogExtensionPluginUpdatedMetadataV2FromJSON(json: any): AuditLogExtensionPluginUpdatedMetadataV2;
92
+ export declare function AuditLogExtensionPluginUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogExtensionPluginUpdatedMetadataV2;
93
+ export declare function AuditLogExtensionPluginUpdatedMetadataV2ToJSON(json: any): AuditLogExtensionPluginUpdatedMetadataV2;
94
+ export declare function AuditLogExtensionPluginUpdatedMetadataV2ToJSONTyped(value?: AuditLogExtensionPluginUpdatedMetadataV2 | null, ignoreDiscriminator?: boolean): any;