@incident-io/sdk 2.18.0 → 2.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/cjs/models/AlertSourceV2.d.ts +1 -0
  2. package/dist/cjs/models/AlertSourceV2.js +1 -0
  3. package/dist/cjs/models/AlertSourcesCreatePayloadV2.d.ts +1 -0
  4. package/dist/cjs/models/AlertSourcesCreatePayloadV2.js +1 -0
  5. package/dist/cjs/models/AlertSourcesValidatePayloadV2.d.ts +1 -0
  6. package/dist/cjs/models/AlertSourcesValidatePayloadV2.js +1 -0
  7. package/dist/cjs/models/AuditLogExtensionConnectorCalledMetadataV4V2.d.ts +70 -0
  8. package/dist/cjs/models/AuditLogExtensionConnectorCalledMetadataV4V2.js +76 -0
  9. package/dist/cjs/models/AuditLogsExtensionConnectorCalledV4.d.ts +58 -0
  10. package/dist/cjs/models/AuditLogsExtensionConnectorCalledV4.js +79 -0
  11. package/dist/cjs/models/index.d.ts +2 -0
  12. package/dist/cjs/models/index.js +2 -0
  13. package/dist/cjs/version.d.ts +1 -1
  14. package/dist/cjs/version.js +1 -1
  15. package/dist/esm/models/AlertSourceV2.d.ts +1 -0
  16. package/dist/esm/models/AlertSourceV2.js +1 -0
  17. package/dist/esm/models/AlertSourcesCreatePayloadV2.d.ts +1 -0
  18. package/dist/esm/models/AlertSourcesCreatePayloadV2.js +1 -0
  19. package/dist/esm/models/AlertSourcesValidatePayloadV2.d.ts +1 -0
  20. package/dist/esm/models/AlertSourcesValidatePayloadV2.js +1 -0
  21. package/dist/esm/models/AuditLogExtensionConnectorCalledMetadataV4V2.d.ts +70 -0
  22. package/dist/esm/models/AuditLogExtensionConnectorCalledMetadataV4V2.js +69 -0
  23. package/dist/esm/models/AuditLogsExtensionConnectorCalledV4.d.ts +58 -0
  24. package/dist/esm/models/AuditLogsExtensionConnectorCalledV4.js +72 -0
  25. package/dist/esm/models/index.d.ts +2 -0
  26. package/dist/esm/models/index.js +2 -0
  27. package/dist/esm/version.d.ts +1 -1
  28. package/dist/esm/version.js +1 -1
  29. package/package.json +1 -1
