@incident-io/sdk 2.31.0 → 2.32.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/apis/AlertAttachmentsV2Api.d.ts +92 -0
- package/dist/cjs/apis/AlertAttachmentsV2Api.js +193 -0
- package/dist/cjs/apis/index.d.ts +1 -0
- package/dist/cjs/apis/index.js +1 -0
- package/dist/cjs/models/AlertAttachmentV2.d.ts +51 -0
- package/dist/cjs/models/AlertAttachmentV2.js +67 -0
- package/dist/cjs/models/AlertAttachmentsCreatePayloadV2.d.ts +42 -0
- package/dist/cjs/models/AlertAttachmentsCreatePayloadV2.js +56 -0
- package/dist/cjs/models/AlertAttachmentsCreateResultV2.d.ts +31 -0
- package/dist/cjs/models/AlertAttachmentsCreateResultV2.js +51 -0
- package/dist/cjs/models/AlertAttachmentsListResultV2.d.ts +36 -0
- package/dist/cjs/models/AlertAttachmentsListResultV2.js +54 -0
- package/dist/cjs/models/AuditLogReliabilityReviewRepositoryUpdatedMetadataV2.d.ts +30 -0
- package/dist/cjs/models/AuditLogReliabilityReviewRepositoryUpdatedMetadataV2.js +50 -0
- package/dist/cjs/models/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.d.ts +62 -0
- package/dist/cjs/models/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js +66 -0
- package/dist/cjs/models/AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.d.ts +34 -0
- package/dist/cjs/models/AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js +50 -0
- package/dist/cjs/models/AuditLogTargetV2.d.ts +2 -0
- package/dist/cjs/models/AuditLogTargetV2.js +2 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewRepositoryUpdatedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewRepositoryUpdatedV1.js +79 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewSettingsUpdatedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewSettingsUpdatedV1.js +79 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewSpendLimitUpdatedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsReliabilityReviewSpendLimitUpdatedV1.js +79 -0
- package/dist/cjs/models/IncidentActivityLogEntryV2.d.ts +1 -0
- package/dist/cjs/models/IncidentActivityLogEntryV2.js +1 -0
- package/dist/cjs/models/index.d.ts +10 -0
- package/dist/cjs/models/index.js +10 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/apis/AlertAttachmentsV2Api.d.ts +92 -0
- package/dist/esm/apis/AlertAttachmentsV2Api.js +156 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AlertAttachmentV2.d.ts +51 -0
- package/dist/esm/models/AlertAttachmentV2.js +60 -0
- package/dist/esm/models/AlertAttachmentsCreatePayloadV2.d.ts +42 -0
- package/dist/esm/models/AlertAttachmentsCreatePayloadV2.js +49 -0
- package/dist/esm/models/AlertAttachmentsCreateResultV2.d.ts +31 -0
- package/dist/esm/models/AlertAttachmentsCreateResultV2.js +44 -0
- package/dist/esm/models/AlertAttachmentsListResultV2.d.ts +36 -0
- package/dist/esm/models/AlertAttachmentsListResultV2.js +47 -0
- package/dist/esm/models/AuditLogReliabilityReviewRepositoryUpdatedMetadataV2.d.ts +30 -0
- package/dist/esm/models/AuditLogReliabilityReviewRepositoryUpdatedMetadataV2.js +43 -0
- package/dist/esm/models/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.d.ts +62 -0
- package/dist/esm/models/AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js +59 -0
- package/dist/esm/models/AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.d.ts +34 -0
- package/dist/esm/models/AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js +43 -0
- package/dist/esm/models/AuditLogTargetV2.d.ts +2 -0
- package/dist/esm/models/AuditLogTargetV2.js +2 -0
- package/dist/esm/models/AuditLogsReliabilityReviewRepositoryUpdatedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsReliabilityReviewRepositoryUpdatedV1.js +72 -0
- package/dist/esm/models/AuditLogsReliabilityReviewSettingsUpdatedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsReliabilityReviewSettingsUpdatedV1.js +72 -0
- package/dist/esm/models/AuditLogsReliabilityReviewSpendLimitUpdatedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsReliabilityReviewSpendLimitUpdatedV1.js +72 -0
- package/dist/esm/models/IncidentActivityLogEntryV2.d.ts +1 -0
- package/dist/esm/models/IncidentActivityLogEntryV2.js +1 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
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 AlertAttachmentsCreatePayloadV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAlertAttachmentsCreatePayloadV2(value) {
|
|
18
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function AlertAttachmentsCreatePayloadV2FromJSON(json) {
|
|
23
|
+
return AlertAttachmentsCreatePayloadV2FromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function AlertAttachmentsCreatePayloadV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'alert_group_id': json['alert_group_id'] == null ? undefined : json['alert_group_id'],
|
|
31
|
+
'alert_id': json['alert_id'] == null ? undefined : json['alert_id'],
|
|
32
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
33
|
+
'url': json['url'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function AlertAttachmentsCreatePayloadV2ToJSON(json) {
|
|
37
|
+
return AlertAttachmentsCreatePayloadV2ToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function AlertAttachmentsCreatePayloadV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'alert_group_id': value['alert_group_id'],
|
|
45
|
+
'alert_id': value['alert_id'],
|
|
46
|
+
'title': value['title'],
|
|
47
|
+
'url': value['url'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { AlertAttachmentV2 } from './AlertAttachmentV2.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AlertAttachmentsCreateResultV2
|
|
17
|
+
*/
|
|
18
|
+
export interface AlertAttachmentsCreateResultV2 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
alert_attachment: AlertAttachmentV2;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the AlertAttachmentsCreateResultV2 interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfAlertAttachmentsCreateResultV2(value: object): value is AlertAttachmentsCreateResultV2;
|
|
28
|
+
export declare function AlertAttachmentsCreateResultV2FromJSON(json: any): AlertAttachmentsCreateResultV2;
|
|
29
|
+
export declare function AlertAttachmentsCreateResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertAttachmentsCreateResultV2;
|
|
30
|
+
export declare function AlertAttachmentsCreateResultV2ToJSON(json: any): AlertAttachmentsCreateResultV2;
|
|
31
|
+
export declare function AlertAttachmentsCreateResultV2ToJSONTyped(value?: AlertAttachmentsCreateResultV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { AlertAttachmentV2FromJSON, AlertAttachmentV2ToJSON, } from './AlertAttachmentV2.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the AlertAttachmentsCreateResultV2 interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfAlertAttachmentsCreateResultV2(value) {
|
|
19
|
+
if (!('alert_attachment' in value) || value['alert_attachment'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function AlertAttachmentsCreateResultV2FromJSON(json) {
|
|
24
|
+
return AlertAttachmentsCreateResultV2FromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function AlertAttachmentsCreateResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'alert_attachment': AlertAttachmentV2FromJSON(json['alert_attachment']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function AlertAttachmentsCreateResultV2ToJSON(json) {
|
|
35
|
+
return AlertAttachmentsCreateResultV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function AlertAttachmentsCreateResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'alert_attachment': AlertAttachmentV2ToJSON(value['alert_attachment']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { AlertAttachmentV2 } from './AlertAttachmentV2.js';
|
|
13
|
+
import type { PaginationMetaResultV2 } from './PaginationMetaResultV2.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AlertAttachmentsListResultV2
|
|
18
|
+
*/
|
|
19
|
+
export interface AlertAttachmentsListResultV2 {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
alert_attachments: Array<AlertAttachmentV2>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
pagination_meta?: PaginationMetaResultV2;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AlertAttachmentsListResultV2 interface.
|
|
31
|
+
*/
|
|
32
|
+
export declare function instanceOfAlertAttachmentsListResultV2(value: object): value is AlertAttachmentsListResultV2;
|
|
33
|
+
export declare function AlertAttachmentsListResultV2FromJSON(json: any): AlertAttachmentsListResultV2;
|
|
34
|
+
export declare function AlertAttachmentsListResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertAttachmentsListResultV2;
|
|
35
|
+
export declare function AlertAttachmentsListResultV2ToJSON(json: any): AlertAttachmentsListResultV2;
|
|
36
|
+
export declare function AlertAttachmentsListResultV2ToJSONTyped(value?: AlertAttachmentsListResultV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { AlertAttachmentV2FromJSON, AlertAttachmentV2ToJSON, } from './AlertAttachmentV2.js';
|
|
15
|
+
import { PaginationMetaResultV2FromJSON, PaginationMetaResultV2ToJSON, } from './PaginationMetaResultV2.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the AlertAttachmentsListResultV2 interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfAlertAttachmentsListResultV2(value) {
|
|
20
|
+
if (!('alert_attachments' in value) || value['alert_attachments'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function AlertAttachmentsListResultV2FromJSON(json) {
|
|
25
|
+
return AlertAttachmentsListResultV2FromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function AlertAttachmentsListResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'alert_attachments': (json['alert_attachments'].map(AlertAttachmentV2FromJSON)),
|
|
33
|
+
'pagination_meta': json['pagination_meta'] == null ? undefined : PaginationMetaResultV2FromJSON(json['pagination_meta']),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function AlertAttachmentsListResultV2ToJSON(json) {
|
|
37
|
+
return AlertAttachmentsListResultV2ToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function AlertAttachmentsListResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'alert_attachments': (value['alert_attachments'].map(AlertAttachmentV2ToJSON)),
|
|
45
|
+
'pagination_meta': PaginationMetaResultV2ToJSON(value['pagination_meta']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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 AuditLogReliabilityReviewRepositoryUpdatedMetadataV2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogReliabilityReviewRepositoryUpdatedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* Whether pull requests to the repository are reviewed after the change (enabled, disabled)
|
|
20
|
+
*/
|
|
21
|
+
reviews: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AuditLogReliabilityReviewRepositoryUpdatedMetadataV2 interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfAuditLogReliabilityReviewRepositoryUpdatedMetadataV2(value: object): value is AuditLogReliabilityReviewRepositoryUpdatedMetadataV2;
|
|
27
|
+
export declare function AuditLogReliabilityReviewRepositoryUpdatedMetadataV2FromJSON(json: any): AuditLogReliabilityReviewRepositoryUpdatedMetadataV2;
|
|
28
|
+
export declare function AuditLogReliabilityReviewRepositoryUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogReliabilityReviewRepositoryUpdatedMetadataV2;
|
|
29
|
+
export declare function AuditLogReliabilityReviewRepositoryUpdatedMetadataV2ToJSON(json: any): AuditLogReliabilityReviewRepositoryUpdatedMetadataV2;
|
|
30
|
+
export declare function AuditLogReliabilityReviewRepositoryUpdatedMetadataV2ToJSONTyped(value?: AuditLogReliabilityReviewRepositoryUpdatedMetadataV2 | 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 AuditLogReliabilityReviewRepositoryUpdatedMetadataV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuditLogReliabilityReviewRepositoryUpdatedMetadataV2(value) {
|
|
18
|
+
if (!('reviews' in value) || value['reviews'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function AuditLogReliabilityReviewRepositoryUpdatedMetadataV2FromJSON(json) {
|
|
23
|
+
return AuditLogReliabilityReviewRepositoryUpdatedMetadataV2FromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function AuditLogReliabilityReviewRepositoryUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'reviews': json['reviews'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function AuditLogReliabilityReviewRepositoryUpdatedMetadataV2ToJSON(json) {
|
|
34
|
+
return AuditLogReliabilityReviewRepositoryUpdatedMetadataV2ToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function AuditLogReliabilityReviewRepositoryUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'reviews': value['reviews'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 AuditLogReliabilityReviewSettingsUpdatedMetadataV2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogReliabilityReviewSettingsUpdatedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* The users added to those whose pull requests are reviewed, comma separated
|
|
20
|
+
*/
|
|
21
|
+
added_user_ids?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Which pushes to a pull request are reviewed after the change (every_push, once_per_pull_request)
|
|
24
|
+
*/
|
|
25
|
+
after_automatic_reviews?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Whether draft pull requests are reviewed after the change (review, skip)
|
|
28
|
+
*/
|
|
29
|
+
after_draft_reviews?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whose pull requests are reviewed after the change (everyone, selected_users)
|
|
32
|
+
*/
|
|
33
|
+
after_reviewed_authors?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Which pushes to a pull request were reviewed before the change (every_push, once_per_pull_request)
|
|
36
|
+
*/
|
|
37
|
+
before_automatic_reviews?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Whether draft pull requests were reviewed before the change (review, skip)
|
|
40
|
+
*/
|
|
41
|
+
before_draft_reviews?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Whose pull requests were reviewed before the change (everyone, selected_users)
|
|
44
|
+
*/
|
|
45
|
+
before_reviewed_authors?: string;
|
|
46
|
+
/**
|
|
47
|
+
* What the update changed, comma separated (automatic_reviews, draft_reviews, reviewed_authors, reviewed_users)
|
|
48
|
+
*/
|
|
49
|
+
changed: string;
|
|
50
|
+
/**
|
|
51
|
+
* The users removed from those whose pull requests are reviewed, comma separated
|
|
52
|
+
*/
|
|
53
|
+
removed_user_ids?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the AuditLogReliabilityReviewSettingsUpdatedMetadataV2 interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfAuditLogReliabilityReviewSettingsUpdatedMetadataV2(value: object): value is AuditLogReliabilityReviewSettingsUpdatedMetadataV2;
|
|
59
|
+
export declare function AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSON(json: any): AuditLogReliabilityReviewSettingsUpdatedMetadataV2;
|
|
60
|
+
export declare function AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogReliabilityReviewSettingsUpdatedMetadataV2;
|
|
61
|
+
export declare function AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSON(json: any): AuditLogReliabilityReviewSettingsUpdatedMetadataV2;
|
|
62
|
+
export declare function AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSONTyped(value?: AuditLogReliabilityReviewSettingsUpdatedMetadataV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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 AuditLogReliabilityReviewSettingsUpdatedMetadataV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuditLogReliabilityReviewSettingsUpdatedMetadataV2(value) {
|
|
18
|
+
if (!('changed' in value) || value['changed'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSON(json) {
|
|
23
|
+
return AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'added_user_ids': json['added_user_ids'] == null ? undefined : json['added_user_ids'],
|
|
31
|
+
'after_automatic_reviews': json['after_automatic_reviews'] == null ? undefined : json['after_automatic_reviews'],
|
|
32
|
+
'after_draft_reviews': json['after_draft_reviews'] == null ? undefined : json['after_draft_reviews'],
|
|
33
|
+
'after_reviewed_authors': json['after_reviewed_authors'] == null ? undefined : json['after_reviewed_authors'],
|
|
34
|
+
'before_automatic_reviews': json['before_automatic_reviews'] == null ? undefined : json['before_automatic_reviews'],
|
|
35
|
+
'before_draft_reviews': json['before_draft_reviews'] == null ? undefined : json['before_draft_reviews'],
|
|
36
|
+
'before_reviewed_authors': json['before_reviewed_authors'] == null ? undefined : json['before_reviewed_authors'],
|
|
37
|
+
'changed': json['changed'],
|
|
38
|
+
'removed_user_ids': json['removed_user_ids'] == null ? undefined : json['removed_user_ids'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSON(json) {
|
|
42
|
+
return AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'added_user_ids': value['added_user_ids'],
|
|
50
|
+
'after_automatic_reviews': value['after_automatic_reviews'],
|
|
51
|
+
'after_draft_reviews': value['after_draft_reviews'],
|
|
52
|
+
'after_reviewed_authors': value['after_reviewed_authors'],
|
|
53
|
+
'before_automatic_reviews': value['before_automatic_reviews'],
|
|
54
|
+
'before_draft_reviews': value['before_draft_reviews'],
|
|
55
|
+
'before_reviewed_authors': value['before_reviewed_authors'],
|
|
56
|
+
'changed': value['changed'],
|
|
57
|
+
'removed_user_ids': value['removed_user_ids'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2 {
|
|
18
|
+
/**
|
|
19
|
+
* The monthly spend limit after the change, in cents. Absent when there is no limit
|
|
20
|
+
*/
|
|
21
|
+
after_spend_limit_cents?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The monthly spend limit before the change, in cents. Absent when there was no limit
|
|
24
|
+
*/
|
|
25
|
+
before_spend_limit_cents?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2 interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfAuditLogReliabilityReviewSpendLimitUpdatedMetadataV2(value: object): value is AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2;
|
|
31
|
+
export declare function AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2FromJSON(json: any): AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2;
|
|
32
|
+
export declare function AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2;
|
|
33
|
+
export declare function AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2ToJSON(json: any): AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2;
|
|
34
|
+
export declare function AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2ToJSONTyped(value?: AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2 | 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 AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuditLogReliabilityReviewSpendLimitUpdatedMetadataV2(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2FromJSON(json) {
|
|
21
|
+
return AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2FromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'after_spend_limit_cents': json['after_spend_limit_cents'] == null ? undefined : json['after_spend_limit_cents'],
|
|
29
|
+
'before_spend_limit_cents': json['before_spend_limit_cents'] == null ? undefined : json['before_spend_limit_cents'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2ToJSON(json) {
|
|
33
|
+
return AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2ToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'after_spend_limit_cents': value['after_spend_limit_cents'],
|
|
41
|
+
'before_spend_limit_cents': value['before_spend_limit_cents'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -56,6 +56,8 @@ export declare const AuditLogTargetV2TypeEnum: {
|
|
|
56
56
|
readonly GlossaryEntry: "glossary_entry";
|
|
57
57
|
readonly InvestigationTrigger: "investigation_trigger";
|
|
58
58
|
readonly InvestigationConfig: "investigation_config";
|
|
59
|
+
readonly CodeRepository: "code_repository";
|
|
60
|
+
readonly ReliabilityReviewSettings: "reliability_review_settings";
|
|
59
61
|
readonly FollowUpCategory: "follow_up_category";
|
|
60
62
|
readonly FollowUpPriority: "follow_up_priority";
|
|
61
63
|
readonly HolidayUserFeed: "holiday_user_feed";
|
|
@@ -39,6 +39,8 @@ export const AuditLogTargetV2TypeEnum = {
|
|
|
39
39
|
GlossaryEntry: 'glossary_entry',
|
|
40
40
|
InvestigationTrigger: 'investigation_trigger',
|
|
41
41
|
InvestigationConfig: 'investigation_config',
|
|
42
|
+
CodeRepository: 'code_repository',
|
|
43
|
+
ReliabilityReviewSettings: 'reliability_review_settings',
|
|
42
44
|
FollowUpCategory: 'follow_up_category',
|
|
43
45
|
FollowUpPriority: 'follow_up_priority',
|
|
44
46
|
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 { AuditLogReliabilityReviewRepositoryUpdatedMetadataV2 } from './AuditLogReliabilityReviewRepositoryUpdatedMetadataV2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsReliabilityReviewRepositoryUpdatedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsReliabilityReviewRepositoryUpdatedV1 {
|
|
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: AuditLogReliabilityReviewRepositoryUpdatedMetadataV2;
|
|
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 AuditLogsReliabilityReviewRepositoryUpdatedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsReliabilityReviewRepositoryUpdatedV1(value: object): value is AuditLogsReliabilityReviewRepositoryUpdatedV1;
|
|
55
|
+
export declare function AuditLogsReliabilityReviewRepositoryUpdatedV1FromJSON(json: any): AuditLogsReliabilityReviewRepositoryUpdatedV1;
|
|
56
|
+
export declare function AuditLogsReliabilityReviewRepositoryUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsReliabilityReviewRepositoryUpdatedV1;
|
|
57
|
+
export declare function AuditLogsReliabilityReviewRepositoryUpdatedV1ToJSON(json: any): AuditLogsReliabilityReviewRepositoryUpdatedV1;
|
|
58
|
+
export declare function AuditLogsReliabilityReviewRepositoryUpdatedV1ToJSONTyped(value?: AuditLogsReliabilityReviewRepositoryUpdatedV1 | 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 { AuditLogReliabilityReviewRepositoryUpdatedMetadataV2FromJSON, AuditLogReliabilityReviewRepositoryUpdatedMetadataV2ToJSON, } from './AuditLogReliabilityReviewRepositoryUpdatedMetadataV2.js';
|
|
17
|
+
import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsReliabilityReviewRepositoryUpdatedV1 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsReliabilityReviewRepositoryUpdatedV1(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 AuditLogsReliabilityReviewRepositoryUpdatedV1FromJSON(json) {
|
|
40
|
+
return AuditLogsReliabilityReviewRepositoryUpdatedV1FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsReliabilityReviewRepositoryUpdatedV1FromJSONTyped(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': AuditLogReliabilityReviewRepositoryUpdatedMetadataV2FromJSON(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 AuditLogsReliabilityReviewRepositoryUpdatedV1ToJSON(json) {
|
|
57
|
+
return AuditLogsReliabilityReviewRepositoryUpdatedV1ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsReliabilityReviewRepositoryUpdatedV1ToJSONTyped(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': AuditLogReliabilityReviewRepositoryUpdatedMetadataV2ToJSON(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
|
+
}
|