@incident-io/sdk 2.46.0 → 2.48.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/AuditLogReliabilityReviewRuleCreatedMetadataV2.d.ts +42 -0
- package/dist/cjs/models/AuditLogReliabilityReviewRuleCreatedMetadataV2.js +60 -0
- package/dist/cjs/models/AuditLogReliabilityReviewRuleUpdatedMetadataV2.d.ts +66 -0
- package/dist/cjs/models/AuditLogReliabilityReviewRuleUpdatedMetadataV2.js +68 -0
- package/dist/cjs/models/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.d.ts +9 -1
- package/dist/cjs/models/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js +4 -0
- package/dist/cjs/models/AuditLogTargetV2.d.ts +1 -0
- package/dist/cjs/models/AuditLogTargetV2.js +1 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewRuleCreatedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewRuleCreatedV1.js +79 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewRuleDeletedV1.d.ts +53 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewRuleDeletedV1.js +74 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewRuleUpdatedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewRuleUpdatedV1.js +79 -0
- package/dist/cjs/models/StatusPageComponentAvailabilityV2.d.ts +1 -1
- package/dist/cjs/models/index.d.ts +5 -0
- package/dist/cjs/models/index.js +5 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/models/AuditLogReliabilityReviewRuleCreatedMetadataV2.d.ts +42 -0
- package/dist/esm/models/AuditLogReliabilityReviewRuleCreatedMetadataV2.js +53 -0
- package/dist/esm/models/AuditLogReliabilityReviewRuleUpdatedMetadataV2.d.ts +66 -0
- package/dist/esm/models/AuditLogReliabilityReviewRuleUpdatedMetadataV2.js +61 -0
- package/dist/esm/models/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.d.ts +9 -1
- package/dist/esm/models/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js +4 -0
- package/dist/esm/models/AuditLogTargetV2.d.ts +1 -0
- package/dist/esm/models/AuditLogTargetV2.js +1 -0
- package/dist/esm/models/AuditLogsReliabilityReviewRuleCreatedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsReliabilityReviewRuleCreatedV1.js +72 -0
- package/dist/esm/models/AuditLogsReliabilityReviewRuleDeletedV1.d.ts +53 -0
- package/dist/esm/models/AuditLogsReliabilityReviewRuleDeletedV1.js +67 -0
- package/dist/esm/models/AuditLogsReliabilityReviewRuleUpdatedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsReliabilityReviewRuleUpdatedV1.js +72 -0
- package/dist/esm/models/StatusPageComponentAvailabilityV2.d.ts +1 -1
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* incident.io
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAuditLogsReliabilityReviewRuleUpdatedV1 = instanceOfAuditLogsReliabilityReviewRuleUpdatedV1;
|
|
17
|
+
exports.AuditLogsReliabilityReviewRuleUpdatedV1FromJSON = AuditLogsReliabilityReviewRuleUpdatedV1FromJSON;
|
|
18
|
+
exports.AuditLogsReliabilityReviewRuleUpdatedV1FromJSONTyped = AuditLogsReliabilityReviewRuleUpdatedV1FromJSONTyped;
|
|
19
|
+
exports.AuditLogsReliabilityReviewRuleUpdatedV1ToJSON = AuditLogsReliabilityReviewRuleUpdatedV1ToJSON;
|
|
20
|
+
exports.AuditLogsReliabilityReviewRuleUpdatedV1ToJSONTyped = AuditLogsReliabilityReviewRuleUpdatedV1ToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
|
|
23
|
+
const AuditLogReliabilityReviewRuleUpdatedMetadataV2_js_1 = require("./AuditLogReliabilityReviewRuleUpdatedMetadataV2.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 AuditLogsReliabilityReviewRuleUpdatedV1 interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfAuditLogsReliabilityReviewRuleUpdatedV1(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 AuditLogsReliabilityReviewRuleUpdatedV1FromJSON(json) {
|
|
47
|
+
return AuditLogsReliabilityReviewRuleUpdatedV1FromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AuditLogsReliabilityReviewRuleUpdatedV1FromJSONTyped(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, AuditLogReliabilityReviewRuleUpdatedMetadataV2_js_1.AuditLogReliabilityReviewRuleUpdatedMetadataV2FromJSON)(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 AuditLogsReliabilityReviewRuleUpdatedV1ToJSON(json) {
|
|
64
|
+
return AuditLogsReliabilityReviewRuleUpdatedV1ToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AuditLogsReliabilityReviewRuleUpdatedV1ToJSONTyped(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, AuditLogReliabilityReviewRuleUpdatedMetadataV2_js_1.AuditLogReliabilityReviewRuleUpdatedMetadataV2ToJSON)(value['metadata']),
|
|
75
|
+
'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : (0, runtime_js_1.serializeDateTime)(value['occurred_at']),
|
|
76
|
+
'targets': (value['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2ToJSON)),
|
|
77
|
+
'version': value['version'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface StatusPageComponentAvailabilityV2 {
|
|
18
18
|
/**
|
|
19
|
-
* Availability over the window as a percentage, floored (for example "99.94"). Omitted when we have no data covering the window.
|
|
19
|
+
* Availability over the window as a percentage, floored (for example "99.94"). It has at least as many decimal places as the status page's uptime decimal places setting. Above 99.99%, it can have more decimal places, up to six. Omitted when we have no data covering the window.
|
|
20
20
|
*/
|
|
21
21
|
availability_percent?: string;
|
|
22
22
|
/**
|
|
@@ -238,6 +238,8 @@ export * from './AuditLogPrivateInsightsMeasureQueriedMetadataV2.js';
|
|
|
238
238
|
export * from './AuditLogPrivateInsightsUnderlyingDataQueriedMetadataV2.js';
|
|
239
239
|
export * from './AuditLogQrCodeMobileLoginSettingUpdatedMetadataV2.js';
|
|
240
240
|
export * from './AuditLogReliabilityReviewRepositoryUpdatedMetadataV2.js';
|
|
241
|
+
export * from './AuditLogReliabilityReviewRuleCreatedMetadataV2.js';
|
|
242
|
+
export * from './AuditLogReliabilityReviewRuleUpdatedMetadataV2.js';
|
|
241
243
|
export * from './AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js';
|
|
242
244
|
export * from './AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js';
|
|
243
245
|
export * from './AuditLogSCIMGroupSeatMappingChangedMetadataV2.js';
|
|
@@ -589,6 +591,9 @@ export * from './AuditLogsRbacRoleUpdatedV1.js';
|
|
|
589
591
|
export * from './AuditLogsRbacRoleUpdatedV2.js';
|
|
590
592
|
export * from './AuditLogsReliabilityReviewRepositoryUpdatedV1.js';
|
|
591
593
|
export * from './AuditLogsReliabilityReviewRepositoryUpdatedV2.js';
|
|
594
|
+
export * from './AuditLogsReliabilityReviewRuleCreatedV1.js';
|
|
595
|
+
export * from './AuditLogsReliabilityReviewRuleDeletedV1.js';
|
|
596
|
+
export * from './AuditLogsReliabilityReviewRuleUpdatedV1.js';
|
|
592
597
|
export * from './AuditLogsReliabilityReviewSettingsUpdatedV1.js';
|
|
593
598
|
export * from './AuditLogsReliabilityReviewSettingsUpdatedV2.js';
|
|
594
599
|
export * from './AuditLogsReliabilityReviewSpendLimitUpdatedV1.js';
|
package/dist/cjs/models/index.js
CHANGED
|
@@ -256,6 +256,8 @@ __exportStar(require("./AuditLogPrivateInsightsMeasureQueriedMetadataV2.js"), ex
|
|
|
256
256
|
__exportStar(require("./AuditLogPrivateInsightsUnderlyingDataQueriedMetadataV2.js"), exports);
|
|
257
257
|
__exportStar(require("./AuditLogQrCodeMobileLoginSettingUpdatedMetadataV2.js"), exports);
|
|
258
258
|
__exportStar(require("./AuditLogReliabilityReviewRepositoryUpdatedMetadataV2.js"), exports);
|
|
259
|
+
__exportStar(require("./AuditLogReliabilityReviewRuleCreatedMetadataV2.js"), exports);
|
|
260
|
+
__exportStar(require("./AuditLogReliabilityReviewRuleUpdatedMetadataV2.js"), exports);
|
|
259
261
|
__exportStar(require("./AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js"), exports);
|
|
260
262
|
__exportStar(require("./AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js"), exports);
|
|
261
263
|
__exportStar(require("./AuditLogSCIMGroupSeatMappingChangedMetadataV2.js"), exports);
|
|
@@ -607,6 +609,9 @@ __exportStar(require("./AuditLogsRbacRoleUpdatedV1.js"), exports);
|
|
|
607
609
|
__exportStar(require("./AuditLogsRbacRoleUpdatedV2.js"), exports);
|
|
608
610
|
__exportStar(require("./AuditLogsReliabilityReviewRepositoryUpdatedV1.js"), exports);
|
|
609
611
|
__exportStar(require("./AuditLogsReliabilityReviewRepositoryUpdatedV2.js"), exports);
|
|
612
|
+
__exportStar(require("./AuditLogsReliabilityReviewRuleCreatedV1.js"), exports);
|
|
613
|
+
__exportStar(require("./AuditLogsReliabilityReviewRuleDeletedV1.js"), exports);
|
|
614
|
+
__exportStar(require("./AuditLogsReliabilityReviewRuleUpdatedV1.js"), exports);
|
|
610
615
|
__exportStar(require("./AuditLogsReliabilityReviewSettingsUpdatedV1.js"), exports);
|
|
611
616
|
__exportStar(require("./AuditLogsReliabilityReviewSettingsUpdatedV2.js"), exports);
|
|
612
617
|
__exportStar(require("./AuditLogsReliabilityReviewSpendLimitUpdatedV1.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.48.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* incident.io
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AuditLogReliabilityReviewRuleCreatedMetadataV2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogReliabilityReviewRuleCreatedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the rule tells the review to look for something or not to raise it (flag, ignore)
|
|
20
|
+
*/
|
|
21
|
+
kind: string;
|
|
22
|
+
/**
|
|
23
|
+
* How the rule came to exist (user, dont_raise_again, remember_reply)
|
|
24
|
+
*/
|
|
25
|
+
origin: string;
|
|
26
|
+
/**
|
|
27
|
+
* The repository the rule applies to
|
|
28
|
+
*/
|
|
29
|
+
repository_id: string;
|
|
30
|
+
/**
|
|
31
|
+
* The rule's severity (high, medium, low). Absent when it has none
|
|
32
|
+
*/
|
|
33
|
+
severity?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the AuditLogReliabilityReviewRuleCreatedMetadataV2 interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfAuditLogReliabilityReviewRuleCreatedMetadataV2(value: object): value is AuditLogReliabilityReviewRuleCreatedMetadataV2;
|
|
39
|
+
export declare function AuditLogReliabilityReviewRuleCreatedMetadataV2FromJSON(json: any): AuditLogReliabilityReviewRuleCreatedMetadataV2;
|
|
40
|
+
export declare function AuditLogReliabilityReviewRuleCreatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogReliabilityReviewRuleCreatedMetadataV2;
|
|
41
|
+
export declare function AuditLogReliabilityReviewRuleCreatedMetadataV2ToJSON(json: any): AuditLogReliabilityReviewRuleCreatedMetadataV2;
|
|
42
|
+
export declare function AuditLogReliabilityReviewRuleCreatedMetadataV2ToJSONTyped(value?: AuditLogReliabilityReviewRuleCreatedMetadataV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* incident.io
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the AuditLogReliabilityReviewRuleCreatedMetadataV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuditLogReliabilityReviewRuleCreatedMetadataV2(value) {
|
|
18
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('origin' in value) || value['origin'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('repository_id' in value) || value['repository_id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function AuditLogReliabilityReviewRuleCreatedMetadataV2FromJSON(json) {
|
|
27
|
+
return AuditLogReliabilityReviewRuleCreatedMetadataV2FromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function AuditLogReliabilityReviewRuleCreatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'kind': json['kind'],
|
|
35
|
+
'origin': json['origin'],
|
|
36
|
+
'repository_id': json['repository_id'],
|
|
37
|
+
'severity': json['severity'] == null ? undefined : json['severity'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function AuditLogReliabilityReviewRuleCreatedMetadataV2ToJSON(json) {
|
|
41
|
+
return AuditLogReliabilityReviewRuleCreatedMetadataV2ToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function AuditLogReliabilityReviewRuleCreatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'kind': value['kind'],
|
|
49
|
+
'origin': value['origin'],
|
|
50
|
+
'repository_id': value['repository_id'],
|
|
51
|
+
'severity': value['severity'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 AuditLogReliabilityReviewRuleUpdatedMetadataV2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogReliabilityReviewRuleUpdatedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* The rule's kind after the change (flag, ignore)
|
|
20
|
+
*/
|
|
21
|
+
after_kind?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The repository the rule applies to after the change
|
|
24
|
+
*/
|
|
25
|
+
after_repository_id?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The rule's severity after the change (high, medium, low). Absent when it has none
|
|
28
|
+
*/
|
|
29
|
+
after_severity?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The rule's kind before the change (flag, ignore)
|
|
32
|
+
*/
|
|
33
|
+
before_kind?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The repository the rule applied to before the change
|
|
36
|
+
*/
|
|
37
|
+
before_repository_id?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The rule's severity before the change (high, medium, low). Absent when it had none
|
|
40
|
+
*/
|
|
41
|
+
before_severity?: string;
|
|
42
|
+
/**
|
|
43
|
+
* What the change changed, comma separated (title, body, kind, severity, examples, repository, paths, disabled, locked, restored)
|
|
44
|
+
*/
|
|
45
|
+
changed: string;
|
|
46
|
+
/**
|
|
47
|
+
* Whether the rule is switched off after the change (true, false)
|
|
48
|
+
*/
|
|
49
|
+
disabled?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the rule is locked after the change (true, false)
|
|
52
|
+
*/
|
|
53
|
+
locked?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The rule that replaced this one, when the change made a new version of it
|
|
56
|
+
*/
|
|
57
|
+
new_rule_id?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the AuditLogReliabilityReviewRuleUpdatedMetadataV2 interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfAuditLogReliabilityReviewRuleUpdatedMetadataV2(value: object): value is AuditLogReliabilityReviewRuleUpdatedMetadataV2;
|
|
63
|
+
export declare function AuditLogReliabilityReviewRuleUpdatedMetadataV2FromJSON(json: any): AuditLogReliabilityReviewRuleUpdatedMetadataV2;
|
|
64
|
+
export declare function AuditLogReliabilityReviewRuleUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogReliabilityReviewRuleUpdatedMetadataV2;
|
|
65
|
+
export declare function AuditLogReliabilityReviewRuleUpdatedMetadataV2ToJSON(json: any): AuditLogReliabilityReviewRuleUpdatedMetadataV2;
|
|
66
|
+
export declare function AuditLogReliabilityReviewRuleUpdatedMetadataV2ToJSONTyped(value?: AuditLogReliabilityReviewRuleUpdatedMetadataV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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 AuditLogReliabilityReviewRuleUpdatedMetadataV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuditLogReliabilityReviewRuleUpdatedMetadataV2(value) {
|
|
18
|
+
if (!('changed' in value) || value['changed'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function AuditLogReliabilityReviewRuleUpdatedMetadataV2FromJSON(json) {
|
|
23
|
+
return AuditLogReliabilityReviewRuleUpdatedMetadataV2FromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function AuditLogReliabilityReviewRuleUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'after_kind': json['after_kind'] == null ? undefined : json['after_kind'],
|
|
31
|
+
'after_repository_id': json['after_repository_id'] == null ? undefined : json['after_repository_id'],
|
|
32
|
+
'after_severity': json['after_severity'] == null ? undefined : json['after_severity'],
|
|
33
|
+
'before_kind': json['before_kind'] == null ? undefined : json['before_kind'],
|
|
34
|
+
'before_repository_id': json['before_repository_id'] == null ? undefined : json['before_repository_id'],
|
|
35
|
+
'before_severity': json['before_severity'] == null ? undefined : json['before_severity'],
|
|
36
|
+
'changed': json['changed'],
|
|
37
|
+
'disabled': json['disabled'] == null ? undefined : json['disabled'],
|
|
38
|
+
'locked': json['locked'] == null ? undefined : json['locked'],
|
|
39
|
+
'new_rule_id': json['new_rule_id'] == null ? undefined : json['new_rule_id'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogReliabilityReviewRuleUpdatedMetadataV2ToJSON(json) {
|
|
43
|
+
return AuditLogReliabilityReviewRuleUpdatedMetadataV2ToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function AuditLogReliabilityReviewRuleUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'after_kind': value['after_kind'],
|
|
51
|
+
'after_repository_id': value['after_repository_id'],
|
|
52
|
+
'after_severity': value['after_severity'],
|
|
53
|
+
'before_kind': value['before_kind'],
|
|
54
|
+
'before_repository_id': value['before_repository_id'],
|
|
55
|
+
'before_severity': value['before_severity'],
|
|
56
|
+
'changed': value['changed'],
|
|
57
|
+
'disabled': value['disabled'],
|
|
58
|
+
'locked': value['locked'],
|
|
59
|
+
'new_rule_id': value['new_rule_id'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -27,6 +27,10 @@ export interface AuditLogReliabilityReviewSettingsUpdatedMetadataV2 {
|
|
|
27
27
|
* Whether draft pull requests are reviewed after the change (review, skip)
|
|
28
28
|
*/
|
|
29
29
|
after_draft_reviews?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether a review that finds no issues posts a comment after the change (post, skip)
|
|
32
|
+
*/
|
|
33
|
+
after_no_issue_reviews?: string;
|
|
30
34
|
/**
|
|
31
35
|
* Whose pull requests are reviewed after the change (everyone, selected_users)
|
|
32
36
|
*/
|
|
@@ -39,12 +43,16 @@ export interface AuditLogReliabilityReviewSettingsUpdatedMetadataV2 {
|
|
|
39
43
|
* Whether draft pull requests were reviewed before the change (review, skip)
|
|
40
44
|
*/
|
|
41
45
|
before_draft_reviews?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Whether a review that found no issues posted a comment before the change (post, skip)
|
|
48
|
+
*/
|
|
49
|
+
before_no_issue_reviews?: string;
|
|
42
50
|
/**
|
|
43
51
|
* Whose pull requests were reviewed before the change (everyone, selected_users)
|
|
44
52
|
*/
|
|
45
53
|
before_reviewed_authors?: string;
|
|
46
54
|
/**
|
|
47
|
-
* What the update changed, comma separated (automatic_reviews, draft_reviews, reviewed_authors, reviewed_users)
|
|
55
|
+
* What the update changed, comma separated (automatic_reviews, draft_reviews, no_issue_reviews, reviewed_authors, reviewed_users)
|
|
48
56
|
*/
|
|
49
57
|
changed: string;
|
|
50
58
|
/**
|
|
@@ -30,9 +30,11 @@ export function AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSONTyped(
|
|
|
30
30
|
'added_user_ids': json['added_user_ids'] == null ? undefined : json['added_user_ids'],
|
|
31
31
|
'after_automatic_reviews': json['after_automatic_reviews'] == null ? undefined : json['after_automatic_reviews'],
|
|
32
32
|
'after_draft_reviews': json['after_draft_reviews'] == null ? undefined : json['after_draft_reviews'],
|
|
33
|
+
'after_no_issue_reviews': json['after_no_issue_reviews'] == null ? undefined : json['after_no_issue_reviews'],
|
|
33
34
|
'after_reviewed_authors': json['after_reviewed_authors'] == null ? undefined : json['after_reviewed_authors'],
|
|
34
35
|
'before_automatic_reviews': json['before_automatic_reviews'] == null ? undefined : json['before_automatic_reviews'],
|
|
35
36
|
'before_draft_reviews': json['before_draft_reviews'] == null ? undefined : json['before_draft_reviews'],
|
|
37
|
+
'before_no_issue_reviews': json['before_no_issue_reviews'] == null ? undefined : json['before_no_issue_reviews'],
|
|
36
38
|
'before_reviewed_authors': json['before_reviewed_authors'] == null ? undefined : json['before_reviewed_authors'],
|
|
37
39
|
'changed': json['changed'],
|
|
38
40
|
'removed_user_ids': json['removed_user_ids'] == null ? undefined : json['removed_user_ids'],
|
|
@@ -49,9 +51,11 @@ export function AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSONTyped(va
|
|
|
49
51
|
'added_user_ids': value['added_user_ids'],
|
|
50
52
|
'after_automatic_reviews': value['after_automatic_reviews'],
|
|
51
53
|
'after_draft_reviews': value['after_draft_reviews'],
|
|
54
|
+
'after_no_issue_reviews': value['after_no_issue_reviews'],
|
|
52
55
|
'after_reviewed_authors': value['after_reviewed_authors'],
|
|
53
56
|
'before_automatic_reviews': value['before_automatic_reviews'],
|
|
54
57
|
'before_draft_reviews': value['before_draft_reviews'],
|
|
58
|
+
'before_no_issue_reviews': value['before_no_issue_reviews'],
|
|
55
59
|
'before_reviewed_authors': value['before_reviewed_authors'],
|
|
56
60
|
'changed': value['changed'],
|
|
57
61
|
'removed_user_ids': value['removed_user_ids'],
|
|
@@ -58,6 +58,7 @@ export declare const AuditLogTargetV2TypeEnum: {
|
|
|
58
58
|
readonly InvestigationConfig: "investigation_config";
|
|
59
59
|
readonly CodeRepository: "code_repository";
|
|
60
60
|
readonly ReliabilityReviewSettings: "reliability_review_settings";
|
|
61
|
+
readonly ReliabilityReviewRule: "reliability_review_rule";
|
|
61
62
|
readonly FollowUpCategory: "follow_up_category";
|
|
62
63
|
readonly FollowUpPriority: "follow_up_priority";
|
|
63
64
|
readonly HolidayUserFeed: "holiday_user_feed";
|
|
@@ -41,6 +41,7 @@ export const AuditLogTargetV2TypeEnum = {
|
|
|
41
41
|
InvestigationConfig: 'investigation_config',
|
|
42
42
|
CodeRepository: 'code_repository',
|
|
43
43
|
ReliabilityReviewSettings: 'reliability_review_settings',
|
|
44
|
+
ReliabilityReviewRule: 'reliability_review_rule',
|
|
44
45
|
FollowUpCategory: 'follow_up_category',
|
|
45
46
|
FollowUpPriority: 'follow_up_priority',
|
|
46
47
|
HolidayUserFeed: 'holiday_user_feed',
|
|
@@ -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 { AuditLogReliabilityReviewRuleCreatedMetadataV2 } from './AuditLogReliabilityReviewRuleCreatedMetadataV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsReliabilityReviewRuleCreatedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsReliabilityReviewRuleCreatedV1 {
|
|
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: AuditLogReliabilityReviewRuleCreatedMetadataV2;
|
|
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 AuditLogsReliabilityReviewRuleCreatedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsReliabilityReviewRuleCreatedV1(value: object): value is AuditLogsReliabilityReviewRuleCreatedV1;
|
|
55
|
+
export declare function AuditLogsReliabilityReviewRuleCreatedV1FromJSON(json: any): AuditLogsReliabilityReviewRuleCreatedV1;
|
|
56
|
+
export declare function AuditLogsReliabilityReviewRuleCreatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsReliabilityReviewRuleCreatedV1;
|
|
57
|
+
export declare function AuditLogsReliabilityReviewRuleCreatedV1ToJSON(json: any): AuditLogsReliabilityReviewRuleCreatedV1;
|
|
58
|
+
export declare function AuditLogsReliabilityReviewRuleCreatedV1ToJSONTyped(value?: AuditLogsReliabilityReviewRuleCreatedV1 | 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 { AuditLogReliabilityReviewRuleCreatedMetadataV2FromJSON, AuditLogReliabilityReviewRuleCreatedMetadataV2ToJSON, } from './AuditLogReliabilityReviewRuleCreatedMetadataV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsReliabilityReviewRuleCreatedV1 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsReliabilityReviewRuleCreatedV1(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 AuditLogsReliabilityReviewRuleCreatedV1FromJSON(json) {
|
|
40
|
+
return AuditLogsReliabilityReviewRuleCreatedV1FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsReliabilityReviewRuleCreatedV1FromJSONTyped(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': AuditLogReliabilityReviewRuleCreatedMetadataV2FromJSON(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 AuditLogsReliabilityReviewRuleCreatedV1ToJSON(json) {
|
|
57
|
+
return AuditLogsReliabilityReviewRuleCreatedV1ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsReliabilityReviewRuleCreatedV1ToJSONTyped(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': AuditLogReliabilityReviewRuleCreatedMetadataV2ToJSON(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
|
+
}
|
|
@@ -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 AuditLogsReliabilityReviewRuleDeletedV1
|
|
19
|
+
*/
|
|
20
|
+
export interface AuditLogsReliabilityReviewRuleDeletedV1 {
|
|
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 AuditLogsReliabilityReviewRuleDeletedV1 interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfAuditLogsReliabilityReviewRuleDeletedV1(value: object): value is AuditLogsReliabilityReviewRuleDeletedV1;
|
|
50
|
+
export declare function AuditLogsReliabilityReviewRuleDeletedV1FromJSON(json: any): AuditLogsReliabilityReviewRuleDeletedV1;
|
|
51
|
+
export declare function AuditLogsReliabilityReviewRuleDeletedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsReliabilityReviewRuleDeletedV1;
|
|
52
|
+
export declare function AuditLogsReliabilityReviewRuleDeletedV1ToJSON(json: any): AuditLogsReliabilityReviewRuleDeletedV1;
|
|
53
|
+
export declare function AuditLogsReliabilityReviewRuleDeletedV1ToJSONTyped(value?: AuditLogsReliabilityReviewRuleDeletedV1 | null, ignoreDiscriminator?: boolean): any;
|