@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
|
@@ -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.instanceOfAuditLogsReliabilityReviewSettingsUpdatedV1 = instanceOfAuditLogsReliabilityReviewSettingsUpdatedV1;
|
|
17
|
+
exports.AuditLogsReliabilityReviewSettingsUpdatedV1FromJSON = AuditLogsReliabilityReviewSettingsUpdatedV1FromJSON;
|
|
18
|
+
exports.AuditLogsReliabilityReviewSettingsUpdatedV1FromJSONTyped = AuditLogsReliabilityReviewSettingsUpdatedV1FromJSONTyped;
|
|
19
|
+
exports.AuditLogsReliabilityReviewSettingsUpdatedV1ToJSON = AuditLogsReliabilityReviewSettingsUpdatedV1ToJSON;
|
|
20
|
+
exports.AuditLogsReliabilityReviewSettingsUpdatedV1ToJSONTyped = AuditLogsReliabilityReviewSettingsUpdatedV1ToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
|
|
23
|
+
const AuditLogReliabilityReviewSettingsUpdatedMetadataV2_js_1 = require("./AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js");
|
|
24
|
+
const AuditLogEntryContextV2_js_1 = require("./AuditLogEntryContextV2.js");
|
|
25
|
+
const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AuditLogsReliabilityReviewSettingsUpdatedV1 interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfAuditLogsReliabilityReviewSettingsUpdatedV1(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 AuditLogsReliabilityReviewSettingsUpdatedV1FromJSON(json) {
|
|
47
|
+
return AuditLogsReliabilityReviewSettingsUpdatedV1FromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AuditLogsReliabilityReviewSettingsUpdatedV1FromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'action': json['action'],
|
|
55
|
+
'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2FromJSON)(json['actor']),
|
|
56
|
+
'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2FromJSON)(json['context']),
|
|
57
|
+
'metadata': (0, AuditLogReliabilityReviewSettingsUpdatedMetadataV2_js_1.AuditLogReliabilityReviewSettingsUpdatedMetadataV2FromJSON)(json['metadata']),
|
|
58
|
+
'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : (0, runtime_js_1.parseDateTime)(json['occurred_at'])),
|
|
59
|
+
'targets': (json['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2FromJSON)),
|
|
60
|
+
'version': json['version'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function AuditLogsReliabilityReviewSettingsUpdatedV1ToJSON(json) {
|
|
64
|
+
return AuditLogsReliabilityReviewSettingsUpdatedV1ToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AuditLogsReliabilityReviewSettingsUpdatedV1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'action': value['action'],
|
|
72
|
+
'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2ToJSON)(value['actor']),
|
|
73
|
+
'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2ToJSON)(value['context']),
|
|
74
|
+
'metadata': (0, AuditLogReliabilityReviewSettingsUpdatedMetadataV2_js_1.AuditLogReliabilityReviewSettingsUpdatedMetadataV2ToJSON)(value['metadata']),
|
|
75
|
+
'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : (0, runtime_js_1.serializeDateTime)(value['occurred_at']),
|
|
76
|
+
'targets': (value['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2ToJSON)),
|
|
77
|
+
'version': value['version'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -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,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.instanceOfAuditLogsReliabilityReviewSpendLimitUpdatedV1 = instanceOfAuditLogsReliabilityReviewSpendLimitUpdatedV1;
|
|
17
|
+
exports.AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSON = AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSON;
|
|
18
|
+
exports.AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSONTyped = AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSONTyped;
|
|
19
|
+
exports.AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSON = AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSON;
|
|
20
|
+
exports.AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSONTyped = AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
|
|
23
|
+
const AuditLogEntryContextV2_js_1 = require("./AuditLogEntryContextV2.js");
|
|
24
|
+
const AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2_js_1 = require("./AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js");
|
|
25
|
+
const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AuditLogsReliabilityReviewSpendLimitUpdatedV1 interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfAuditLogsReliabilityReviewSpendLimitUpdatedV1(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 AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSON(json) {
|
|
47
|
+
return AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AuditLogsReliabilityReviewSpendLimitUpdatedV1FromJSONTyped(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, AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2_js_1.AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2FromJSON)(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 AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSON(json) {
|
|
64
|
+
return AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AuditLogsReliabilityReviewSpendLimitUpdatedV1ToJSONTyped(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, AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2_js_1.AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2ToJSON)(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
|
+
}
|
|
@@ -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];
|
|
@@ -87,6 +87,7 @@ exports.IncidentActivityLogEntryV2TypeEnum = {
|
|
|
87
87
|
ScribeRemoved: 'scribe_removed',
|
|
88
88
|
ExternalIssueCommentSynced: 'external_issue_comment_synced',
|
|
89
89
|
InvestigationHypothesisUpdate: 'investigation_hypothesis_update',
|
|
90
|
+
InvestigationHeadsUp: 'investigation_heads_up',
|
|
90
91
|
WorkflowRan: 'workflow_ran',
|
|
91
92
|
};
|
|
92
93
|
/**
|
|
@@ -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/cjs/models/index.js
CHANGED
|
@@ -68,6 +68,10 @@ __exportStar(require("./ActorV1.js"), exports);
|
|
|
68
68
|
__exportStar(require("./ActorV2.js"), exports);
|
|
69
69
|
__exportStar(require("./AfterPaginationMetaResultV2.js"), exports);
|
|
70
70
|
__exportStar(require("./AlertActorV2.js"), exports);
|
|
71
|
+
__exportStar(require("./AlertAttachmentV2.js"), exports);
|
|
72
|
+
__exportStar(require("./AlertAttachmentsCreatePayloadV2.js"), exports);
|
|
73
|
+
__exportStar(require("./AlertAttachmentsCreateResultV2.js"), exports);
|
|
74
|
+
__exportStar(require("./AlertAttachmentsListResultV2.js"), exports);
|
|
71
75
|
__exportStar(require("./AlertAttributeCatalogEntryV2.js"), exports);
|
|
72
76
|
__exportStar(require("./AlertAttributeEntryV2.js"), exports);
|
|
73
77
|
__exportStar(require("./AlertAttributeV2.js"), exports);
|
|
@@ -245,6 +249,9 @@ __exportStar(require("./AuditLogPrivateInsightsExportedMetadataV2.js"), exports)
|
|
|
245
249
|
__exportStar(require("./AuditLogPrivateInsightsMeasureQueriedMetadataV2.js"), exports);
|
|
246
250
|
__exportStar(require("./AuditLogPrivateInsightsUnderlyingDataQueriedMetadataV2.js"), exports);
|
|
247
251
|
__exportStar(require("./AuditLogQrCodeMobileLoginSettingUpdatedMetadataV2.js"), exports);
|
|
252
|
+
__exportStar(require("./AuditLogReliabilityReviewRepositoryUpdatedMetadataV2.js"), exports);
|
|
253
|
+
__exportStar(require("./AuditLogReliabilityReviewSettingsUpdatedMetadataV2.js"), exports);
|
|
254
|
+
__exportStar(require("./AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js"), exports);
|
|
248
255
|
__exportStar(require("./AuditLogSCIMGroupSeatMappingChangedMetadataV2.js"), exports);
|
|
249
256
|
__exportStar(require("./AuditLogScheduleOverrideMetadataV2.js"), exports);
|
|
250
257
|
__exportStar(require("./AuditLogTargetV2.js"), exports);
|
|
@@ -435,6 +442,9 @@ __exportStar(require("./AuditLogsQrCodeMobileLoginSettingUpdatedV1.js"), exports
|
|
|
435
442
|
__exportStar(require("./AuditLogsRbacRoleCreatedV1.js"), exports);
|
|
436
443
|
__exportStar(require("./AuditLogsRbacRoleDeletedV1.js"), exports);
|
|
437
444
|
__exportStar(require("./AuditLogsRbacRoleUpdatedV1.js"), exports);
|
|
445
|
+
__exportStar(require("./AuditLogsReliabilityReviewRepositoryUpdatedV1.js"), exports);
|
|
446
|
+
__exportStar(require("./AuditLogsReliabilityReviewSettingsUpdatedV1.js"), exports);
|
|
447
|
+
__exportStar(require("./AuditLogsReliabilityReviewSpendLimitUpdatedV1.js"), exports);
|
|
438
448
|
__exportStar(require("./AuditLogsScheduleCreatedV1.js"), exports);
|
|
439
449
|
__exportStar(require("./AuditLogsScheduleDeletedV1.js"), exports);
|
|
440
450
|
__exportStar(require("./AuditLogsScheduleOverrideCreatedV1.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.32.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -0,0 +1,92 @@
|
|
|
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 * as runtime from '../runtime.js';
|
|
13
|
+
import { type AlertAttachmentsCreatePayloadV2 } from '../models/AlertAttachmentsCreatePayloadV2.js';
|
|
14
|
+
import { type AlertAttachmentsCreateResultV2 } from '../models/AlertAttachmentsCreateResultV2.js';
|
|
15
|
+
import { type AlertAttachmentsListResultV2 } from '../models/AlertAttachmentsListResultV2.js';
|
|
16
|
+
export interface AlertAttachmentsV2CreateRequest {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
body: AlertAttachmentsCreatePayloadV2;
|
|
21
|
+
}
|
|
22
|
+
export interface AlertAttachmentsV2DeleteRequest {
|
|
23
|
+
/**
|
|
24
|
+
* ID of the alert attachment
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
}
|
|
28
|
+
export interface AlertAttachmentsV2ListRequest {
|
|
29
|
+
/**
|
|
30
|
+
* ID of the alert to list attachments for. Provide exactly one of alert_id or alert_group_id.
|
|
31
|
+
*/
|
|
32
|
+
alert_id?: string;
|
|
33
|
+
/**
|
|
34
|
+
* ID of the alert group to list attachments for. Provide exactly one of alert_id or alert_group_id.
|
|
35
|
+
*/
|
|
36
|
+
alert_group_id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Integer number of records to return
|
|
39
|
+
*/
|
|
40
|
+
page_size?: number;
|
|
41
|
+
/**
|
|
42
|
+
* An alert attachment's ID. This endpoint will return the attachments after this one in the response order.
|
|
43
|
+
*/
|
|
44
|
+
after?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
export declare class AlertAttachmentsV2Api extends runtime.BaseAPI {
|
|
50
|
+
/**
|
|
51
|
+
* Creates request options for alertAttachmentsV2Create without sending the request
|
|
52
|
+
*/
|
|
53
|
+
alertAttachmentsV2CreateRequestOpts(requestParameters: AlertAttachmentsV2CreateRequest): Promise<runtime.RequestOpts>;
|
|
54
|
+
/**
|
|
55
|
+
* Attach a URL to an alert or alert group. Provide exactly one of alert_id or alert_group_id. A URL for a ticket or pull request from a connected integration is attached as that ticket or pull request. Any other URL is attached as a link. A URL that is already attached returns a 422.
|
|
56
|
+
* Create Alert Attachments V2
|
|
57
|
+
*/
|
|
58
|
+
alertAttachmentsV2CreateRaw(requestParameters: AlertAttachmentsV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AlertAttachmentsCreateResultV2>>;
|
|
59
|
+
/**
|
|
60
|
+
* Attach a URL to an alert or alert group. Provide exactly one of alert_id or alert_group_id. A URL for a ticket or pull request from a connected integration is attached as that ticket or pull request. Any other URL is attached as a link. A URL that is already attached returns a 422.
|
|
61
|
+
* Create Alert Attachments V2
|
|
62
|
+
*/
|
|
63
|
+
alertAttachmentsV2Create(requestParameters: AlertAttachmentsV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AlertAttachmentsCreateResultV2>;
|
|
64
|
+
/**
|
|
65
|
+
* Creates request options for alertAttachmentsV2Delete without sending the request
|
|
66
|
+
*/
|
|
67
|
+
alertAttachmentsV2DeleteRequestOpts(requestParameters: AlertAttachmentsV2DeleteRequest): Promise<runtime.RequestOpts>;
|
|
68
|
+
/**
|
|
69
|
+
* Remove an attachment from its alert or alert group.
|
|
70
|
+
* Delete Alert Attachments V2
|
|
71
|
+
*/
|
|
72
|
+
alertAttachmentsV2DeleteRaw(requestParameters: AlertAttachmentsV2DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
73
|
+
/**
|
|
74
|
+
* Remove an attachment from its alert or alert group.
|
|
75
|
+
* Delete Alert Attachments V2
|
|
76
|
+
*/
|
|
77
|
+
alertAttachmentsV2Delete(requestParameters: AlertAttachmentsV2DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for alertAttachmentsV2List without sending the request
|
|
80
|
+
*/
|
|
81
|
+
alertAttachmentsV2ListRequestOpts(requestParameters: AlertAttachmentsV2ListRequest): Promise<runtime.RequestOpts>;
|
|
82
|
+
/**
|
|
83
|
+
* List the attachments on an alert or alert group, newest first. Provide exactly one of alert_id or alert_group_id. Listing by alert_id returns only what is attached to that alert, not what is attached to its alert group.
|
|
84
|
+
* List Alert Attachments V2
|
|
85
|
+
*/
|
|
86
|
+
alertAttachmentsV2ListRaw(requestParameters: AlertAttachmentsV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AlertAttachmentsListResultV2>>;
|
|
87
|
+
/**
|
|
88
|
+
* List the attachments on an alert or alert group, newest first. Provide exactly one of alert_id or alert_group_id. Listing by alert_id returns only what is attached to that alert, not what is attached to its alert group.
|
|
89
|
+
* List Alert Attachments V2
|
|
90
|
+
*/
|
|
91
|
+
alertAttachmentsV2List(requestParameters?: AlertAttachmentsV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AlertAttachmentsListResultV2>;
|
|
92
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
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 * as runtime from '../runtime.js';
|
|
15
|
+
import { AlertAttachmentsCreatePayloadV2ToJSON, } from '../models/AlertAttachmentsCreatePayloadV2.js';
|
|
16
|
+
import { AlertAttachmentsCreateResultV2FromJSON, } from '../models/AlertAttachmentsCreateResultV2.js';
|
|
17
|
+
import { AlertAttachmentsListResultV2FromJSON, } from '../models/AlertAttachmentsListResultV2.js';
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export class AlertAttachmentsV2Api extends runtime.BaseAPI {
|
|
22
|
+
/**
|
|
23
|
+
* Creates request options for alertAttachmentsV2Create without sending the request
|
|
24
|
+
*/
|
|
25
|
+
async alertAttachmentsV2CreateRequestOpts(requestParameters) {
|
|
26
|
+
if (requestParameters['body'] == null) {
|
|
27
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling alertAttachmentsV2Create().');
|
|
28
|
+
}
|
|
29
|
+
const queryParameters = {};
|
|
30
|
+
const headerParameters = {};
|
|
31
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
32
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
33
|
+
const token = this.configuration.accessToken;
|
|
34
|
+
const tokenString = await token("BearerAuth", []);
|
|
35
|
+
if (tokenString) {
|
|
36
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
let urlPath = `/v2/alert_attachments`;
|
|
40
|
+
return {
|
|
41
|
+
path: urlPath,
|
|
42
|
+
method: 'POST',
|
|
43
|
+
headers: headerParameters,
|
|
44
|
+
query: queryParameters,
|
|
45
|
+
body: AlertAttachmentsCreatePayloadV2ToJSON(requestParameters['body']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Attach a URL to an alert or alert group. Provide exactly one of alert_id or alert_group_id. A URL for a ticket or pull request from a connected integration is attached as that ticket or pull request. Any other URL is attached as a link. A URL that is already attached returns a 422.
|
|
50
|
+
* Create Alert Attachments V2
|
|
51
|
+
*/
|
|
52
|
+
async alertAttachmentsV2CreateRaw(requestParameters, initOverrides) {
|
|
53
|
+
const requestOptions = await this.alertAttachmentsV2CreateRequestOpts(requestParameters);
|
|
54
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
55
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AlertAttachmentsCreateResultV2FromJSON(jsonValue));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Attach a URL to an alert or alert group. Provide exactly one of alert_id or alert_group_id. A URL for a ticket or pull request from a connected integration is attached as that ticket or pull request. Any other URL is attached as a link. A URL that is already attached returns a 422.
|
|
59
|
+
* Create Alert Attachments V2
|
|
60
|
+
*/
|
|
61
|
+
async alertAttachmentsV2Create(requestParameters, initOverrides) {
|
|
62
|
+
const response = await this.alertAttachmentsV2CreateRaw(requestParameters, initOverrides);
|
|
63
|
+
return await response.value();
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Creates request options for alertAttachmentsV2Delete without sending the request
|
|
67
|
+
*/
|
|
68
|
+
async alertAttachmentsV2DeleteRequestOpts(requestParameters) {
|
|
69
|
+
if (requestParameters['id'] == null) {
|
|
70
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling alertAttachmentsV2Delete().');
|
|
71
|
+
}
|
|
72
|
+
const queryParameters = {};
|
|
73
|
+
const headerParameters = {};
|
|
74
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
75
|
+
const token = this.configuration.accessToken;
|
|
76
|
+
const tokenString = await token("BearerAuth", []);
|
|
77
|
+
if (tokenString) {
|
|
78
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
let urlPath = `/v2/alert_attachments/{id}`;
|
|
82
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
83
|
+
return {
|
|
84
|
+
path: urlPath,
|
|
85
|
+
method: 'DELETE',
|
|
86
|
+
headers: headerParameters,
|
|
87
|
+
query: queryParameters,
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Remove an attachment from its alert or alert group.
|
|
92
|
+
* Delete Alert Attachments V2
|
|
93
|
+
*/
|
|
94
|
+
async alertAttachmentsV2DeleteRaw(requestParameters, initOverrides) {
|
|
95
|
+
const requestOptions = await this.alertAttachmentsV2DeleteRequestOpts(requestParameters);
|
|
96
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
97
|
+
return new runtime.VoidApiResponse(response);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Remove an attachment from its alert or alert group.
|
|
101
|
+
* Delete Alert Attachments V2
|
|
102
|
+
*/
|
|
103
|
+
async alertAttachmentsV2Delete(requestParameters, initOverrides) {
|
|
104
|
+
await this.alertAttachmentsV2DeleteRaw(requestParameters, initOverrides);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Creates request options for alertAttachmentsV2List without sending the request
|
|
108
|
+
*/
|
|
109
|
+
async alertAttachmentsV2ListRequestOpts(requestParameters) {
|
|
110
|
+
const queryParameters = {};
|
|
111
|
+
if (requestParameters['alert_id'] != null) {
|
|
112
|
+
queryParameters['alert_id'] = requestParameters['alert_id'];
|
|
113
|
+
}
|
|
114
|
+
if (requestParameters['alert_group_id'] != null) {
|
|
115
|
+
queryParameters['alert_group_id'] = requestParameters['alert_group_id'];
|
|
116
|
+
}
|
|
117
|
+
if (requestParameters['page_size'] != null) {
|
|
118
|
+
queryParameters['page_size'] = requestParameters['page_size'];
|
|
119
|
+
}
|
|
120
|
+
if (requestParameters['after'] != null) {
|
|
121
|
+
queryParameters['after'] = requestParameters['after'];
|
|
122
|
+
}
|
|
123
|
+
const headerParameters = {};
|
|
124
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
125
|
+
const token = this.configuration.accessToken;
|
|
126
|
+
const tokenString = await token("BearerAuth", []);
|
|
127
|
+
if (tokenString) {
|
|
128
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
let urlPath = `/v2/alert_attachments`;
|
|
132
|
+
return {
|
|
133
|
+
path: urlPath,
|
|
134
|
+
method: 'GET',
|
|
135
|
+
headers: headerParameters,
|
|
136
|
+
query: queryParameters,
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* List the attachments on an alert or alert group, newest first. Provide exactly one of alert_id or alert_group_id. Listing by alert_id returns only what is attached to that alert, not what is attached to its alert group.
|
|
141
|
+
* List Alert Attachments V2
|
|
142
|
+
*/
|
|
143
|
+
async alertAttachmentsV2ListRaw(requestParameters, initOverrides) {
|
|
144
|
+
const requestOptions = await this.alertAttachmentsV2ListRequestOpts(requestParameters);
|
|
145
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
146
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AlertAttachmentsListResultV2FromJSON(jsonValue));
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* List the attachments on an alert or alert group, newest first. Provide exactly one of alert_id or alert_group_id. Listing by alert_id returns only what is attached to that alert, not what is attached to its alert group.
|
|
150
|
+
* List Alert Attachments V2
|
|
151
|
+
*/
|
|
152
|
+
async alertAttachmentsV2List(requestParameters = {}, initOverrides) {
|
|
153
|
+
const response = await this.alertAttachmentsV2ListRaw(requestParameters, initOverrides);
|
|
154
|
+
return await response.value();
|
|
155
|
+
}
|
|
156
|
+
}
|
package/dist/esm/apis/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './APIKeysV1Api.js';
|
|
|
2
2
|
export * from './ActionsV1Api.js';
|
|
3
3
|
export * from './ActionsV2Api.js';
|
|
4
4
|
export * from './ActionsV3Api.js';
|
|
5
|
+
export * from './AlertAttachmentsV2Api.js';
|
|
5
6
|
export * from './AlertAttributesV2Api.js';
|
|
6
7
|
export * from './AlertEventsV2Api.js';
|
|
7
8
|
export * from './AlertNotesV1Api.js';
|
package/dist/esm/apis/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export * from './APIKeysV1Api.js';
|
|
|
4
4
|
export * from './ActionsV1Api.js';
|
|
5
5
|
export * from './ActionsV2Api.js';
|
|
6
6
|
export * from './ActionsV3Api.js';
|
|
7
|
+
export * from './AlertAttachmentsV2Api.js';
|
|
7
8
|
export * from './AlertAttributesV2Api.js';
|
|
8
9
|
export * from './AlertEventsV2Api.js';
|
|
9
10
|
export * from './AlertNotesV1Api.js';
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* Something attached to an alert or alert group, such as a ticket, a pull request or
|
|
14
|
+
* a link.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AlertAttachmentV2
|
|
17
|
+
*/
|
|
18
|
+
export interface AlertAttachmentV2 {
|
|
19
|
+
/**
|
|
20
|
+
* ID of the alert group this is attached to. Exactly one of alert_id or alert_group_id is set.
|
|
21
|
+
*/
|
|
22
|
+
alert_group_id?: string;
|
|
23
|
+
/**
|
|
24
|
+
* ID of the alert this is attached to. Exactly one of alert_id or alert_group_id is set.
|
|
25
|
+
*/
|
|
26
|
+
alert_id?: string;
|
|
27
|
+
/**
|
|
28
|
+
* When it was attached
|
|
29
|
+
*/
|
|
30
|
+
created_at: Date;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the alert attachment
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
/**
|
|
36
|
+
* The ticket or pull request's title, or the link's title
|
|
37
|
+
*/
|
|
38
|
+
title: string;
|
|
39
|
+
/**
|
|
40
|
+
* URL of the attached ticket, pull request or link
|
|
41
|
+
*/
|
|
42
|
+
url: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AlertAttachmentV2 interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfAlertAttachmentV2(value: object): value is AlertAttachmentV2;
|
|
48
|
+
export declare function AlertAttachmentV2FromJSON(json: any): AlertAttachmentV2;
|
|
49
|
+
export declare function AlertAttachmentV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertAttachmentV2;
|
|
50
|
+
export declare function AlertAttachmentV2ToJSON(json: any): AlertAttachmentV2;
|
|
51
|
+
export declare function AlertAttachmentV2ToJSONTyped(value?: AlertAttachmentV2 | null, ignoreDiscriminator?: boolean): any;
|