@@ -115,6 +115,7 @@ export declare const AlertSourceV2SourceTypeEnum: {
115
115
  readonly Elasticsearch: "elasticsearch";
116
116
  readonly Email: "email";
117
117
  readonly Expel: "expel";
118
+ readonly GitGuardian: "git_guardian";
118
119
  readonly GithubIssue: "github_issue";
119
120
  readonly GoogleCloud: "google_cloud";
120
121
  readonly GoogleSecops: "google_secops";
@@ -50,6 +50,7 @@ exports.AlertSourceV2SourceTypeEnum = {
50
50
  Elasticsearch: 'elasticsearch',
51
51
  Email: 'email',
52
52
  Expel: 'expel',
53
+ GitGuardian: 'git_guardian',
53
54
  GithubIssue: 'github_issue',
54
55
  GoogleCloud: 'google_cloud',
55
56
  GoogleSecops: 'google_secops',
@@ -103,6 +103,7 @@ export declare const AlertSourcesCreatePayloadV2SourceTypeEnum: {
103
103
  readonly Elasticsearch: "elasticsearch";
104
104
  readonly Email: "email";
105
105
  readonly Expel: "expel";
106
+ readonly GitGuardian: "git_guardian";
106
107
  readonly GithubIssue: "github_issue";
107
108
  readonly GoogleCloud: "google_cloud";
108
109
  readonly GoogleSecops: "google_secops";
@@ -50,6 +50,7 @@ exports.AlertSourcesCreatePayloadV2SourceTypeEnum = {
50
50
  Elasticsearch: 'elasticsearch',
51
51
  Email: 'email',
52
52
  Expel: 'expel',
53
+ GitGuardian: 'git_guardian',
53
54
  GithubIssue: 'github_issue',
54
55
  GoogleCloud: 'google_cloud',
55
56
  GoogleSecops: 'google_secops',
@@ -52,6 +52,7 @@ export declare const AlertSourcesValidatePayloadV2SourceTypeEnum: {
52
52
  readonly Elasticsearch: "elasticsearch";
53
53
  readonly Email: "email";
54
54
  readonly Expel: "expel";
55
+ readonly GitGuardian: "git_guardian";
55
56
  readonly GithubIssue: "github_issue";
56
57
  readonly GoogleCloud: "google_cloud";
57
58
  readonly GoogleSecops: "google_secops";
@@ -43,6 +43,7 @@ exports.AlertSourcesValidatePayloadV2SourceTypeEnum = {
43
43
  Elasticsearch: 'elasticsearch',
44
44
  Email: 'email',
45
45
  Expel: 'expel',
46
+ GitGuardian: 'git_guardian',
46
47
  GithubIssue: 'github_issue',
47
48
  GoogleCloud: 'google_cloud',
48
49
  GoogleSecops: 'google_secops',
@@ -0,0 +1,70 @@
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 AuditLogExtensionConnectorCalledMetadataV4V2
16
+ */
17
+ export interface AuditLogExtensionConnectorCalledMetadataV4V2 {
18
+ /**
19
+ * What decided: the connector's access policy, or a decision pinned on this tool (policy, override)
20
+ */
21
+ access_source?: string;
22
+ /**
23
+ * ID of the approval request this call executed, when a person's approval is what permitted it
24
+ */
25
+ approval_id?: string;
26
+ /**
27
+ * ID of the user who approved the approval request this call executed
28
+ */
29
+ approved_by?: string;
30
+ /**
31
+ * What calling the tool does to the connected system, as the tool's own server describes it (read, write, destructive, unknown)
32
+ */
33
+ _class?: string;
34
+ /**
35
+ * The incident the call was made for, when incident-scoped
36
+ */
37
+ incident_id?: string;
38
+ /**
39
+ * How the call ended (success, error, denied, requires_approval). A denied call was refused by the connector's access policy and a requires_approval call is waiting for a person's approval; neither reached the connected system
40
+ */
41
+ outcome: string;
42
+ /**
43
+ * Why the call was allowed, refused or made to wait (allowed, denied_by_rule, disabled, unknown_rule_type, rule_not_found, not_read, no_person_present, not_in_allow_list, requires_approval)
44
+ */
45
+ reason?: string;
46
+ /**
47
+ * The kind of connector that was called (mcp, http)
48
+ */
49
+ source_kind: string;
50
+ /**
51
+ * The product surface the call ran from (chat, investigation, explore, mcp_client, verify), or internal for system paths with no surface
52
+ */
53
+ surface: string;
54
+ /**
55
+ * ID of our stored record of this call, absent for a call that was refused or is waiting for approval
56
+ */
57
+ telemetry_query_id?: string;
58
+ /**
59
+ * Whether the call was permitted to change the connected system (true, false)
60
+ */
61
+ write: string;
62
+ }
63
+ /**
64
+ * Check if a given object implements the AuditLogExtensionConnectorCalledMetadataV4V2 interface.
65
+ */
66
+ export declare function instanceOfAuditLogExtensionConnectorCalledMetadataV4V2(value: object): value is AuditLogExtensionConnectorCalledMetadataV4V2;
67
+ export declare function AuditLogExtensionConnectorCalledMetadataV4V2FromJSON(json: any): AuditLogExtensionConnectorCalledMetadataV4V2;
68
+ export declare function AuditLogExtensionConnectorCalledMetadataV4V2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogExtensionConnectorCalledMetadataV4V2;
69
+ export declare function AuditLogExtensionConnectorCalledMetadataV4V2ToJSON(json: any): AuditLogExtensionConnectorCalledMetadataV4V2;
70
+ export declare function AuditLogExtensionConnectorCalledMetadataV4V2ToJSONTyped(value?: AuditLogExtensionConnectorCalledMetadataV4V2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,76 @@
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.instanceOfAuditLogExtensionConnectorCalledMetadataV4V2 = instanceOfAuditLogExtensionConnectorCalledMetadataV4V2;
17
+ exports.AuditLogExtensionConnectorCalledMetadataV4V2FromJSON = AuditLogExtensionConnectorCalledMetadataV4V2FromJSON;
18
+ exports.AuditLogExtensionConnectorCalledMetadataV4V2FromJSONTyped = AuditLogExtensionConnectorCalledMetadataV4V2FromJSONTyped;
19
+ exports.AuditLogExtensionConnectorCalledMetadataV4V2ToJSON = AuditLogExtensionConnectorCalledMetadataV4V2ToJSON;
20
+ exports.AuditLogExtensionConnectorCalledMetadataV4V2ToJSONTyped = AuditLogExtensionConnectorCalledMetadataV4V2ToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AuditLogExtensionConnectorCalledMetadataV4V2 interface.
23
+ */
24
+ function instanceOfAuditLogExtensionConnectorCalledMetadataV4V2(value) {
25
+ if (!('outcome' in value) || value['outcome'] === undefined)
26
+ return false;
27
+ if (!('source_kind' in value) || value['source_kind'] === undefined)
28
+ return false;
29
+ if (!('surface' in value) || value['surface'] === undefined)
30
+ return false;
31
+ if (!('write' in value) || value['write'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function AuditLogExtensionConnectorCalledMetadataV4V2FromJSON(json) {
36
+ return AuditLogExtensionConnectorCalledMetadataV4V2FromJSONTyped(json, false);
37
+ }
38
+ function AuditLogExtensionConnectorCalledMetadataV4V2FromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'access_source': json['access_source'] == null ? undefined : json['access_source'],
44
+ 'approval_id': json['approval_id'] == null ? undefined : json['approval_id'],
45
+ 'approved_by': json['approved_by'] == null ? undefined : json['approved_by'],
46
+ '_class': json['class'] == null ? undefined : json['class'],
47
+ 'incident_id': json['incident_id'] == null ? undefined : json['incident_id'],
48
+ 'outcome': json['outcome'],
49
+ 'reason': json['reason'] == null ? undefined : json['reason'],
50
+ 'source_kind': json['source_kind'],
51
+ 'surface': json['surface'],
52
+ 'telemetry_query_id': json['telemetry_query_id'] == null ? undefined : json['telemetry_query_id'],
53
+ 'write': json['write'],
54
+ };
55
+ }
56
+ function AuditLogExtensionConnectorCalledMetadataV4V2ToJSON(json) {
57
+ return AuditLogExtensionConnectorCalledMetadataV4V2ToJSONTyped(json, false);
58
+ }
59
+ function AuditLogExtensionConnectorCalledMetadataV4V2ToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'access_source': value['access_source'],
65
+ 'approval_id': value['approval_id'],
66
+ 'approved_by': value['approved_by'],
67
+ 'class': value['_class'],
68
+ 'incident_id': value['incident_id'],
69
+ 'outcome': value['outcome'],
70
+ 'reason': value['reason'],
71
+ 'source_kind': value['source_kind'],
72
+ 'surface': value['surface'],
73
+ 'telemetry_query_id': value['telemetry_query_id'],
74
+ 'write': value['write'],
75
+ };
76
+ }
@@ -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 { AuditLogExtensionConnectorCalledMetadataV4V2 } from './AuditLogExtensionConnectorCalledMetadataV4V2.js';
13
+ import type { AuditLogActorV2 } from './AuditLogActorV2.js';
14
+ import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
15
+ import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AuditLogsExtensionConnectorCalledV4
20
+ */
21
+ export interface AuditLogsExtensionConnectorCalledV4 {
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: AuditLogExtensionConnectorCalledMetadataV4V2;
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 AuditLogsExtensionConnectorCalledV4 interface.
53
+ */
54
+ export declare function instanceOfAuditLogsExtensionConnectorCalledV4(value: object): value is AuditLogsExtensionConnectorCalledV4;
55
+ export declare function AuditLogsExtensionConnectorCalledV4FromJSON(json: any): AuditLogsExtensionConnectorCalledV4;
56
+ export declare function AuditLogsExtensionConnectorCalledV4FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsExtensionConnectorCalledV4;
57
+ export declare function AuditLogsExtensionConnectorCalledV4ToJSON(json: any): AuditLogsExtensionConnectorCalledV4;
58
+ export declare function AuditLogsExtensionConnectorCalledV4ToJSONTyped(value?: AuditLogsExtensionConnectorCalledV4 | 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.instanceOfAuditLogsExtensionConnectorCalledV4 = instanceOfAuditLogsExtensionConnectorCalledV4;
17
+ exports.AuditLogsExtensionConnectorCalledV4FromJSON = AuditLogsExtensionConnectorCalledV4FromJSON;
18
+ exports.AuditLogsExtensionConnectorCalledV4FromJSONTyped = AuditLogsExtensionConnectorCalledV4FromJSONTyped;
19
+ exports.AuditLogsExtensionConnectorCalledV4ToJSON = AuditLogsExtensionConnectorCalledV4ToJSON;
20
+ exports.AuditLogsExtensionConnectorCalledV4ToJSONTyped = AuditLogsExtensionConnectorCalledV4ToJSONTyped;
21
+ const runtime_js_1 = require("../runtime.js");
22
+ const AuditLogExtensionConnectorCalledMetadataV4V2_js_1 = require("./AuditLogExtensionConnectorCalledMetadataV4V2.js");
23
+ const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
24
+ const AuditLogEntryContextV2_js_1 = require("./AuditLogEntryContextV2.js");
25
+ const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
26
+ /**
27
+ * Check if a given object implements the AuditLogsExtensionConnectorCalledV4 interface.
28
+ */
29
+ function instanceOfAuditLogsExtensionConnectorCalledV4(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 AuditLogsExtensionConnectorCalledV4FromJSON(json) {
47
+ return AuditLogsExtensionConnectorCalledV4FromJSONTyped(json, false);
48
+ }
49
+ function AuditLogsExtensionConnectorCalledV4FromJSONTyped(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, AuditLogExtensionConnectorCalledMetadataV4V2_js_1.AuditLogExtensionConnectorCalledMetadataV4V2FromJSON)(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 AuditLogsExtensionConnectorCalledV4ToJSON(json) {
64
+ return AuditLogsExtensionConnectorCalledV4ToJSONTyped(json, false);
65
+ }
66
+ function AuditLogsExtensionConnectorCalledV4ToJSONTyped(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, AuditLogExtensionConnectorCalledMetadataV4V2_js_1.AuditLogExtensionConnectorCalledMetadataV4V2ToJSON)(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
+ }
@@ -204,6 +204,7 @@ 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 './AuditLogExtensionConnectorCalledMetadataV4V2.js';
207
208
  export * from './AuditLogExtensionPluginCreatedMetadataV2.js';
208
209
  export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
209
210
  export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
@@ -297,6 +298,7 @@ export * from './AuditLogsEscalationScrubbedV1.js';
297
298
  export * from './AuditLogsExtensionConnectorCalledV1.js';
298
299
  export * from './AuditLogsExtensionConnectorCalledV2.js';
299
300
  export * from './AuditLogsExtensionConnectorCalledV3.js';
301
+ export * from './AuditLogsExtensionConnectorCalledV4.js';
300
302
  export * from './AuditLogsExtensionPluginCreatedV1.js';
301
303
  export * from './AuditLogsExtensionPluginDeletedV1.js';
302
304
  export * from './AuditLogsExtensionPluginUpdatedV1.js';
@@ -222,6 +222,7 @@ __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("./AuditLogExtensionConnectorCalledMetadataV4V2.js"), exports);
225
226
  __exportStar(require("./AuditLogExtensionPluginCreatedMetadataV2.js"), exports);
226
227
  __exportStar(require("./AuditLogExtensionPluginUpdatedMetadataV2.js"), exports);
227
228
  __exportStar(require("./AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js"), exports);
@@ -315,6 +316,7 @@ __exportStar(require("./AuditLogsEscalationScrubbedV1.js"), exports);
315
316
  __exportStar(require("./AuditLogsExtensionConnectorCalledV1.js"), exports);
316
317
  __exportStar(require("./AuditLogsExtensionConnectorCalledV2.js"), exports);
317
318
  __exportStar(require("./AuditLogsExtensionConnectorCalledV3.js"), exports);
319
+ __exportStar(require("./AuditLogsExtensionConnectorCalledV4.js"), exports);
318
320
  __exportStar(require("./AuditLogsExtensionPluginCreatedV1.js"), exports);
319
321
  __exportStar(require("./AuditLogsExtensionPluginDeletedV1.js"), exports);
320
322
  __exportStar(require("./AuditLogsExtensionPluginUpdatedV1.js"), exports);
@@ -1 +1 @@
1
- export declare const VERSION = "2.18.0";
1
+ export declare const VERSION = "2.20.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.18.0";
5
+ exports.VERSION = "2.20.0";
@@ -115,6 +115,7 @@ export declare const AlertSourceV2SourceTypeEnum: {
115
115
  readonly Elasticsearch: "elasticsearch";
116
116
  readonly Email: "email";
117
117
  readonly Expel: "expel";
118
+ readonly GitGuardian: "git_guardian";
118
119
  readonly GithubIssue: "github_issue";
119
120
  readonly GoogleCloud: "google_cloud";
120
121
  readonly GoogleSecops: "google_secops";
@@ -42,6 +42,7 @@ export const AlertSourceV2SourceTypeEnum = {
42
42
  Elasticsearch: 'elasticsearch',
43
43
  Email: 'email',
44
44
  Expel: 'expel',
45
+ GitGuardian: 'git_guardian',
45
46
  GithubIssue: 'github_issue',
46
47
  GoogleCloud: 'google_cloud',
47
48
  GoogleSecops: 'google_secops',
@@ -103,6 +103,7 @@ export declare const AlertSourcesCreatePayloadV2SourceTypeEnum: {
103
103
  readonly Elasticsearch: "elasticsearch";
104
104
  readonly Email: "email";
105
105
  readonly Expel: "expel";
106
+ readonly GitGuardian: "git_guardian";
106
107
  readonly GithubIssue: "github_issue";
107
108
  readonly GoogleCloud: "google_cloud";
108
109
  readonly GoogleSecops: "google_secops";
@@ -42,6 +42,7 @@ export const AlertSourcesCreatePayloadV2SourceTypeEnum = {
42
42
  Elasticsearch: 'elasticsearch',
43
43
  Email: 'email',
44
44
  Expel: 'expel',
45
+ GitGuardian: 'git_guardian',
45
46
  GithubIssue: 'github_issue',
46
47
  GoogleCloud: 'google_cloud',
47
48
  GoogleSecops: 'google_secops',
@@ -52,6 +52,7 @@ export declare const AlertSourcesValidatePayloadV2SourceTypeEnum: {
52
52
  readonly Elasticsearch: "elasticsearch";
53
53
  readonly Email: "email";
54
54
  readonly Expel: "expel";
55
+ readonly GitGuardian: "git_guardian";
55
56
  readonly GithubIssue: "github_issue";
56
57
  readonly GoogleCloud: "google_cloud";
57
58
  readonly GoogleSecops: "google_secops";
@@ -35,6 +35,7 @@ export const AlertSourcesValidatePayloadV2SourceTypeEnum = {
35
35
  Elasticsearch: 'elasticsearch',
36
36
  Email: 'email',
37
37
  Expel: 'expel',
38
+ GitGuardian: 'git_guardian',
38
39
  GithubIssue: 'github_issue',
39
40
  GoogleCloud: 'google_cloud',
40
41
  GoogleSecops: 'google_secops',
@@ -0,0 +1,70 @@
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 AuditLogExtensionConnectorCalledMetadataV4V2
16
+ */
17
+ export interface AuditLogExtensionConnectorCalledMetadataV4V2 {
18
+ /**
19
+ * What decided: the connector's access policy, or a decision pinned on this tool (policy, override)
20
+ */
21
+ access_source?: string;
22
+ /**
23
+ * ID of the approval request this call executed, when a person's approval is what permitted it
24
+ */
25
+ approval_id?: string;
26
+ /**
27
+ * ID of the user who approved the approval request this call executed
28
+ */
29
+ approved_by?: string;
30
+ /**
31
+ * What calling the tool does to the connected system, as the tool's own server describes it (read, write, destructive, unknown)
32
+ */
33
+ _class?: string;
34
+ /**
35
+ * The incident the call was made for, when incident-scoped
36
+ */
37
+ incident_id?: string;
38
+ /**
39
+ * How the call ended (success, error, denied, requires_approval). A denied call was refused by the connector's access policy and a requires_approval call is waiting for a person's approval; neither reached the connected system
40
+ */
41
+ outcome: string;
42
+ /**
43
+ * Why the call was allowed, refused or made to wait (allowed, denied_by_rule, disabled, unknown_rule_type, rule_not_found, not_read, no_person_present, not_in_allow_list, requires_approval)
44
+ */
45
+ reason?: string;
46
+ /**
47
+ * The kind of connector that was called (mcp, http)
48
+ */
49
+ source_kind: string;
50
+ /**
51
+ * The product surface the call ran from (chat, investigation, explore, mcp_client, verify), or internal for system paths with no surface
52
+ */
53
+ surface: string;
54
+ /**
55
+ * ID of our stored record of this call, absent for a call that was refused or is waiting for approval
56
+ */
57
+ telemetry_query_id?: string;
58
+ /**
59
+ * Whether the call was permitted to change the connected system (true, false)
60
+ */
61
+ write: string;
62
+ }
63
+ /**
64
+ * Check if a given object implements the AuditLogExtensionConnectorCalledMetadataV4V2 interface.
65
+ */
66
+ export declare function instanceOfAuditLogExtensionConnectorCalledMetadataV4V2(value: object): value is AuditLogExtensionConnectorCalledMetadataV4V2;
67
+ export declare function AuditLogExtensionConnectorCalledMetadataV4V2FromJSON(json: any): AuditLogExtensionConnectorCalledMetadataV4V2;
68
+ export declare function AuditLogExtensionConnectorCalledMetadataV4V2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogExtensionConnectorCalledMetadataV4V2;
69
+ export declare function AuditLogExtensionConnectorCalledMetadataV4V2ToJSON(json: any): AuditLogExtensionConnectorCalledMetadataV4V2;
70
+ export declare function AuditLogExtensionConnectorCalledMetadataV4V2ToJSONTyped(value?: AuditLogExtensionConnectorCalledMetadataV4V2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,69 @@
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 AuditLogExtensionConnectorCalledMetadataV4V2 interface.
16
+ */
17
+ export function instanceOfAuditLogExtensionConnectorCalledMetadataV4V2(value) {
18
+ if (!('outcome' in value) || value['outcome'] === undefined)
19
+ return false;
20
+ if (!('source_kind' in value) || value['source_kind'] === undefined)
21
+ return false;
22
+ if (!('surface' in value) || value['surface'] === undefined)
23
+ return false;
24
+ if (!('write' in value) || value['write'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function AuditLogExtensionConnectorCalledMetadataV4V2FromJSON(json) {
29
+ return AuditLogExtensionConnectorCalledMetadataV4V2FromJSONTyped(json, false);
30
+ }
31
+ export function AuditLogExtensionConnectorCalledMetadataV4V2FromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'access_source': json['access_source'] == null ? undefined : json['access_source'],
37
+ 'approval_id': json['approval_id'] == null ? undefined : json['approval_id'],
38
+ 'approved_by': json['approved_by'] == null ? undefined : json['approved_by'],
39
+ '_class': json['class'] == null ? undefined : json['class'],
40
+ 'incident_id': json['incident_id'] == null ? undefined : json['incident_id'],
41
+ 'outcome': json['outcome'],
42
+ 'reason': json['reason'] == null ? undefined : json['reason'],
43
+ 'source_kind': json['source_kind'],
44
+ 'surface': json['surface'],
45
+ 'telemetry_query_id': json['telemetry_query_id'] == null ? undefined : json['telemetry_query_id'],
46
+ 'write': json['write'],
47
+ };
48
+ }
49
+ export function AuditLogExtensionConnectorCalledMetadataV4V2ToJSON(json) {
50
+ return AuditLogExtensionConnectorCalledMetadataV4V2ToJSONTyped(json, false);
51
+ }
52
+ export function AuditLogExtensionConnectorCalledMetadataV4V2ToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'access_source': value['access_source'],
58
+ 'approval_id': value['approval_id'],
59
+ 'approved_by': value['approved_by'],
60
+ 'class': value['_class'],
61
+ 'incident_id': value['incident_id'],
62
+ 'outcome': value['outcome'],
63
+ 'reason': value['reason'],
64
+ 'source_kind': value['source_kind'],
65
+ 'surface': value['surface'],
66
+ 'telemetry_query_id': value['telemetry_query_id'],
67
+ 'write': value['write'],
68
+ };
69
+ }
@@ -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 { AuditLogExtensionConnectorCalledMetadataV4V2 } from './AuditLogExtensionConnectorCalledMetadataV4V2.js';
13
+ import type { AuditLogActorV2 } from './AuditLogActorV2.js';
14
+ import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
15
+ import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AuditLogsExtensionConnectorCalledV4
20
+ */
21
+ export interface AuditLogsExtensionConnectorCalledV4 {
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: AuditLogExtensionConnectorCalledMetadataV4V2;
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 AuditLogsExtensionConnectorCalledV4 interface.
53
+ */
54
+ export declare function instanceOfAuditLogsExtensionConnectorCalledV4(value: object): value is AuditLogsExtensionConnectorCalledV4;
55
+ export declare function AuditLogsExtensionConnectorCalledV4FromJSON(json: any): AuditLogsExtensionConnectorCalledV4;
56
+ export declare function AuditLogsExtensionConnectorCalledV4FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsExtensionConnectorCalledV4;
57
+ export declare function AuditLogsExtensionConnectorCalledV4ToJSON(json: any): AuditLogsExtensionConnectorCalledV4;
58
+ export declare function AuditLogsExtensionConnectorCalledV4ToJSONTyped(value?: AuditLogsExtensionConnectorCalledV4 | 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 { AuditLogExtensionConnectorCalledMetadataV4V2FromJSON, AuditLogExtensionConnectorCalledMetadataV4V2ToJSON, } from './AuditLogExtensionConnectorCalledMetadataV4V2.js';
16
+ import { AuditLogActorV2FromJSON, AuditLogActorV2ToJSON, } from './AuditLogActorV2.js';
17
+ import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
18
+ import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
19
+ /**
20
+ * Check if a given object implements the AuditLogsExtensionConnectorCalledV4 interface.
21
+ */
22
+ export function instanceOfAuditLogsExtensionConnectorCalledV4(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 AuditLogsExtensionConnectorCalledV4FromJSON(json) {
40
+ return AuditLogsExtensionConnectorCalledV4FromJSONTyped(json, false);
41
+ }
42
+ export function AuditLogsExtensionConnectorCalledV4FromJSONTyped(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': AuditLogExtensionConnectorCalledMetadataV4V2FromJSON(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 AuditLogsExtensionConnectorCalledV4ToJSON(json) {
57
+ return AuditLogsExtensionConnectorCalledV4ToJSONTyped(json, false);
58
+ }
59
+ export function AuditLogsExtensionConnectorCalledV4ToJSONTyped(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': AuditLogExtensionConnectorCalledMetadataV4V2ToJSON(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
+ }
@@ -204,6 +204,7 @@ 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 './AuditLogExtensionConnectorCalledMetadataV4V2.js';
207
208
  export * from './AuditLogExtensionPluginCreatedMetadataV2.js';
208
209
  export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
209
210
  export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
@@ -297,6 +298,7 @@ export * from './AuditLogsEscalationScrubbedV1.js';
297
298
  export * from './AuditLogsExtensionConnectorCalledV1.js';
298
299
  export * from './AuditLogsExtensionConnectorCalledV2.js';
299
300
  export * from './AuditLogsExtensionConnectorCalledV3.js';
301
+ export * from './AuditLogsExtensionConnectorCalledV4.js';
300
302
  export * from './AuditLogsExtensionPluginCreatedV1.js';
301
303
  export * from './AuditLogsExtensionPluginDeletedV1.js';
302
304
  export * from './AuditLogsExtensionPluginUpdatedV1.js';
@@ -206,6 +206,7 @@ export * from './AuditLogEntryContextV2.js';
206
206
  export * from './AuditLogExtensionConnectorCalledMetadataV2.js';
207
207
  export * from './AuditLogExtensionConnectorCalledMetadataV2V2.js';
208
208
  export * from './AuditLogExtensionConnectorCalledMetadataV3V2.js';
209
+ export * from './AuditLogExtensionConnectorCalledMetadataV4V2.js';
209
210
  export * from './AuditLogExtensionPluginCreatedMetadataV2.js';
210
211
  export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
211
212
  export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
@@ -299,6 +300,7 @@ export * from './AuditLogsEscalationScrubbedV1.js';
299
300
  export * from './AuditLogsExtensionConnectorCalledV1.js';
300
301
  export * from './AuditLogsExtensionConnectorCalledV2.js';
301
302
  export * from './AuditLogsExtensionConnectorCalledV3.js';
303
+ export * from './AuditLogsExtensionConnectorCalledV4.js';
302
304
  export * from './AuditLogsExtensionPluginCreatedV1.js';
303
305
  export * from './AuditLogsExtensionPluginDeletedV1.js';
304
306
  export * from './AuditLogsExtensionPluginUpdatedV1.js';
@@ -1 +1 @@
1
- export declare const VERSION = "2.18.0";
1
+ export declare const VERSION = "2.20.0";
@@ -1,2 +1,2 @@
1
1
  // Written by `make build` from package.json. Do not edit.
2
- export const VERSION = "2.18.0";
2
+ export const VERSION = "2.20.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incident-io/sdk",
3
- "version": "2.18.0",
3
+ "version": "2.20.0",
4
4
  "description": "TypeScript SDK for the incident.io API",
5
5
  "license": "MIT",
6
6
  "author": "incident.io <support@incident.io>",