@incident-io/sdk 2.30.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/AlertSourceV2.d.ts +1 -0
- package/dist/cjs/models/AlertSourceV2.js +1 -0
- package/dist/cjs/models/AlertSourcesCreatePayloadV2.d.ts +1 -0
- package/dist/cjs/models/AlertSourcesCreatePayloadV2.js +1 -0
- package/dist/cjs/models/AlertSourcesValidatePayloadV2.d.ts +1 -0
- package/dist/cjs/models/AlertSourcesValidatePayloadV2.js +1 -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/AlertSourceV2.d.ts +1 -0
- package/dist/esm/models/AlertSourceV2.js +1 -0
- package/dist/esm/models/AlertSourcesCreatePayloadV2.d.ts +1 -0
- package/dist/esm/models/AlertSourcesCreatePayloadV2.js +1 -0
- package/dist/esm/models/AlertSourcesValidatePayloadV2.d.ts +1 -0
- package/dist/esm/models/AlertSourcesValidatePayloadV2.js +1 -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
|
@@ -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
|
+
}
|
|
@@ -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 AuditLogsReliabilityReviewSettingsUpdatedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsReliabilityReviewSettingsUpdatedV1 {
|
|
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 AuditLogsReliabilityReviewSettingsUpdatedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsReliabilityReviewSettingsUpdatedV1(value: object): value is AuditLogsReliabilityReviewSettingsUpdatedV1;
|
|
55
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV1FromJSON(json: any): AuditLogsReliabilityReviewSettingsUpdatedV1;
|
|
56
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsReliabilityReviewSettingsUpdatedV1;
|
|
57
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV1ToJSON(json: any): AuditLogsReliabilityReviewSettingsUpdatedV1;
|
|
58
|
+
export declare function AuditLogsReliabilityReviewSettingsUpdatedV1ToJSONTyped(value?: AuditLogsReliabilityReviewSettingsUpdatedV1 | 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 AuditLogsReliabilityReviewSettingsUpdatedV1 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsReliabilityReviewSettingsUpdatedV1(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 AuditLogsReliabilityReviewSettingsUpdatedV1FromJSON(json) {
|
|
40
|
+
return AuditLogsReliabilityReviewSettingsUpdatedV1FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsReliabilityReviewSettingsUpdatedV1FromJSONTyped(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 AuditLogsReliabilityReviewSettingsUpdatedV1ToJSON(json) {
|
|
57
|
+
return AuditLogsReliabilityReviewSettingsUpdatedV1ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsReliabilityReviewSettingsUpdatedV1ToJSONTyped(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
|
+
}
|
|
@@ -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 { AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2 } from './AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsReliabilityReviewSpendLimitUpdatedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsReliabilityReviewSpendLimitUpdatedV1 {
|
|
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: AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2;
|
|
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 AuditLogsReliabilityReviewSpendLimitUpdatedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsReliabilityReviewSpendLimitUpdatedV1(value: object): value is AuditLogsReliabilityReviewSpendLimitUpdatedV1;
|
|
55
|
+
export declare function AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSON(json: any): AuditLogsReliabilityReviewSpendLimitUpdatedV1;
|
|
56
|
+
export declare function AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsReliabilityReviewSpendLimitUpdatedV1;
|
|
57
|
+
export declare function AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSON(json: any): AuditLogsReliabilityReviewSpendLimitUpdatedV1;
|
|
58
|
+
export declare function AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSONTyped(value?: AuditLogsReliabilityReviewSpendLimitUpdatedV1 | 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 { AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2FromJSON, AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2ToJSON, } from './AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsReliabilityReviewSpendLimitUpdatedV1 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsReliabilityReviewSpendLimitUpdatedV1(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 AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSON(json) {
|
|
40
|
+
return AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSONTyped(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': AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2FromJSON(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 AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSON(json) {
|
|
57
|
+
return AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSONTyped(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': AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2ToJSON(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
|
+
}
|
|
@@ -114,6 +114,7 @@ export declare const IncidentActivityLogEntryV2TypeEnum: {
|
|
|
114
114
|
readonly ScribeRemoved: "scribe_removed";
|
|
115
115
|
readonly ExternalIssueCommentSynced: "external_issue_comment_synced";
|
|
116
116
|
readonly InvestigationHypothesisUpdate: "investigation_hypothesis_update";
|
|
117
|
+
readonly InvestigationHeadsUp: "investigation_heads_up";
|
|
117
118
|
readonly WorkflowRan: "workflow_ran";
|
|
118
119
|
};
|
|
119
120
|
export type IncidentActivityLogEntryV2TypeEnum = typeof IncidentActivityLogEntryV2TypeEnum[keyof typeof IncidentActivityLogEntryV2TypeEnum];
|
|
@@ -79,6 +79,7 @@ export const IncidentActivityLogEntryV2TypeEnum = {
|
|
|
79
79
|
ScribeRemoved: 'scribe_removed',
|
|
80
80
|
ExternalIssueCommentSynced: 'external_issue_comment_synced',
|
|
81
81
|
InvestigationHypothesisUpdate: 'investigation_hypothesis_update',
|
|
82
|
+
InvestigationHeadsUp: 'investigation_heads_up',
|
|
82
83
|
WorkflowRan: 'workflow_ran',
|
|
83
84
|
};
|
|
84
85
|
/**
|
|
@@ -50,6 +50,10 @@ export * from './ActorV1.js';
|
|
|
50
50
|
export * from './ActorV2.js';
|
|
51
51
|
export * from './AfterPaginationMetaResultV2.js';
|
|
52
52
|
export * from './AlertActorV2.js';
|
|
53
|
+
export * from './AlertAttachmentV2.js';
|
|
54
|
+
export * from './AlertAttachmentsCreatePayloadV2.js';
|
|
55
|
+
export * from './AlertAttachmentsCreateResultV2.js';
|
|
56
|
+
export * from './AlertAttachmentsListResultV2.js';
|
|
53
57
|
export * from './AlertAttributeCatalogEntryV2.js';
|
|
54
58
|
export * from './AlertAttributeEntryV2.js';
|
|
55
59
|
export * from './AlertAttributeV2.js';
|
|
@@ -227,6 +231,9 @@ export * from './AuditLogPrivateInsightsExportedMetadataV2.js';
|
|
|
227
231
|
export * from './AuditLogPrivateInsightsMeasureQueriedMetadataV2.js';
|
|
228
232
|
export * from './AuditLogPrivateInsightsUnderlyingDataQueriedMetadataV2.js';
|
|
229
233
|
export * from './AuditLogQrCodeMobileLoginSettingUpdatedMetadataV2.js';
|
|
234
|
+
export * from './AuditLogReliabilityReviewRepositoryUpdatedMetadataV2.js';
|
|
235
|
+
export * from './AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js';
|
|
236
|
+
export * from './AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js';
|
|
230
237
|
export * from './AuditLogSCIMGroupSeatMappingChangedMetadataV2.js';
|
|
231
238
|
export * from './AuditLogScheduleOverrideMetadataV2.js';
|
|
232
239
|
export * from './AuditLogTargetV2.js';
|
|
@@ -417,6 +424,9 @@ export * from './AuditLogsQrCodeMobileLoginSettingUpdatedV1.js';
|
|
|
417
424
|
export * from './AuditLogsRbacRoleCreatedV1.js';
|
|
418
425
|
export * from './AuditLogsRbacRoleDeletedV1.js';
|
|
419
426
|
export * from './AuditLogsRbacRoleUpdatedV1.js';
|
|
427
|
+
export * from './AuditLogsReliabilityReviewRepositoryUpdatedV1.js';
|
|
428
|
+
export * from './AuditLogsReliabilityReviewSettingsUpdatedV1.js';
|
|
429
|
+
export * from './AuditLogsReliabilityReviewSpendLimitUpdatedV1.js';
|
|
420
430
|
export * from './AuditLogsScheduleCreatedV1.js';
|
|
421
431
|
export * from './AuditLogsScheduleDeletedV1.js';
|
|
422
432
|
export * from './AuditLogsScheduleOverrideCreatedV1.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -52,6 +52,10 @@ export * from './ActorV1.js';
|
|
|
52
52
|
export * from './ActorV2.js';
|
|
53
53
|
export * from './AfterPaginationMetaResultV2.js';
|
|
54
54
|
export * from './AlertActorV2.js';
|
|
55
|
+
export * from './AlertAttachmentV2.js';
|
|
56
|
+
export * from './AlertAttachmentsCreatePayloadV2.js';
|
|
57
|
+
export * from './AlertAttachmentsCreateResultV2.js';
|
|
58
|
+
export * from './AlertAttachmentsListResultV2.js';
|
|
55
59
|
export * from './AlertAttributeCatalogEntryV2.js';
|
|
56
60
|
export * from './AlertAttributeEntryV2.js';
|
|
57
61
|
export * from './AlertAttributeV2.js';
|
|
@@ -229,6 +233,9 @@ export * from './AuditLogPrivateInsightsExportedMetadataV2.js';
|
|
|
229
233
|
export * from './AuditLogPrivateInsightsMeasureQueriedMetadataV2.js';
|
|
230
234
|
export * from './AuditLogPrivateInsightsUnderlyingDataQueriedMetadataV2.js';
|
|
231
235
|
export * from './AuditLogQrCodeMobileLoginSettingUpdatedMetadataV2.js';
|
|
236
|
+
export * from './AuditLogReliabilityReviewRepositoryUpdatedMetadataV2.js';
|
|
237
|
+
export * from './AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js';
|
|
238
|
+
export * from './AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js';
|
|
232
239
|
export * from './AuditLogSCIMGroupSeatMappingChangedMetadataV2.js';
|
|
233
240
|
export * from './AuditLogScheduleOverrideMetadataV2.js';
|
|
234
241
|
export * from './AuditLogTargetV2.js';
|
|
@@ -419,6 +426,9 @@ export * from './AuditLogsQrCodeMobileLoginSettingUpdatedV1.js';
|
|
|
419
426
|
export * from './AuditLogsRbacRoleCreatedV1.js';
|
|
420
427
|
export * from './AuditLogsRbacRoleDeletedV1.js';
|
|
421
428
|
export * from './AuditLogsRbacRoleUpdatedV1.js';
|
|
429
|
+
export * from './AuditLogsReliabilityReviewRepositoryUpdatedV1.js';
|
|
430
|
+
export * from './AuditLogsReliabilityReviewSettingsUpdatedV1.js';
|
|
431
|
+
export * from './AuditLogsReliabilityReviewSpendLimitUpdatedV1.js';
|
|
422
432
|
export * from './AuditLogsScheduleCreatedV1.js';
|
|
423
433
|
export * from './AuditLogsScheduleDeletedV1.js';
|
|
424
434
|
export * from './AuditLogsScheduleOverrideCreatedV1.js';
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.32.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.32.0";
|