@incident-io/sdk 2.50.0 → 2.52.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/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.d.ts +9 -1
- package/dist/cjs/models/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js +4 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewSettingsUpdatedV3.d.ts +58 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewSettingsUpdatedV3.js +79 -0
- package/dist/cjs/models/index.d.ts +1 -0
- package/dist/cjs/models/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/models/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.d.ts +9 -1
- package/dist/esm/models/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js +4 -0
- package/dist/esm/models/AuditLogsReliabilityReviewSettingsUpdatedV3.d.ts +58 -0
- package/dist/esm/models/AuditLogsReliabilityReviewSettingsUpdatedV3.js +72 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* @interface AuditLogReliabilityReviewSettingsUpdatedMetadataV2
|
|
16
16
|
*/
|
|
17
17
|
export interface AuditLogReliabilityReviewSettingsUpdatedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* The GitHub usernames added to those whose pull requests aren't reviewed automatically, comma separated
|
|
20
|
+
*/
|
|
21
|
+
added_ignored_authors?: string;
|
|
18
22
|
/**
|
|
19
23
|
* The users added to those whose pull requests are reviewed, comma separated
|
|
20
24
|
*/
|
|
@@ -52,9 +56,13 @@ export interface AuditLogReliabilityReviewSettingsUpdatedMetadataV2 {
|
|
|
52
56
|
*/
|
|
53
57
|
before_reviewed_authors?: string;
|
|
54
58
|
/**
|
|
55
|
-
* What the update changed, comma separated (automatic_reviews, draft_reviews, no_issue_reviews, reviewed_authors, reviewed_users)
|
|
59
|
+
* What the update changed, comma separated (automatic_reviews, draft_reviews, no_issue_reviews, reviewed_authors, reviewed_users, ignored_authors)
|
|
56
60
|
*/
|
|
57
61
|
changed: string;
|
|
62
|
+
/**
|
|
63
|
+
* The GitHub usernames removed from those whose pull requests aren't reviewed automatically, comma separated
|
|
64
|
+
*/
|
|
65
|
+
removed_ignored_authors?: string;
|
|
58
66
|
/**
|
|
59
67
|
* The users removed from those whose pull requests are reviewed, comma separated
|
|
60
68
|
*/
|
|
@@ -34,6 +34,7 @@ function AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSONTyped(json, i
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
+
'added_ignored_authors': json['added_ignored_authors'] == null ? undefined : json['added_ignored_authors'],
|
|
37
38
|
'added_user_ids': json['added_user_ids'] == null ? undefined : json['added_user_ids'],
|
|
38
39
|
'after_automatic_reviews': json['after_automatic_reviews'] == null ? undefined : json['after_automatic_reviews'],
|
|
39
40
|
'after_draft_reviews': json['after_draft_reviews'] == null ? undefined : json['after_draft_reviews'],
|
|
@@ -44,6 +45,7 @@ function AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSONTyped(json, i
|
|
|
44
45
|
'before_no_issue_reviews': json['before_no_issue_reviews'] == null ? undefined : json['before_no_issue_reviews'],
|
|
45
46
|
'before_reviewed_authors': json['before_reviewed_authors'] == null ? undefined : json['before_reviewed_authors'],
|
|
46
47
|
'changed': json['changed'],
|
|
48
|
+
'removed_ignored_authors': json['removed_ignored_authors'] == null ? undefined : json['removed_ignored_authors'],
|
|
47
49
|
'removed_user_ids': json['removed_user_ids'] == null ? undefined : json['removed_user_ids'],
|
|
48
50
|
};
|
|
49
51
|
}
|
|
@@ -55,6 +57,7 @@ function AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSONTyped(value, ig
|
|
|
55
57
|
return value;
|
|
56
58
|
}
|
|
57
59
|
return {
|
|
60
|
+
'added_ignored_authors': value['added_ignored_authors'],
|
|
58
61
|
'added_user_ids': value['added_user_ids'],
|
|
59
62
|
'after_automatic_reviews': value['after_automatic_reviews'],
|
|
60
63
|
'after_draft_reviews': value['after_draft_reviews'],
|
|
@@ -65,6 +68,7 @@ function AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSONTyped(value, ig
|
|
|
65
68
|
'before_no_issue_reviews': value['before_no_issue_reviews'],
|
|
66
69
|
'before_reviewed_authors': value['before_reviewed_authors'],
|
|
67
70
|
'changed': value['changed'],
|
|
71
|
+
'removed_ignored_authors': value['removed_ignored_authors'],
|
|
68
72
|
'removed_user_ids': value['removed_user_ids'],
|
|
69
73
|
};
|
|
70
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 { AuditLogReliabilityReviewSettingsUpdatedMetadataV2 } from './AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsReliabilityReviewSettingsUpdatedV3
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsReliabilityReviewSettingsUpdatedV3 {
|
|
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: AuditLogReliabilityReviewSettingsUpdatedMetadataV2;
|
|
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 AuditLogsReliabilityReviewSettingsUpdatedV3 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsReliabilityReviewSettingsUpdatedV3(value: object): value is AuditLogsReliabilityReviewSettingsUpdatedV3;
|
|
55
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV3FromJSON(json: any): AuditLogsReliabilityReviewSettingsUpdatedV3;
|
|
56
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsReliabilityReviewSettingsUpdatedV3;
|
|
57
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV3ToJSON(json: any): AuditLogsReliabilityReviewSettingsUpdatedV3;
|
|
58
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV3ToJSONTyped(value?: AuditLogsReliabilityReviewSettingsUpdatedV3 | 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.instanceOfAuditLogsReliabilityReviewSettingsUpdatedV3 = instanceOfAuditLogsReliabilityReviewSettingsUpdatedV3;
|
|
17
|
+
exports.AuditLogsReliabilityReviewSettingsUpdatedV3FromJSON = AuditLogsReliabilityReviewSettingsUpdatedV3FromJSON;
|
|
18
|
+
exports.AuditLogsReliabilityReviewSettingsUpdatedV3FromJSONTyped = AuditLogsReliabilityReviewSettingsUpdatedV3FromJSONTyped;
|
|
19
|
+
exports.AuditLogsReliabilityReviewSettingsUpdatedV3ToJSON = AuditLogsReliabilityReviewSettingsUpdatedV3ToJSON;
|
|
20
|
+
exports.AuditLogsReliabilityReviewSettingsUpdatedV3ToJSONTyped = AuditLogsReliabilityReviewSettingsUpdatedV3ToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
|
|
23
|
+
const AuditLogReliabilityReviewSettingsUpdatedMetadataV2_js_1 = require("./AuditLogReliabilityReviewSettingsUpdatedMetadataV2.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 AuditLogsReliabilityReviewSettingsUpdatedV3 interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfAuditLogsReliabilityReviewSettingsUpdatedV3(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 AuditLogsReliabilityReviewSettingsUpdatedV3FromJSON(json) {
|
|
47
|
+
return AuditLogsReliabilityReviewSettingsUpdatedV3FromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AuditLogsReliabilityReviewSettingsUpdatedV3FromJSONTyped(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, AuditLogReliabilityReviewSettingsUpdatedMetadataV2_js_1.AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSON)(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 AuditLogsReliabilityReviewSettingsUpdatedV3ToJSON(json) {
|
|
64
|
+
return AuditLogsReliabilityReviewSettingsUpdatedV3ToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AuditLogsReliabilityReviewSettingsUpdatedV3ToJSONTyped(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, AuditLogReliabilityReviewSettingsUpdatedMetadataV2_js_1.AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSON)(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
|
+
}
|
|
@@ -599,6 +599,7 @@ export * from './AuditLogsReliabilityReviewRuleDeletedV1.js';
|
|
|
599
599
|
export * from './AuditLogsReliabilityReviewRuleUpdatedV1.js';
|
|
600
600
|
export * from './AuditLogsReliabilityReviewSettingsUpdatedV1.js';
|
|
601
601
|
export * from './AuditLogsReliabilityReviewSettingsUpdatedV2.js';
|
|
602
|
+
export * from './AuditLogsReliabilityReviewSettingsUpdatedV3.js';
|
|
602
603
|
export * from './AuditLogsReliabilityReviewSpendLimitUpdatedV1.js';
|
|
603
604
|
export * from './AuditLogsReliabilityReviewSpendLimitUpdatedV2.js';
|
|
604
605
|
export * from './AuditLogsScheduleCreatedV1.js';
|
package/dist/cjs/models/index.js
CHANGED
|
@@ -617,6 +617,7 @@ __exportStar(require("./AuditLogsReliabilityReviewRuleDeletedV1.js"), exports);
|
|
|
617
617
|
__exportStar(require("./AuditLogsReliabilityReviewRuleUpdatedV1.js"), exports);
|
|
618
618
|
__exportStar(require("./AuditLogsReliabilityReviewSettingsUpdatedV1.js"), exports);
|
|
619
619
|
__exportStar(require("./AuditLogsReliabilityReviewSettingsUpdatedV2.js"), exports);
|
|
620
|
+
__exportStar(require("./AuditLogsReliabilityReviewSettingsUpdatedV3.js"), exports);
|
|
620
621
|
__exportStar(require("./AuditLogsReliabilityReviewSpendLimitUpdatedV1.js"), exports);
|
|
621
622
|
__exportStar(require("./AuditLogsReliabilityReviewSpendLimitUpdatedV2.js"), exports);
|
|
622
623
|
__exportStar(require("./AuditLogsScheduleCreatedV1.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.52.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* @interface AuditLogReliabilityReviewSettingsUpdatedMetadataV2
|
|
16
16
|
*/
|
|
17
17
|
export interface AuditLogReliabilityReviewSettingsUpdatedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* The GitHub usernames added to those whose pull requests aren't reviewed automatically, comma separated
|
|
20
|
+
*/
|
|
21
|
+
added_ignored_authors?: string;
|
|
18
22
|
/**
|
|
19
23
|
* The users added to those whose pull requests are reviewed, comma separated
|
|
20
24
|
*/
|
|
@@ -52,9 +56,13 @@ export interface AuditLogReliabilityReviewSettingsUpdatedMetadataV2 {
|
|
|
52
56
|
*/
|
|
53
57
|
before_reviewed_authors?: string;
|
|
54
58
|
/**
|
|
55
|
-
* What the update changed, comma separated (automatic_reviews, draft_reviews, no_issue_reviews, reviewed_authors, reviewed_users)
|
|
59
|
+
* What the update changed, comma separated (automatic_reviews, draft_reviews, no_issue_reviews, reviewed_authors, reviewed_users, ignored_authors)
|
|
56
60
|
*/
|
|
57
61
|
changed: string;
|
|
62
|
+
/**
|
|
63
|
+
* The GitHub usernames removed from those whose pull requests aren't reviewed automatically, comma separated
|
|
64
|
+
*/
|
|
65
|
+
removed_ignored_authors?: string;
|
|
58
66
|
/**
|
|
59
67
|
* The users removed from those whose pull requests are reviewed, comma separated
|
|
60
68
|
*/
|
|
@@ -27,6 +27,7 @@ export function AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSONTyped(
|
|
|
27
27
|
return json;
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
30
|
+
'added_ignored_authors': json['added_ignored_authors'] == null ? undefined : json['added_ignored_authors'],
|
|
30
31
|
'added_user_ids': json['added_user_ids'] == null ? undefined : json['added_user_ids'],
|
|
31
32
|
'after_automatic_reviews': json['after_automatic_reviews'] == null ? undefined : json['after_automatic_reviews'],
|
|
32
33
|
'after_draft_reviews': json['after_draft_reviews'] == null ? undefined : json['after_draft_reviews'],
|
|
@@ -37,6 +38,7 @@ export function AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSONTyped(
|
|
|
37
38
|
'before_no_issue_reviews': json['before_no_issue_reviews'] == null ? undefined : json['before_no_issue_reviews'],
|
|
38
39
|
'before_reviewed_authors': json['before_reviewed_authors'] == null ? undefined : json['before_reviewed_authors'],
|
|
39
40
|
'changed': json['changed'],
|
|
41
|
+
'removed_ignored_authors': json['removed_ignored_authors'] == null ? undefined : json['removed_ignored_authors'],
|
|
40
42
|
'removed_user_ids': json['removed_user_ids'] == null ? undefined : json['removed_user_ids'],
|
|
41
43
|
};
|
|
42
44
|
}
|
|
@@ -48,6 +50,7 @@ export function AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSONTyped(va
|
|
|
48
50
|
return value;
|
|
49
51
|
}
|
|
50
52
|
return {
|
|
53
|
+
'added_ignored_authors': value['added_ignored_authors'],
|
|
51
54
|
'added_user_ids': value['added_user_ids'],
|
|
52
55
|
'after_automatic_reviews': value['after_automatic_reviews'],
|
|
53
56
|
'after_draft_reviews': value['after_draft_reviews'],
|
|
@@ -58,6 +61,7 @@ export function AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSONTyped(va
|
|
|
58
61
|
'before_no_issue_reviews': value['before_no_issue_reviews'],
|
|
59
62
|
'before_reviewed_authors': value['before_reviewed_authors'],
|
|
60
63
|
'changed': value['changed'],
|
|
64
|
+
'removed_ignored_authors': value['removed_ignored_authors'],
|
|
61
65
|
'removed_user_ids': value['removed_user_ids'],
|
|
62
66
|
};
|
|
63
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 { AuditLogReliabilityReviewSettingsUpdatedMetadataV2 } from './AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsReliabilityReviewSettingsUpdatedV3
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsReliabilityReviewSettingsUpdatedV3 {
|
|
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: AuditLogReliabilityReviewSettingsUpdatedMetadataV2;
|
|
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 AuditLogsReliabilityReviewSettingsUpdatedV3 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsReliabilityReviewSettingsUpdatedV3(value: object): value is AuditLogsReliabilityReviewSettingsUpdatedV3;
|
|
55
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV3FromJSON(json: any): AuditLogsReliabilityReviewSettingsUpdatedV3;
|
|
56
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsReliabilityReviewSettingsUpdatedV3;
|
|
57
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV3ToJSON(json: any): AuditLogsReliabilityReviewSettingsUpdatedV3;
|
|
58
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV3ToJSONTyped(value?: AuditLogsReliabilityReviewSettingsUpdatedV3 | 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 { AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSON, AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSON, } from './AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js';
|
|
17
|
+
import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsReliabilityReviewSettingsUpdatedV3 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsReliabilityReviewSettingsUpdatedV3(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 AuditLogsReliabilityReviewSettingsUpdatedV3FromJSON(json) {
|
|
40
|
+
return AuditLogsReliabilityReviewSettingsUpdatedV3FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsReliabilityReviewSettingsUpdatedV3FromJSONTyped(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': AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSON(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 AuditLogsReliabilityReviewSettingsUpdatedV3ToJSON(json) {
|
|
57
|
+
return AuditLogsReliabilityReviewSettingsUpdatedV3ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsReliabilityReviewSettingsUpdatedV3ToJSONTyped(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': AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSON(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
|
+
}
|
|
@@ -599,6 +599,7 @@ export * from './AuditLogsReliabilityReviewRuleDeletedV1.js';
|
|
|
599
599
|
export * from './AuditLogsReliabilityReviewRuleUpdatedV1.js';
|
|
600
600
|
export * from './AuditLogsReliabilityReviewSettingsUpdatedV1.js';
|
|
601
601
|
export * from './AuditLogsReliabilityReviewSettingsUpdatedV2.js';
|
|
602
|
+
export * from './AuditLogsReliabilityReviewSettingsUpdatedV3.js';
|
|
602
603
|
export * from './AuditLogsReliabilityReviewSpendLimitUpdatedV1.js';
|
|
603
604
|
export * from './AuditLogsReliabilityReviewSpendLimitUpdatedV2.js';
|
|
604
605
|
export * from './AuditLogsScheduleCreatedV1.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -601,6 +601,7 @@ export * from './AuditLogsReliabilityReviewRuleDeletedV1.js';
|
|
|
601
601
|
export * from './AuditLogsReliabilityReviewRuleUpdatedV1.js';
|
|
602
602
|
export * from './AuditLogsReliabilityReviewSettingsUpdatedV1.js';
|
|
603
603
|
export * from './AuditLogsReliabilityReviewSettingsUpdatedV2.js';
|
|
604
|
+
export * from './AuditLogsReliabilityReviewSettingsUpdatedV3.js';
|
|
604
605
|
export * from './AuditLogsReliabilityReviewSpendLimitUpdatedV1.js';
|
|
605
606
|
export * from './AuditLogsReliabilityReviewSpendLimitUpdatedV2.js';
|
|
606
607
|
export * from './AuditLogsScheduleCreatedV1.js';
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.52.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.52.0";
|