@incident-io/sdk 2.24.0 → 2.26.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/GlossaryEntriesV2Api.d.ts +157 -0
- package/dist/cjs/apis/GlossaryEntriesV2Api.js +327 -0
- package/dist/cjs/apis/index.d.ts +1 -0
- package/dist/cjs/apis/index.js +1 -0
- package/dist/cjs/models/GlossaryEntriesCreatePayloadV2.d.ts +38 -0
- package/dist/cjs/models/GlossaryEntriesCreatePayloadV2.js +56 -0
- package/dist/cjs/models/GlossaryEntriesCreateResultV2.d.ts +31 -0
- package/dist/cjs/models/GlossaryEntriesCreateResultV2.js +51 -0
- package/dist/cjs/models/GlossaryEntriesListResultV2.d.ts +36 -0
- package/dist/cjs/models/GlossaryEntriesListResultV2.js +54 -0
- package/dist/cjs/models/GlossaryEntriesShowResultV2.d.ts +31 -0
- package/dist/cjs/models/GlossaryEntriesShowResultV2.js +51 -0
- package/dist/cjs/models/GlossaryEntriesUpdatePayloadV2.d.ts +34 -0
- package/dist/cjs/models/GlossaryEntriesUpdatePayloadV2.js +54 -0
- package/dist/cjs/models/GlossaryEntriesUpdateRanksPayloadV2.d.ts +31 -0
- package/dist/cjs/models/GlossaryEntriesUpdateRanksPayloadV2.js +51 -0
- package/dist/cjs/models/GlossaryEntriesUpdateRanksResultV2.d.ts +31 -0
- package/dist/cjs/models/GlossaryEntriesUpdateRanksResultV2.js +51 -0
- package/dist/cjs/models/GlossaryEntriesUpdateResultV2.d.ts +31 -0
- package/dist/cjs/models/GlossaryEntriesUpdateResultV2.js +51 -0
- package/dist/cjs/models/GlossaryEntryRankUpdateV2.d.ts +34 -0
- package/dist/cjs/models/GlossaryEntryRankUpdateV2.js +54 -0
- package/dist/cjs/models/GlossaryEntryV2.d.ts +55 -0
- package/dist/cjs/models/GlossaryEntryV2.js +71 -0
- package/dist/cjs/models/StepProgressSlimV2.d.ts +1 -0
- package/dist/cjs/models/StepProgressSlimV2.js +1 -0
- package/dist/cjs/models/StepProgressV2.d.ts +1 -0
- package/dist/cjs/models/StepProgressV2.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/GlossaryEntriesV2Api.d.ts +157 -0
- package/dist/esm/apis/GlossaryEntriesV2Api.js +290 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/GlossaryEntriesCreatePayloadV2.d.ts +38 -0
- package/dist/esm/models/GlossaryEntriesCreatePayloadV2.js +49 -0
- package/dist/esm/models/GlossaryEntriesCreateResultV2.d.ts +31 -0
- package/dist/esm/models/GlossaryEntriesCreateResultV2.js +44 -0
- package/dist/esm/models/GlossaryEntriesListResultV2.d.ts +36 -0
- package/dist/esm/models/GlossaryEntriesListResultV2.js +47 -0
- package/dist/esm/models/GlossaryEntriesShowResultV2.d.ts +31 -0
- package/dist/esm/models/GlossaryEntriesShowResultV2.js +44 -0
- package/dist/esm/models/GlossaryEntriesUpdatePayloadV2.d.ts +34 -0
- package/dist/esm/models/GlossaryEntriesUpdatePayloadV2.js +47 -0
- package/dist/esm/models/GlossaryEntriesUpdateRanksPayloadV2.d.ts +31 -0
- package/dist/esm/models/GlossaryEntriesUpdateRanksPayloadV2.js +44 -0
- package/dist/esm/models/GlossaryEntriesUpdateRanksResultV2.d.ts +31 -0
- package/dist/esm/models/GlossaryEntriesUpdateRanksResultV2.js +44 -0
- package/dist/esm/models/GlossaryEntriesUpdateResultV2.d.ts +31 -0
- package/dist/esm/models/GlossaryEntriesUpdateResultV2.js +44 -0
- package/dist/esm/models/GlossaryEntryRankUpdateV2.d.ts +34 -0
- package/dist/esm/models/GlossaryEntryRankUpdateV2.js +47 -0
- package/dist/esm/models/GlossaryEntryV2.d.ts +55 -0
- package/dist/esm/models/GlossaryEntryV2.js +64 -0
- package/dist/esm/models/StepProgressSlimV2.d.ts +1 -0
- package/dist/esm/models/StepProgressSlimV2.js +1 -0
- package/dist/esm/models/StepProgressV2.d.ts +1 -0
- package/dist/esm/models/StepProgressV2.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,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
|
+
* The new rank for one live glossary entry.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GlossaryEntryRankUpdateV2
|
|
16
|
+
*/
|
|
17
|
+
export interface GlossaryEntryRankUpdateV2 {
|
|
18
|
+
/**
|
|
19
|
+
* Desired rank for this resource
|
|
20
|
+
*/
|
|
21
|
+
rank: number;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the resource
|
|
24
|
+
*/
|
|
25
|
+
resource_id: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the GlossaryEntryRankUpdateV2 interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfGlossaryEntryRankUpdateV2(value: object): value is GlossaryEntryRankUpdateV2;
|
|
31
|
+
export declare function GlossaryEntryRankUpdateV2FromJSON(json: any): GlossaryEntryRankUpdateV2;
|
|
32
|
+
export declare function GlossaryEntryRankUpdateV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): GlossaryEntryRankUpdateV2;
|
|
33
|
+
export declare function GlossaryEntryRankUpdateV2ToJSON(json: any): GlossaryEntryRankUpdateV2;
|
|
34
|
+
export declare function GlossaryEntryRankUpdateV2ToJSONTyped(value?: GlossaryEntryRankUpdateV2 | 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
|
+
/**
|
|
15
|
+
* Check if a given object implements the GlossaryEntryRankUpdateV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGlossaryEntryRankUpdateV2(value) {
|
|
18
|
+
if (!('rank' in value) || value['rank'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('resource_id' in value) || value['resource_id'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function GlossaryEntryRankUpdateV2FromJSON(json) {
|
|
25
|
+
return GlossaryEntryRankUpdateV2FromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GlossaryEntryRankUpdateV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'rank': json['rank'],
|
|
33
|
+
'resource_id': json['resource_id'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function GlossaryEntryRankUpdateV2ToJSON(json) {
|
|
37
|
+
return GlossaryEntryRankUpdateV2ToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function GlossaryEntryRankUpdateV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'rank': value['rank'],
|
|
45
|
+
'resource_id': value['resource_id'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
* A glossary entry is one term an organisation has coined — an acronym, a
|
|
14
|
+
* service name, or a piece of internal jargon — and the description of what it means.
|
|
15
|
+
*
|
|
16
|
+
* AI features use the glossary, in rank order, so they understand those terms. Lower
|
|
17
|
+
* ranks come first. Deleting an entry archives it, which frees the term so it can be
|
|
18
|
+
* coined again as a new entry.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GlossaryEntryV2
|
|
21
|
+
*/
|
|
22
|
+
export interface GlossaryEntryV2 {
|
|
23
|
+
/**
|
|
24
|
+
* When the entry was created
|
|
25
|
+
*/
|
|
26
|
+
created_at: Date;
|
|
27
|
+
/**
|
|
28
|
+
* What the term means
|
|
29
|
+
*/
|
|
30
|
+
description: string;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for this glossary entry
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
/**
|
|
36
|
+
* The term, e.g. an acronym or service name
|
|
37
|
+
*/
|
|
38
|
+
item: string;
|
|
39
|
+
/**
|
|
40
|
+
* The entry's position in the glossary
|
|
41
|
+
*/
|
|
42
|
+
rank: number;
|
|
43
|
+
/**
|
|
44
|
+
* When the entry was last updated
|
|
45
|
+
*/
|
|
46
|
+
updated_at: Date;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the GlossaryEntryV2 interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfGlossaryEntryV2(value: object): value is GlossaryEntryV2;
|
|
52
|
+
export declare function GlossaryEntryV2FromJSON(json: any): GlossaryEntryV2;
|
|
53
|
+
export declare function GlossaryEntryV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): GlossaryEntryV2;
|
|
54
|
+
export declare function GlossaryEntryV2ToJSON(json: any): GlossaryEntryV2;
|
|
55
|
+
export declare function GlossaryEntryV2ToJSONTyped(value?: GlossaryEntryV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
/**
|
|
16
|
+
* Check if a given object implements the GlossaryEntryV2 interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGlossaryEntryV2(value) {
|
|
19
|
+
if (!('created_at' in value) || value['created_at'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('item' in value) || value['item'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('rank' in value) || value['rank'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('updated_at' in value) || value['updated_at'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function GlossaryEntryV2FromJSON(json) {
|
|
34
|
+
return GlossaryEntryV2FromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function GlossaryEntryV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'created_at': (json['created_at'] == null ? json['created_at'] : parseDateTime(json['created_at'])),
|
|
42
|
+
'description': json['description'],
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'item': json['item'],
|
|
45
|
+
'rank': json['rank'],
|
|
46
|
+
'updated_at': (json['updated_at'] == null ? json['updated_at'] : parseDateTime(json['updated_at'])),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function GlossaryEntryV2ToJSON(json) {
|
|
50
|
+
return GlossaryEntryV2ToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function GlossaryEntryV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'created_at': value['created_at'] == null ? value['created_at'] : serializeDateTime(value['created_at']),
|
|
58
|
+
'description': value['description'],
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'item': value['item'],
|
|
61
|
+
'rank': value['rank'],
|
|
62
|
+
'updated_at': value['updated_at'] == null ? value['updated_at'] : serializeDateTime(value['updated_at']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -57,6 +57,7 @@ export declare const StepProgressSlimV2StatusEnum: {
|
|
|
57
57
|
readonly Pending: "pending";
|
|
58
58
|
readonly Error: "error";
|
|
59
59
|
readonly Suspended: "suspended";
|
|
60
|
+
readonly Skipped: "skipped";
|
|
60
61
|
};
|
|
61
62
|
export type StepProgressSlimV2StatusEnum = typeof StepProgressSlimV2StatusEnum[keyof typeof StepProgressSlimV2StatusEnum];
|
|
62
63
|
/**
|
|
@@ -57,6 +57,7 @@ export declare const StepProgressV2StatusEnum: {
|
|
|
57
57
|
readonly Pending: "pending";
|
|
58
58
|
readonly Error: "error";
|
|
59
59
|
readonly Suspended: "suspended";
|
|
60
|
+
readonly Skipped: "skipped";
|
|
60
61
|
};
|
|
61
62
|
export type StepProgressV2StatusEnum = typeof StepProgressV2StatusEnum[keyof typeof StepProgressV2StatusEnum];
|
|
62
63
|
/**
|
|
@@ -745,6 +745,16 @@ export * from './FollowUpsUpdatePayloadV2.js';
|
|
|
745
745
|
export * from './FollowUpsUpdatePayloadV3.js';
|
|
746
746
|
export * from './FollowUpsUpdateResultV2.js';
|
|
747
747
|
export * from './FollowUpsUpdateResultV3.js';
|
|
748
|
+
export * from './GlossaryEntriesCreatePayloadV2.js';
|
|
749
|
+
export * from './GlossaryEntriesCreateResultV2.js';
|
|
750
|
+
export * from './GlossaryEntriesListResultV2.js';
|
|
751
|
+
export * from './GlossaryEntriesShowResultV2.js';
|
|
752
|
+
export * from './GlossaryEntriesUpdatePayloadV2.js';
|
|
753
|
+
export * from './GlossaryEntriesUpdateRanksPayloadV2.js';
|
|
754
|
+
export * from './GlossaryEntriesUpdateRanksResultV2.js';
|
|
755
|
+
export * from './GlossaryEntriesUpdateResultV2.js';
|
|
756
|
+
export * from './GlossaryEntryRankUpdateV2.js';
|
|
757
|
+
export * from './GlossaryEntryV2.js';
|
|
748
758
|
export * from './GroupingKeyV2.js';
|
|
749
759
|
export * from './GroupingKeyV3.js';
|
|
750
760
|
export * from './GroupingSettingsV3.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -747,6 +747,16 @@ export * from './FollowUpsUpdatePayloadV2.js';
|
|
|
747
747
|
export * from './FollowUpsUpdatePayloadV3.js';
|
|
748
748
|
export * from './FollowUpsUpdateResultV2.js';
|
|
749
749
|
export * from './FollowUpsUpdateResultV3.js';
|
|
750
|
+
export * from './GlossaryEntriesCreatePayloadV2.js';
|
|
751
|
+
export * from './GlossaryEntriesCreateResultV2.js';
|
|
752
|
+
export * from './GlossaryEntriesListResultV2.js';
|
|
753
|
+
export * from './GlossaryEntriesShowResultV2.js';
|
|
754
|
+
export * from './GlossaryEntriesUpdatePayloadV2.js';
|
|
755
|
+
export * from './GlossaryEntriesUpdateRanksPayloadV2.js';
|
|
756
|
+
export * from './GlossaryEntriesUpdateRanksResultV2.js';
|
|
757
|
+
export * from './GlossaryEntriesUpdateResultV2.js';
|
|
758
|
+
export * from './GlossaryEntryRankUpdateV2.js';
|
|
759
|
+
export * from './GlossaryEntryV2.js';
|
|
750
760
|
export * from './GroupingKeyV2.js';
|
|
751
761
|
export * from './GroupingKeyV3.js';
|
|
752
762
|
export * from './GroupingSettingsV3.js';
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.26.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.26.0";
|