@incident-io/sdk 2.43.0 → 2.45.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/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.d.ts +30 -0
- package/dist/cjs/models/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js +50 -0
- package/dist/cjs/models/AuditLogsConnectorConfigPreviousTokenRevokedV1.d.ts +53 -0
- package/dist/cjs/models/AuditLogsConnectorConfigPreviousTokenRevokedV1.js +74 -0
- package/dist/cjs/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js +79 -0
- package/dist/cjs/models/index.d.ts +3 -0
- package/dist/cjs/models/index.js +3 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/models/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.d.ts +30 -0
- package/dist/esm/models/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js +43 -0
- package/dist/esm/models/AuditLogsConnectorConfigPreviousTokenRevokedV1.d.ts +53 -0
- package/dist/esm/models/AuditLogsConnectorConfigPreviousTokenRevokedV1.js +67 -0
- package/dist/esm/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js +72 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
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 AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the data source takes its access mode and teams from its parent after the change (true, false)
|
|
20
|
+
*/
|
|
21
|
+
inherits_access: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfAuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2(value: object): value is AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
|
|
27
|
+
export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON(json: any): AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
|
|
28
|
+
export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
|
|
29
|
+
export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON(json: any): AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
|
|
30
|
+
export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSONTyped(value?: AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfAuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 = instanceOfAuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
|
|
17
|
+
exports.AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON = AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON;
|
|
18
|
+
exports.AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSONTyped = AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSONTyped;
|
|
19
|
+
exports.AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON = AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON;
|
|
20
|
+
exports.AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSONTyped = AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2(value) {
|
|
25
|
+
if (!('inherits_access' in value) || value['inherits_access'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON(json) {
|
|
30
|
+
return AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'inherits_access': json['inherits_access'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON(json) {
|
|
41
|
+
return AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'inherits_access': value['inherits_access'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* incident.io
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
13
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
14
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AuditLogsConnectorConfigPreviousTokenRevokedV1
|
|
19
|
+
*/
|
|
20
|
+
export interface AuditLogsConnectorConfigPreviousTokenRevokedV1 {
|
|
21
|
+
/**
|
|
22
|
+
* The type of log entry that this is
|
|
23
|
+
*/
|
|
24
|
+
action: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
actor: AuditLogActorV2;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
context: AuditLogEntryContextV2;
|
|
33
|
+
/**
|
|
34
|
+
* When the entry occurred
|
|
35
|
+
*/
|
|
36
|
+
occurred_at: Date;
|
|
37
|
+
/**
|
|
38
|
+
* The custom field that was created
|
|
39
|
+
*/
|
|
40
|
+
targets: Array<AuditLogTargetV2>;
|
|
41
|
+
/**
|
|
42
|
+
* Which version the event is
|
|
43
|
+
*/
|
|
44
|
+
version: number;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the AuditLogsConnectorConfigPreviousTokenRevokedV1 interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfAuditLogsConnectorConfigPreviousTokenRevokedV1(value: object): value is AuditLogsConnectorConfigPreviousTokenRevokedV1;
|
|
50
|
+
export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSON(json: any): AuditLogsConnectorConfigPreviousTokenRevokedV1;
|
|
51
|
+
export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsConnectorConfigPreviousTokenRevokedV1;
|
|
52
|
+
export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSON(json: any): AuditLogsConnectorConfigPreviousTokenRevokedV1;
|
|
53
|
+
export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped(value?: AuditLogsConnectorConfigPreviousTokenRevokedV1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* incident.io
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAuditLogsConnectorConfigPreviousTokenRevokedV1 = instanceOfAuditLogsConnectorConfigPreviousTokenRevokedV1;
|
|
17
|
+
exports.AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSON = AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSON;
|
|
18
|
+
exports.AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped = AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped;
|
|
19
|
+
exports.AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSON = AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSON;
|
|
20
|
+
exports.AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped = AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
|
|
23
|
+
const AuditLogEntryContextV2_js_1 = require("./AuditLogEntryContextV2.js");
|
|
24
|
+
const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AuditLogsConnectorConfigPreviousTokenRevokedV1 interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfAuditLogsConnectorConfigPreviousTokenRevokedV1(value) {
|
|
29
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('actor' in value) || value['actor'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('context' in value) || value['context'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('occurred_at' in value) || value['occurred_at'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('targets' in value) || value['targets'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSON(json) {
|
|
44
|
+
return AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'action': json['action'],
|
|
52
|
+
'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2FromJSON)(json['actor']),
|
|
53
|
+
'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2FromJSON)(json['context']),
|
|
54
|
+
'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : (0, runtime_js_1.parseDateTime)(json['occurred_at'])),
|
|
55
|
+
'targets': (json['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2FromJSON)),
|
|
56
|
+
'version': json['version'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSON(json) {
|
|
60
|
+
return AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'action': value['action'],
|
|
68
|
+
'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2ToJSON)(value['actor']),
|
|
69
|
+
'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2ToJSON)(value['context']),
|
|
70
|
+
'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : (0, runtime_js_1.serializeDateTime)(value['occurred_at']),
|
|
71
|
+
'targets': (value['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2ToJSON)),
|
|
72
|
+
'version': value['version'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* incident.io
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
13
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
14
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
15
|
+
import type { AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 } from './AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsTelemetryDataSourceAccessInheritanceChangedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 {
|
|
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: AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
|
|
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 AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsTelemetryDataSourceAccessInheritanceChangedV1(value: object): value is AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
|
|
55
|
+
export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSON(json: any): AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
|
|
56
|
+
export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
|
|
57
|
+
export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSON(json: any): AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
|
|
58
|
+
export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSONTyped(value?: AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 | 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.instanceOfAuditLogsTelemetryDataSourceAccessInheritanceChangedV1 = instanceOfAuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
|
|
17
|
+
exports.AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSON = AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSON;
|
|
18
|
+
exports.AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSONTyped = AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSONTyped;
|
|
19
|
+
exports.AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSON = AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSON;
|
|
20
|
+
exports.AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSONTyped = AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
|
|
23
|
+
const AuditLogEntryContextV2_js_1 = require("./AuditLogEntryContextV2.js");
|
|
24
|
+
const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
|
|
25
|
+
const AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2_js_1 = require("./AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfAuditLogsTelemetryDataSourceAccessInheritanceChangedV1(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 AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSON(json) {
|
|
47
|
+
return AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSONTyped(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, AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2_js_1.AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON)(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 AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSON(json) {
|
|
64
|
+
return AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSONTyped(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, AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2_js_1.AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON)(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
|
+
}
|
|
@@ -243,6 +243,7 @@ export * from './AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js';
|
|
|
243
243
|
export * from './AuditLogSCIMGroupSeatMappingChangedMetadataV2.js';
|
|
244
244
|
export * from './AuditLogScheduleOverrideMetadataV2.js';
|
|
245
245
|
export * from './AuditLogTargetV2.js';
|
|
246
|
+
export * from './AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js';
|
|
246
247
|
export * from './AuditLogTelemetryDataSourceAccessModeChangedMetadataV2.js';
|
|
247
248
|
export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2.js';
|
|
248
249
|
export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js';
|
|
@@ -329,6 +330,7 @@ export * from './AuditLogsCodeRepositoryAccessedV1.js';
|
|
|
329
330
|
export * from './AuditLogsConnectorConfigArchivedV1.js';
|
|
330
331
|
export * from './AuditLogsConnectorConfigCreatedV1.js';
|
|
331
332
|
export * from './AuditLogsConnectorConfigCreatedV2.js';
|
|
333
|
+
export * from './AuditLogsConnectorConfigPreviousTokenRevokedV1.js';
|
|
332
334
|
export * from './AuditLogsConnectorConfigTokenGeneratedV1.js';
|
|
333
335
|
export * from './AuditLogsConnectorConfigTokenGeneratedV2.js';
|
|
334
336
|
export * from './AuditLogsConnectorConfigUpdatedV1.js';
|
|
@@ -666,6 +668,7 @@ export * from './AuditLogsTeamRoleUpdatedV1.js';
|
|
|
666
668
|
export * from './AuditLogsTeamRoleUpdatedV2.js';
|
|
667
669
|
export * from './AuditLogsTeamSettingsUpdatedV1.js';
|
|
668
670
|
export * from './AuditLogsTeamSettingsUpdatedV2.js';
|
|
671
|
+
export * from './AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js';
|
|
669
672
|
export * from './AuditLogsTelemetryDataSourceAccessModeChangedV1.js';
|
|
670
673
|
export * from './AuditLogsTelemetryDataSourceAccessModeChangedV2.js';
|
|
671
674
|
export * from './AuditLogsTelemetryDataSourceAccessPolicyChangedV1.js';
|
package/dist/cjs/models/index.js
CHANGED
|
@@ -261,6 +261,7 @@ __exportStar(require("./AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js"
|
|
|
261
261
|
__exportStar(require("./AuditLogSCIMGroupSeatMappingChangedMetadataV2.js"), exports);
|
|
262
262
|
__exportStar(require("./AuditLogScheduleOverrideMetadataV2.js"), exports);
|
|
263
263
|
__exportStar(require("./AuditLogTargetV2.js"), exports);
|
|
264
|
+
__exportStar(require("./AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js"), exports);
|
|
264
265
|
__exportStar(require("./AuditLogTelemetryDataSourceAccessModeChangedMetadataV2.js"), exports);
|
|
265
266
|
__exportStar(require("./AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2.js"), exports);
|
|
266
267
|
__exportStar(require("./AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js"), exports);
|
|
@@ -347,6 +348,7 @@ __exportStar(require("./AuditLogsCodeRepositoryAccessedV1.js"), exports);
|
|
|
347
348
|
__exportStar(require("./AuditLogsConnectorConfigArchivedV1.js"), exports);
|
|
348
349
|
__exportStar(require("./AuditLogsConnectorConfigCreatedV1.js"), exports);
|
|
349
350
|
__exportStar(require("./AuditLogsConnectorConfigCreatedV2.js"), exports);
|
|
351
|
+
__exportStar(require("./AuditLogsConnectorConfigPreviousTokenRevokedV1.js"), exports);
|
|
350
352
|
__exportStar(require("./AuditLogsConnectorConfigTokenGeneratedV1.js"), exports);
|
|
351
353
|
__exportStar(require("./AuditLogsConnectorConfigTokenGeneratedV2.js"), exports);
|
|
352
354
|
__exportStar(require("./AuditLogsConnectorConfigUpdatedV1.js"), exports);
|
|
@@ -684,6 +686,7 @@ __exportStar(require("./AuditLogsTeamRoleUpdatedV1.js"), exports);
|
|
|
684
686
|
__exportStar(require("./AuditLogsTeamRoleUpdatedV2.js"), exports);
|
|
685
687
|
__exportStar(require("./AuditLogsTeamSettingsUpdatedV1.js"), exports);
|
|
686
688
|
__exportStar(require("./AuditLogsTeamSettingsUpdatedV2.js"), exports);
|
|
689
|
+
__exportStar(require("./AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js"), exports);
|
|
687
690
|
__exportStar(require("./AuditLogsTelemetryDataSourceAccessModeChangedV1.js"), exports);
|
|
688
691
|
__exportStar(require("./AuditLogsTelemetryDataSourceAccessModeChangedV2.js"), exports);
|
|
689
692
|
__exportStar(require("./AuditLogsTelemetryDataSourceAccessPolicyChangedV1.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.45.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
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 AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the data source takes its access mode and teams from its parent after the change (true, false)
|
|
20
|
+
*/
|
|
21
|
+
inherits_access: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfAuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2(value: object): value is AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
|
|
27
|
+
export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON(json: any): AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
|
|
28
|
+
export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
|
|
29
|
+
export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON(json: any): AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
|
|
30
|
+
export declare function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSONTyped(value?: AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2(value) {
|
|
18
|
+
if (!('inherits_access' in value) || value['inherits_access'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON(json) {
|
|
23
|
+
return AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'inherits_access': json['inherits_access'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON(json) {
|
|
34
|
+
return AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'inherits_access': value['inherits_access'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* incident.io
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
13
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
14
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AuditLogsConnectorConfigPreviousTokenRevokedV1
|
|
19
|
+
*/
|
|
20
|
+
export interface AuditLogsConnectorConfigPreviousTokenRevokedV1 {
|
|
21
|
+
/**
|
|
22
|
+
* The type of log entry that this is
|
|
23
|
+
*/
|
|
24
|
+
action: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
actor: AuditLogActorV2;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
context: AuditLogEntryContextV2;
|
|
33
|
+
/**
|
|
34
|
+
* When the entry occurred
|
|
35
|
+
*/
|
|
36
|
+
occurred_at: Date;
|
|
37
|
+
/**
|
|
38
|
+
* The custom field that was created
|
|
39
|
+
*/
|
|
40
|
+
targets: Array<AuditLogTargetV2>;
|
|
41
|
+
/**
|
|
42
|
+
* Which version the event is
|
|
43
|
+
*/
|
|
44
|
+
version: number;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the AuditLogsConnectorConfigPreviousTokenRevokedV1 interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfAuditLogsConnectorConfigPreviousTokenRevokedV1(value: object): value is AuditLogsConnectorConfigPreviousTokenRevokedV1;
|
|
50
|
+
export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSON(json: any): AuditLogsConnectorConfigPreviousTokenRevokedV1;
|
|
51
|
+
export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsConnectorConfigPreviousTokenRevokedV1;
|
|
52
|
+
export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSON(json: any): AuditLogsConnectorConfigPreviousTokenRevokedV1;
|
|
53
|
+
export declare function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped(value?: AuditLogsConnectorConfigPreviousTokenRevokedV1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* incident.io
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { parseDateTime, serializeDateTime } from '../runtime.js';
|
|
15
|
+
import { AuditLogActorV2FromJSON, AuditLogActorV2ToJSON, } from './AuditLogActorV2.js';
|
|
16
|
+
import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
|
|
17
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the AuditLogsConnectorConfigPreviousTokenRevokedV1 interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfAuditLogsConnectorConfigPreviousTokenRevokedV1(value) {
|
|
22
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('actor' in value) || value['actor'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('context' in value) || value['context'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('occurred_at' in value) || value['occurred_at'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('targets' in value) || value['targets'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
export function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSON(json) {
|
|
37
|
+
return AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function AuditLogsConnectorConfigPreviousTokenRevokedV1FromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'action': json['action'],
|
|
45
|
+
'actor': AuditLogActorV2FromJSON(json['actor']),
|
|
46
|
+
'context': AuditLogEntryContextV2FromJSON(json['context']),
|
|
47
|
+
'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : parseDateTime(json['occurred_at'])),
|
|
48
|
+
'targets': (json['targets'].map(AuditLogTargetV2FromJSON)),
|
|
49
|
+
'version': json['version'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSON(json) {
|
|
53
|
+
return AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function AuditLogsConnectorConfigPreviousTokenRevokedV1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'action': value['action'],
|
|
61
|
+
'actor': AuditLogActorV2ToJSON(value['actor']),
|
|
62
|
+
'context': AuditLogEntryContextV2ToJSON(value['context']),
|
|
63
|
+
'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : serializeDateTime(value['occurred_at']),
|
|
64
|
+
'targets': (value['targets'].map(AuditLogTargetV2ToJSON)),
|
|
65
|
+
'version': value['version'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* incident.io
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
13
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
14
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
15
|
+
import type { AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2 } from './AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsTelemetryDataSourceAccessInheritanceChangedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 {
|
|
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: AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2;
|
|
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 AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsTelemetryDataSourceAccessInheritanceChangedV1(value: object): value is AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
|
|
55
|
+
export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSON(json: any): AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
|
|
56
|
+
export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
|
|
57
|
+
export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSON(json: any): AuditLogsTelemetryDataSourceAccessInheritanceChangedV1;
|
|
58
|
+
export declare function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSONTyped(value?: AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 | 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 { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
18
|
+
import { AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON, AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON, } from './AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsTelemetryDataSourceAccessInheritanceChangedV1(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 AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSON(json) {
|
|
40
|
+
return AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSONTyped(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': AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON(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 AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSON(json) {
|
|
57
|
+
return AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSONTyped(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': AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON(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
|
+
}
|
|
@@ -243,6 +243,7 @@ export * from './AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js';
|
|
|
243
243
|
export * from './AuditLogSCIMGroupSeatMappingChangedMetadataV2.js';
|
|
244
244
|
export * from './AuditLogScheduleOverrideMetadataV2.js';
|
|
245
245
|
export * from './AuditLogTargetV2.js';
|
|
246
|
+
export * from './AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js';
|
|
246
247
|
export * from './AuditLogTelemetryDataSourceAccessModeChangedMetadataV2.js';
|
|
247
248
|
export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2.js';
|
|
248
249
|
export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js';
|
|
@@ -329,6 +330,7 @@ export * from './AuditLogsCodeRepositoryAccessedV1.js';
|
|
|
329
330
|
export * from './AuditLogsConnectorConfigArchivedV1.js';
|
|
330
331
|
export * from './AuditLogsConnectorConfigCreatedV1.js';
|
|
331
332
|
export * from './AuditLogsConnectorConfigCreatedV2.js';
|
|
333
|
+
export * from './AuditLogsConnectorConfigPreviousTokenRevokedV1.js';
|
|
332
334
|
export * from './AuditLogsConnectorConfigTokenGeneratedV1.js';
|
|
333
335
|
export * from './AuditLogsConnectorConfigTokenGeneratedV2.js';
|
|
334
336
|
export * from './AuditLogsConnectorConfigUpdatedV1.js';
|
|
@@ -666,6 +668,7 @@ export * from './AuditLogsTeamRoleUpdatedV1.js';
|
|
|
666
668
|
export * from './AuditLogsTeamRoleUpdatedV2.js';
|
|
667
669
|
export * from './AuditLogsTeamSettingsUpdatedV1.js';
|
|
668
670
|
export * from './AuditLogsTeamSettingsUpdatedV2.js';
|
|
671
|
+
export * from './AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js';
|
|
669
672
|
export * from './AuditLogsTelemetryDataSourceAccessModeChangedV1.js';
|
|
670
673
|
export * from './AuditLogsTelemetryDataSourceAccessModeChangedV2.js';
|
|
671
674
|
export * from './AuditLogsTelemetryDataSourceAccessPolicyChangedV1.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -245,6 +245,7 @@ export * from './AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js';
|
|
|
245
245
|
export * from './AuditLogSCIMGroupSeatMappingChangedMetadataV2.js';
|
|
246
246
|
export * from './AuditLogScheduleOverrideMetadataV2.js';
|
|
247
247
|
export * from './AuditLogTargetV2.js';
|
|
248
|
+
export * from './AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js';
|
|
248
249
|
export * from './AuditLogTelemetryDataSourceAccessModeChangedMetadataV2.js';
|
|
249
250
|
export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2.js';
|
|
250
251
|
export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js';
|
|
@@ -331,6 +332,7 @@ export * from './AuditLogsCodeRepositoryAccessedV1.js';
|
|
|
331
332
|
export * from './AuditLogsConnectorConfigArchivedV1.js';
|
|
332
333
|
export * from './AuditLogsConnectorConfigCreatedV1.js';
|
|
333
334
|
export * from './AuditLogsConnectorConfigCreatedV2.js';
|
|
335
|
+
export * from './AuditLogsConnectorConfigPreviousTokenRevokedV1.js';
|
|
334
336
|
export * from './AuditLogsConnectorConfigTokenGeneratedV1.js';
|
|
335
337
|
export * from './AuditLogsConnectorConfigTokenGeneratedV2.js';
|
|
336
338
|
export * from './AuditLogsConnectorConfigUpdatedV1.js';
|
|
@@ -668,6 +670,7 @@ export * from './AuditLogsTeamRoleUpdatedV1.js';
|
|
|
668
670
|
export * from './AuditLogsTeamRoleUpdatedV2.js';
|
|
669
671
|
export * from './AuditLogsTeamSettingsUpdatedV1.js';
|
|
670
672
|
export * from './AuditLogsTeamSettingsUpdatedV2.js';
|
|
673
|
+
export * from './AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js';
|
|
671
674
|
export * from './AuditLogsTelemetryDataSourceAccessModeChangedV1.js';
|
|
672
675
|
export * from './AuditLogsTelemetryDataSourceAccessModeChangedV2.js';
|
|
673
676
|
export * from './AuditLogsTelemetryDataSourceAccessPolicyChangedV1.js';
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.45.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.45.0";
|