@incident-io/sdk 2.38.0 → 2.40.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.
- package/dist/cjs/models/AuditLogIntegrationUpdatedMetadataV2.d.ts +50 -0
- package/dist/cjs/models/AuditLogIntegrationUpdatedMetadataV2.js +62 -0
- package/dist/cjs/models/AuditLogTelemetryDataSourceCallerIdentitySharingChangedMetadataV2.d.ts +1 -1
- package/dist/cjs/models/AuditLogsIntegrationUpdatedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsIntegrationUpdatedV1.js +79 -0
- package/dist/cjs/models/index.d.ts +2 -0
- package/dist/cjs/models/index.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/models/AuditLogIntegrationUpdatedMetadataV2.d.ts +50 -0
- package/dist/esm/models/AuditLogIntegrationUpdatedMetadataV2.js +55 -0
- package/dist/esm/models/AuditLogTelemetryDataSourceCallerIdentitySharingChangedMetadataV2.d.ts +1 -1
- package/dist/esm/models/AuditLogsIntegrationUpdatedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsIntegrationUpdatedV1.js +72 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
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 AuditLogIntegrationUpdatedMetadataV2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogIntegrationUpdatedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* Comma-separated names of the fields that changed, such as connector_config_id, host, tls_root_cert, ca_certificate, personal_access_token, app_id, private_key or auth_type
|
|
20
|
+
*/
|
|
21
|
+
changed_fields: string;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the connector requests went through before the change, absent when there was none
|
|
24
|
+
*/
|
|
25
|
+
connector_config_id_from?: string;
|
|
26
|
+
/**
|
|
27
|
+
* ID of the connector requests go through after the change, absent when there is none
|
|
28
|
+
*/
|
|
29
|
+
connector_config_id_to?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The host before the change, absent when there was none
|
|
32
|
+
*/
|
|
33
|
+
host_from?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The host after the change
|
|
36
|
+
*/
|
|
37
|
+
host_to?: string;
|
|
38
|
+
/**
|
|
39
|
+
* ID of the GitLab installation, GitHub Enterprise app or Jira Server config that changed
|
|
40
|
+
*/
|
|
41
|
+
integration_id: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AuditLogIntegrationUpdatedMetadataV2 interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAuditLogIntegrationUpdatedMetadataV2(value: object): value is AuditLogIntegrationUpdatedMetadataV2;
|
|
47
|
+
export declare function AuditLogIntegrationUpdatedMetadataV2FromJSON(json: any): AuditLogIntegrationUpdatedMetadataV2;
|
|
48
|
+
export declare function AuditLogIntegrationUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogIntegrationUpdatedMetadataV2;
|
|
49
|
+
export declare function AuditLogIntegrationUpdatedMetadataV2ToJSON(json: any): AuditLogIntegrationUpdatedMetadataV2;
|
|
50
|
+
export declare function AuditLogIntegrationUpdatedMetadataV2ToJSONTyped(value?: AuditLogIntegrationUpdatedMetadataV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfAuditLogIntegrationUpdatedMetadataV2 = instanceOfAuditLogIntegrationUpdatedMetadataV2;
|
|
17
|
+
exports.AuditLogIntegrationUpdatedMetadataV2FromJSON = AuditLogIntegrationUpdatedMetadataV2FromJSON;
|
|
18
|
+
exports.AuditLogIntegrationUpdatedMetadataV2FromJSONTyped = AuditLogIntegrationUpdatedMetadataV2FromJSONTyped;
|
|
19
|
+
exports.AuditLogIntegrationUpdatedMetadataV2ToJSON = AuditLogIntegrationUpdatedMetadataV2ToJSON;
|
|
20
|
+
exports.AuditLogIntegrationUpdatedMetadataV2ToJSONTyped = AuditLogIntegrationUpdatedMetadataV2ToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AuditLogIntegrationUpdatedMetadataV2 interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuditLogIntegrationUpdatedMetadataV2(value) {
|
|
25
|
+
if (!('changed_fields' in value) || value['changed_fields'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('integration_id' in value) || value['integration_id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function AuditLogIntegrationUpdatedMetadataV2FromJSON(json) {
|
|
32
|
+
return AuditLogIntegrationUpdatedMetadataV2FromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function AuditLogIntegrationUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'changed_fields': json['changed_fields'],
|
|
40
|
+
'connector_config_id_from': json['connector_config_id_from'] == null ? undefined : json['connector_config_id_from'],
|
|
41
|
+
'connector_config_id_to': json['connector_config_id_to'] == null ? undefined : json['connector_config_id_to'],
|
|
42
|
+
'host_from': json['host_from'] == null ? undefined : json['host_from'],
|
|
43
|
+
'host_to': json['host_to'] == null ? undefined : json['host_to'],
|
|
44
|
+
'integration_id': json['integration_id'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function AuditLogIntegrationUpdatedMetadataV2ToJSON(json) {
|
|
48
|
+
return AuditLogIntegrationUpdatedMetadataV2ToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function AuditLogIntegrationUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'changed_fields': value['changed_fields'],
|
|
56
|
+
'connector_config_id_from': value['connector_config_id_from'],
|
|
57
|
+
'connector_config_id_to': value['connector_config_id_to'],
|
|
58
|
+
'host_from': value['host_from'],
|
|
59
|
+
'host_to': value['host_to'],
|
|
60
|
+
'integration_id': value['integration_id'],
|
|
61
|
+
};
|
|
62
|
+
}
|
package/dist/cjs/models/AuditLogTelemetryDataSourceCallerIdentitySharingChangedMetadataV2.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface AuditLogTelemetryDataSourceCallerIdentitySharingChangedMetadataV2 {
|
|
18
18
|
/**
|
|
19
|
-
* Whether
|
|
19
|
+
* Whether calls to the data source carry the caller's identity after the change (true, false)
|
|
20
20
|
*/
|
|
21
21
|
enabled: string;
|
|
22
22
|
}
|
|
@@ -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 { AuditLogIntegrationUpdatedMetadataV2 } from './AuditLogIntegrationUpdatedMetadataV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsIntegrationUpdatedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsIntegrationUpdatedV1 {
|
|
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: AuditLogIntegrationUpdatedMetadataV2;
|
|
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 AuditLogsIntegrationUpdatedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsIntegrationUpdatedV1(value: object): value is AuditLogsIntegrationUpdatedV1;
|
|
55
|
+
export declare function AuditLogsIntegrationUpdatedV1FromJSON(json: any): AuditLogsIntegrationUpdatedV1;
|
|
56
|
+
export declare function AuditLogsIntegrationUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsIntegrationUpdatedV1;
|
|
57
|
+
export declare function AuditLogsIntegrationUpdatedV1ToJSON(json: any): AuditLogsIntegrationUpdatedV1;
|
|
58
|
+
export declare function AuditLogsIntegrationUpdatedV1ToJSONTyped(value?: AuditLogsIntegrationUpdatedV1 | 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.instanceOfAuditLogsIntegrationUpdatedV1 = instanceOfAuditLogsIntegrationUpdatedV1;
|
|
17
|
+
exports.AuditLogsIntegrationUpdatedV1FromJSON = AuditLogsIntegrationUpdatedV1FromJSON;
|
|
18
|
+
exports.AuditLogsIntegrationUpdatedV1FromJSONTyped = AuditLogsIntegrationUpdatedV1FromJSONTyped;
|
|
19
|
+
exports.AuditLogsIntegrationUpdatedV1ToJSON = AuditLogsIntegrationUpdatedV1ToJSON;
|
|
20
|
+
exports.AuditLogsIntegrationUpdatedV1ToJSONTyped = AuditLogsIntegrationUpdatedV1ToJSONTyped;
|
|
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 AuditLogIntegrationUpdatedMetadataV2_js_1 = require("./AuditLogIntegrationUpdatedMetadataV2.js");
|
|
25
|
+
const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AuditLogsIntegrationUpdatedV1 interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfAuditLogsIntegrationUpdatedV1(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 AuditLogsIntegrationUpdatedV1FromJSON(json) {
|
|
47
|
+
return AuditLogsIntegrationUpdatedV1FromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AuditLogsIntegrationUpdatedV1FromJSONTyped(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, AuditLogIntegrationUpdatedMetadataV2_js_1.AuditLogIntegrationUpdatedMetadataV2FromJSON)(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 AuditLogsIntegrationUpdatedV1ToJSON(json) {
|
|
64
|
+
return AuditLogsIntegrationUpdatedV1ToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AuditLogsIntegrationUpdatedV1ToJSONTyped(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, AuditLogIntegrationUpdatedMetadataV2_js_1.AuditLogIntegrationUpdatedMetadataV2ToJSON)(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
|
+
}
|
|
@@ -216,6 +216,7 @@ export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
|
|
|
216
216
|
export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
|
|
217
217
|
export * from './AuditLogIPAllowlistUpdatedMetadataV2.js';
|
|
218
218
|
export * from './AuditLogIncidentTypeDefaultTeamsMetadataV2.js';
|
|
219
|
+
export * from './AuditLogIntegrationUpdatedMetadataV2.js';
|
|
219
220
|
export * from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
|
|
220
221
|
export * from './AuditLogInvestigationTriggerMetadataV2.js';
|
|
221
222
|
export * from './AuditLogMicrosoftEntraTenantLinkedMetadataV2.js';
|
|
@@ -454,6 +455,7 @@ export * from './AuditLogsIntegrationInstalledV1.js';
|
|
|
454
455
|
export * from './AuditLogsIntegrationInstalledV2.js';
|
|
455
456
|
export * from './AuditLogsIntegrationUninstalledV1.js';
|
|
456
457
|
export * from './AuditLogsIntegrationUninstalledV2.js';
|
|
458
|
+
export * from './AuditLogsIntegrationUpdatedV1.js';
|
|
457
459
|
export * from './AuditLogsInternalStatusPageCreatedV1.js';
|
|
458
460
|
export * from './AuditLogsInternalStatusPageCreatedV2.js';
|
|
459
461
|
export * from './AuditLogsInternalStatusPageDeletedV1.js';
|
package/dist/cjs/models/index.js
CHANGED
|
@@ -234,6 +234,7 @@ __exportStar(require("./AuditLogExtensionPluginUpdatedMetadataV2.js"), exports);
|
|
|
234
234
|
__exportStar(require("./AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js"), exports);
|
|
235
235
|
__exportStar(require("./AuditLogIPAllowlistUpdatedMetadataV2.js"), exports);
|
|
236
236
|
__exportStar(require("./AuditLogIncidentTypeDefaultTeamsMetadataV2.js"), exports);
|
|
237
|
+
__exportStar(require("./AuditLogIntegrationUpdatedMetadataV2.js"), exports);
|
|
237
238
|
__exportStar(require("./AuditLogInvestigationConfigUpdatedMetadataV2.js"), exports);
|
|
238
239
|
__exportStar(require("./AuditLogInvestigationTriggerMetadataV2.js"), exports);
|
|
239
240
|
__exportStar(require("./AuditLogMicrosoftEntraTenantLinkedMetadataV2.js"), exports);
|
|
@@ -472,6 +473,7 @@ __exportStar(require("./AuditLogsIntegrationInstalledV1.js"), exports);
|
|
|
472
473
|
__exportStar(require("./AuditLogsIntegrationInstalledV2.js"), exports);
|
|
473
474
|
__exportStar(require("./AuditLogsIntegrationUninstalledV1.js"), exports);
|
|
474
475
|
__exportStar(require("./AuditLogsIntegrationUninstalledV2.js"), exports);
|
|
476
|
+
__exportStar(require("./AuditLogsIntegrationUpdatedV1.js"), exports);
|
|
475
477
|
__exportStar(require("./AuditLogsInternalStatusPageCreatedV1.js"), exports);
|
|
476
478
|
__exportStar(require("./AuditLogsInternalStatusPageCreatedV2.js"), exports);
|
|
477
479
|
__exportStar(require("./AuditLogsInternalStatusPageDeletedV1.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.40.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -0,0 +1,50 @@
|
|
|
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 AuditLogIntegrationUpdatedMetadataV2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogIntegrationUpdatedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* Comma-separated names of the fields that changed, such as connector_config_id, host, tls_root_cert, ca_certificate, personal_access_token, app_id, private_key or auth_type
|
|
20
|
+
*/
|
|
21
|
+
changed_fields: string;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the connector requests went through before the change, absent when there was none
|
|
24
|
+
*/
|
|
25
|
+
connector_config_id_from?: string;
|
|
26
|
+
/**
|
|
27
|
+
* ID of the connector requests go through after the change, absent when there is none
|
|
28
|
+
*/
|
|
29
|
+
connector_config_id_to?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The host before the change, absent when there was none
|
|
32
|
+
*/
|
|
33
|
+
host_from?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The host after the change
|
|
36
|
+
*/
|
|
37
|
+
host_to?: string;
|
|
38
|
+
/**
|
|
39
|
+
* ID of the GitLab installation, GitHub Enterprise app or Jira Server config that changed
|
|
40
|
+
*/
|
|
41
|
+
integration_id: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AuditLogIntegrationUpdatedMetadataV2 interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAuditLogIntegrationUpdatedMetadataV2(value: object): value is AuditLogIntegrationUpdatedMetadataV2;
|
|
47
|
+
export declare function AuditLogIntegrationUpdatedMetadataV2FromJSON(json: any): AuditLogIntegrationUpdatedMetadataV2;
|
|
48
|
+
export declare function AuditLogIntegrationUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogIntegrationUpdatedMetadataV2;
|
|
49
|
+
export declare function AuditLogIntegrationUpdatedMetadataV2ToJSON(json: any): AuditLogIntegrationUpdatedMetadataV2;
|
|
50
|
+
export declare function AuditLogIntegrationUpdatedMetadataV2ToJSONTyped(value?: AuditLogIntegrationUpdatedMetadataV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 AuditLogIntegrationUpdatedMetadataV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuditLogIntegrationUpdatedMetadataV2(value) {
|
|
18
|
+
if (!('changed_fields' in value) || value['changed_fields'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('integration_id' in value) || value['integration_id'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function AuditLogIntegrationUpdatedMetadataV2FromJSON(json) {
|
|
25
|
+
return AuditLogIntegrationUpdatedMetadataV2FromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function AuditLogIntegrationUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'changed_fields': json['changed_fields'],
|
|
33
|
+
'connector_config_id_from': json['connector_config_id_from'] == null ? undefined : json['connector_config_id_from'],
|
|
34
|
+
'connector_config_id_to': json['connector_config_id_to'] == null ? undefined : json['connector_config_id_to'],
|
|
35
|
+
'host_from': json['host_from'] == null ? undefined : json['host_from'],
|
|
36
|
+
'host_to': json['host_to'] == null ? undefined : json['host_to'],
|
|
37
|
+
'integration_id': json['integration_id'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function AuditLogIntegrationUpdatedMetadataV2ToJSON(json) {
|
|
41
|
+
return AuditLogIntegrationUpdatedMetadataV2ToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function AuditLogIntegrationUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'changed_fields': value['changed_fields'],
|
|
49
|
+
'connector_config_id_from': value['connector_config_id_from'],
|
|
50
|
+
'connector_config_id_to': value['connector_config_id_to'],
|
|
51
|
+
'host_from': value['host_from'],
|
|
52
|
+
'host_to': value['host_to'],
|
|
53
|
+
'integration_id': value['integration_id'],
|
|
54
|
+
};
|
|
55
|
+
}
|
package/dist/esm/models/AuditLogTelemetryDataSourceCallerIdentitySharingChangedMetadataV2.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface AuditLogTelemetryDataSourceCallerIdentitySharingChangedMetadataV2 {
|
|
18
18
|
/**
|
|
19
|
-
* Whether
|
|
19
|
+
* Whether calls to the data source carry the caller's identity after the change (true, false)
|
|
20
20
|
*/
|
|
21
21
|
enabled: string;
|
|
22
22
|
}
|
|
@@ -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 { AuditLogIntegrationUpdatedMetadataV2 } from './AuditLogIntegrationUpdatedMetadataV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsIntegrationUpdatedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsIntegrationUpdatedV1 {
|
|
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: AuditLogIntegrationUpdatedMetadataV2;
|
|
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 AuditLogsIntegrationUpdatedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsIntegrationUpdatedV1(value: object): value is AuditLogsIntegrationUpdatedV1;
|
|
55
|
+
export declare function AuditLogsIntegrationUpdatedV1FromJSON(json: any): AuditLogsIntegrationUpdatedV1;
|
|
56
|
+
export declare function AuditLogsIntegrationUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsIntegrationUpdatedV1;
|
|
57
|
+
export declare function AuditLogsIntegrationUpdatedV1ToJSON(json: any): AuditLogsIntegrationUpdatedV1;
|
|
58
|
+
export declare function AuditLogsIntegrationUpdatedV1ToJSONTyped(value?: AuditLogsIntegrationUpdatedV1 | 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 { AuditLogIntegrationUpdatedMetadataV2FromJSON, AuditLogIntegrationUpdatedMetadataV2ToJSON, } from './AuditLogIntegrationUpdatedMetadataV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsIntegrationUpdatedV1 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsIntegrationUpdatedV1(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 AuditLogsIntegrationUpdatedV1FromJSON(json) {
|
|
40
|
+
return AuditLogsIntegrationUpdatedV1FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsIntegrationUpdatedV1FromJSONTyped(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': AuditLogIntegrationUpdatedMetadataV2FromJSON(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 AuditLogsIntegrationUpdatedV1ToJSON(json) {
|
|
57
|
+
return AuditLogsIntegrationUpdatedV1ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsIntegrationUpdatedV1ToJSONTyped(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': AuditLogIntegrationUpdatedMetadataV2ToJSON(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
|
+
}
|
|
@@ -216,6 +216,7 @@ export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
|
|
|
216
216
|
export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
|
|
217
217
|
export * from './AuditLogIPAllowlistUpdatedMetadataV2.js';
|
|
218
218
|
export * from './AuditLogIncidentTypeDefaultTeamsMetadataV2.js';
|
|
219
|
+
export * from './AuditLogIntegrationUpdatedMetadataV2.js';
|
|
219
220
|
export * from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
|
|
220
221
|
export * from './AuditLogInvestigationTriggerMetadataV2.js';
|
|
221
222
|
export * from './AuditLogMicrosoftEntraTenantLinkedMetadataV2.js';
|
|
@@ -454,6 +455,7 @@ export * from './AuditLogsIntegrationInstalledV1.js';
|
|
|
454
455
|
export * from './AuditLogsIntegrationInstalledV2.js';
|
|
455
456
|
export * from './AuditLogsIntegrationUninstalledV1.js';
|
|
456
457
|
export * from './AuditLogsIntegrationUninstalledV2.js';
|
|
458
|
+
export * from './AuditLogsIntegrationUpdatedV1.js';
|
|
457
459
|
export * from './AuditLogsInternalStatusPageCreatedV1.js';
|
|
458
460
|
export * from './AuditLogsInternalStatusPageCreatedV2.js';
|
|
459
461
|
export * from './AuditLogsInternalStatusPageDeletedV1.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -218,6 +218,7 @@ export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
|
|
|
218
218
|
export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
|
|
219
219
|
export * from './AuditLogIPAllowlistUpdatedMetadataV2.js';
|
|
220
220
|
export * from './AuditLogIncidentTypeDefaultTeamsMetadataV2.js';
|
|
221
|
+
export * from './AuditLogIntegrationUpdatedMetadataV2.js';
|
|
221
222
|
export * from './AuditLogInvestigationConfigUpdatedMetadataV2.js';
|
|
222
223
|
export * from './AuditLogInvestigationTriggerMetadataV2.js';
|
|
223
224
|
export * from './AuditLogMicrosoftEntraTenantLinkedMetadataV2.js';
|
|
@@ -456,6 +457,7 @@ export * from './AuditLogsIntegrationInstalledV1.js';
|
|
|
456
457
|
export * from './AuditLogsIntegrationInstalledV2.js';
|
|
457
458
|
export * from './AuditLogsIntegrationUninstalledV1.js';
|
|
458
459
|
export * from './AuditLogsIntegrationUninstalledV2.js';
|
|
460
|
+
export * from './AuditLogsIntegrationUpdatedV1.js';
|
|
459
461
|
export * from './AuditLogsInternalStatusPageCreatedV1.js';
|
|
460
462
|
export * from './AuditLogsInternalStatusPageCreatedV2.js';
|
|
461
463
|
export * from './AuditLogsInternalStatusPageDeletedV1.js';
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.40.0";
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Written by `make build` from package.json. Do not edit.
|
|
2
|
-
export const VERSION = "2.
|
|
2
|
+
export const VERSION = "2.40.0";
|