@incident-io/sdk 2.24.0 → 2.25.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/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/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,38 @@
|
|
|
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 GlossaryEntriesCreatePayloadV2
|
|
16
|
+
*/
|
|
17
|
+
export interface GlossaryEntriesCreatePayloadV2 {
|
|
18
|
+
/**
|
|
19
|
+
* ID of a live glossary entry. The new entry is inserted immediately after it. Omit to append the entry to the end.
|
|
20
|
+
*/
|
|
21
|
+
after?: string;
|
|
22
|
+
/**
|
|
23
|
+
* What the term means
|
|
24
|
+
*/
|
|
25
|
+
description: string;
|
|
26
|
+
/**
|
|
27
|
+
* The term, for example an acronym or service name. Unique among live entries, ignoring case.
|
|
28
|
+
*/
|
|
29
|
+
item: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GlossaryEntriesCreatePayloadV2 interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGlossaryEntriesCreatePayloadV2(value: object): value is GlossaryEntriesCreatePayloadV2;
|
|
35
|
+
export declare function GlossaryEntriesCreatePayloadV2FromJSON(json: any): GlossaryEntriesCreatePayloadV2;
|
|
36
|
+
export declare function GlossaryEntriesCreatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): GlossaryEntriesCreatePayloadV2;
|
|
37
|
+
export declare function GlossaryEntriesCreatePayloadV2ToJSON(json: any): GlossaryEntriesCreatePayloadV2;
|
|
38
|
+
export declare function GlossaryEntriesCreatePayloadV2ToJSONTyped(value?: GlossaryEntriesCreatePayloadV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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 GlossaryEntriesCreatePayloadV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGlossaryEntriesCreatePayloadV2(value) {
|
|
18
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('item' in value) || value['item'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function GlossaryEntriesCreatePayloadV2FromJSON(json) {
|
|
25
|
+
return GlossaryEntriesCreatePayloadV2FromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GlossaryEntriesCreatePayloadV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'after': json['after'] == null ? undefined : json['after'],
|
|
33
|
+
'description': json['description'],
|
|
34
|
+
'item': json['item'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function GlossaryEntriesCreatePayloadV2ToJSON(json) {
|
|
38
|
+
return GlossaryEntriesCreatePayloadV2ToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function GlossaryEntriesCreatePayloadV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'after': value['after'],
|
|
46
|
+
'description': value['description'],
|
|
47
|
+
'item': value['item'],
|
|
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 { GlossaryEntryV2 } from './GlossaryEntryV2.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GlossaryEntriesCreateResultV2
|
|
17
|
+
*/
|
|
18
|
+
export interface GlossaryEntriesCreateResultV2 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
glossary_entry: GlossaryEntryV2;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GlossaryEntriesCreateResultV2 interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfGlossaryEntriesCreateResultV2(value: object): value is GlossaryEntriesCreateResultV2;
|
|
28
|
+
export declare function GlossaryEntriesCreateResultV2FromJSON(json: any): GlossaryEntriesCreateResultV2;
|
|
29
|
+
export declare function GlossaryEntriesCreateResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): GlossaryEntriesCreateResultV2;
|
|
30
|
+
export declare function GlossaryEntriesCreateResultV2ToJSON(json: any): GlossaryEntriesCreateResultV2;
|
|
31
|
+
export declare function GlossaryEntriesCreateResultV2ToJSONTyped(value?: GlossaryEntriesCreateResultV2 | 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 { GlossaryEntryV2FromJSON, GlossaryEntryV2ToJSON, } from './GlossaryEntryV2.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GlossaryEntriesCreateResultV2 interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGlossaryEntriesCreateResultV2(value) {
|
|
19
|
+
if (!('glossary_entry' in value) || value['glossary_entry'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function GlossaryEntriesCreateResultV2FromJSON(json) {
|
|
24
|
+
return GlossaryEntriesCreateResultV2FromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function GlossaryEntriesCreateResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'glossary_entry': GlossaryEntryV2FromJSON(json['glossary_entry']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function GlossaryEntriesCreateResultV2ToJSON(json) {
|
|
35
|
+
return GlossaryEntriesCreateResultV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function GlossaryEntriesCreateResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'glossary_entry': GlossaryEntryV2ToJSON(value['glossary_entry']),
|
|
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 { PaginationMetaResultV2 } from './PaginationMetaResultV2.js';
|
|
13
|
+
import type { GlossaryEntryV2 } from './GlossaryEntryV2.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GlossaryEntriesListResultV2
|
|
18
|
+
*/
|
|
19
|
+
export interface GlossaryEntriesListResultV2 {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
glossary_entries: Array<GlossaryEntryV2>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
pagination_meta?: PaginationMetaResultV2;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the GlossaryEntriesListResultV2 interface.
|
|
31
|
+
*/
|
|
32
|
+
export declare function instanceOfGlossaryEntriesListResultV2(value: object): value is GlossaryEntriesListResultV2;
|
|
33
|
+
export declare function GlossaryEntriesListResultV2FromJSON(json: any): GlossaryEntriesListResultV2;
|
|
34
|
+
export declare function GlossaryEntriesListResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): GlossaryEntriesListResultV2;
|
|
35
|
+
export declare function GlossaryEntriesListResultV2ToJSON(json: any): GlossaryEntriesListResultV2;
|
|
36
|
+
export declare function GlossaryEntriesListResultV2ToJSONTyped(value?: GlossaryEntriesListResultV2 | 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 { PaginationMetaResultV2FromJSON, PaginationMetaResultV2ToJSON, } from './PaginationMetaResultV2.js';
|
|
15
|
+
import { GlossaryEntryV2FromJSON, GlossaryEntryV2ToJSON, } from './GlossaryEntryV2.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the GlossaryEntriesListResultV2 interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfGlossaryEntriesListResultV2(value) {
|
|
20
|
+
if (!('glossary_entries' in value) || value['glossary_entries'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function GlossaryEntriesListResultV2FromJSON(json) {
|
|
25
|
+
return GlossaryEntriesListResultV2FromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GlossaryEntriesListResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'glossary_entries': (json['glossary_entries'].map(GlossaryEntryV2FromJSON)),
|
|
33
|
+
'pagination_meta': json['pagination_meta'] == null ? undefined : PaginationMetaResultV2FromJSON(json['pagination_meta']),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function GlossaryEntriesListResultV2ToJSON(json) {
|
|
37
|
+
return GlossaryEntriesListResultV2ToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function GlossaryEntriesListResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'glossary_entries': (value['glossary_entries'].map(GlossaryEntryV2ToJSON)),
|
|
45
|
+
'pagination_meta': PaginationMetaResultV2ToJSON(value['pagination_meta']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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 { GlossaryEntryV2 } from './GlossaryEntryV2.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GlossaryEntriesShowResultV2
|
|
17
|
+
*/
|
|
18
|
+
export interface GlossaryEntriesShowResultV2 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
glossary_entry: GlossaryEntryV2;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GlossaryEntriesShowResultV2 interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfGlossaryEntriesShowResultV2(value: object): value is GlossaryEntriesShowResultV2;
|
|
28
|
+
export declare function GlossaryEntriesShowResultV2FromJSON(json: any): GlossaryEntriesShowResultV2;
|
|
29
|
+
export declare function GlossaryEntriesShowResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): GlossaryEntriesShowResultV2;
|
|
30
|
+
export declare function GlossaryEntriesShowResultV2ToJSON(json: any): GlossaryEntriesShowResultV2;
|
|
31
|
+
export declare function GlossaryEntriesShowResultV2ToJSONTyped(value?: GlossaryEntriesShowResultV2 | 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 { GlossaryEntryV2FromJSON, GlossaryEntryV2ToJSON, } from './GlossaryEntryV2.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GlossaryEntriesShowResultV2 interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGlossaryEntriesShowResultV2(value) {
|
|
19
|
+
if (!('glossary_entry' in value) || value['glossary_entry'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function GlossaryEntriesShowResultV2FromJSON(json) {
|
|
24
|
+
return GlossaryEntriesShowResultV2FromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function GlossaryEntriesShowResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'glossary_entry': GlossaryEntryV2FromJSON(json['glossary_entry']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function GlossaryEntriesShowResultV2ToJSON(json) {
|
|
35
|
+
return GlossaryEntriesShowResultV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function GlossaryEntriesShowResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'glossary_entry': GlossaryEntryV2ToJSON(value['glossary_entry']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -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 GlossaryEntriesUpdatePayloadV2
|
|
16
|
+
*/
|
|
17
|
+
export interface GlossaryEntriesUpdatePayloadV2 {
|
|
18
|
+
/**
|
|
19
|
+
* What the term means
|
|
20
|
+
*/
|
|
21
|
+
description: string;
|
|
22
|
+
/**
|
|
23
|
+
* The term, e.g. an acronym or service name
|
|
24
|
+
*/
|
|
25
|
+
item: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the GlossaryEntriesUpdatePayloadV2 interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfGlossaryEntriesUpdatePayloadV2(value: object): value is GlossaryEntriesUpdatePayloadV2;
|
|
31
|
+
export declare function GlossaryEntriesUpdatePayloadV2FromJSON(json: any): GlossaryEntriesUpdatePayloadV2;
|
|
32
|
+
export declare function GlossaryEntriesUpdatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): GlossaryEntriesUpdatePayloadV2;
|
|
33
|
+
export declare function GlossaryEntriesUpdatePayloadV2ToJSON(json: any): GlossaryEntriesUpdatePayloadV2;
|
|
34
|
+
export declare function GlossaryEntriesUpdatePayloadV2ToJSONTyped(value?: GlossaryEntriesUpdatePayloadV2 | 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 GlossaryEntriesUpdatePayloadV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGlossaryEntriesUpdatePayloadV2(value) {
|
|
18
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('item' in value) || value['item'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function GlossaryEntriesUpdatePayloadV2FromJSON(json) {
|
|
25
|
+
return GlossaryEntriesUpdatePayloadV2FromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GlossaryEntriesUpdatePayloadV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'description': json['description'],
|
|
33
|
+
'item': json['item'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function GlossaryEntriesUpdatePayloadV2ToJSON(json) {
|
|
37
|
+
return GlossaryEntriesUpdatePayloadV2ToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function GlossaryEntriesUpdatePayloadV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'description': value['description'],
|
|
45
|
+
'item': value['item'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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 { GlossaryEntryRankUpdateV2 } from './GlossaryEntryRankUpdateV2.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GlossaryEntriesUpdateRanksPayloadV2
|
|
17
|
+
*/
|
|
18
|
+
export interface GlossaryEntriesUpdateRanksPayloadV2 {
|
|
19
|
+
/**
|
|
20
|
+
* The new rank of every live glossary entry
|
|
21
|
+
*/
|
|
22
|
+
rank_updates: Array<GlossaryEntryRankUpdateV2>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GlossaryEntriesUpdateRanksPayloadV2 interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfGlossaryEntriesUpdateRanksPayloadV2(value: object): value is GlossaryEntriesUpdateRanksPayloadV2;
|
|
28
|
+
export declare function GlossaryEntriesUpdateRanksPayloadV2FromJSON(json: any): GlossaryEntriesUpdateRanksPayloadV2;
|
|
29
|
+
export declare function GlossaryEntriesUpdateRanksPayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): GlossaryEntriesUpdateRanksPayloadV2;
|
|
30
|
+
export declare function GlossaryEntriesUpdateRanksPayloadV2ToJSON(json: any): GlossaryEntriesUpdateRanksPayloadV2;
|
|
31
|
+
export declare function GlossaryEntriesUpdateRanksPayloadV2ToJSONTyped(value?: GlossaryEntriesUpdateRanksPayloadV2 | 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 { GlossaryEntryRankUpdateV2FromJSON, GlossaryEntryRankUpdateV2ToJSON, } from './GlossaryEntryRankUpdateV2.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GlossaryEntriesUpdateRanksPayloadV2 interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGlossaryEntriesUpdateRanksPayloadV2(value) {
|
|
19
|
+
if (!('rank_updates' in value) || value['rank_updates'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function GlossaryEntriesUpdateRanksPayloadV2FromJSON(json) {
|
|
24
|
+
return GlossaryEntriesUpdateRanksPayloadV2FromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function GlossaryEntriesUpdateRanksPayloadV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'rank_updates': (json['rank_updates'].map(GlossaryEntryRankUpdateV2FromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function GlossaryEntriesUpdateRanksPayloadV2ToJSON(json) {
|
|
35
|
+
return GlossaryEntriesUpdateRanksPayloadV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function GlossaryEntriesUpdateRanksPayloadV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'rank_updates': (value['rank_updates'].map(GlossaryEntryRankUpdateV2ToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -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 { GlossaryEntryV2 } from './GlossaryEntryV2.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GlossaryEntriesUpdateRanksResultV2
|
|
17
|
+
*/
|
|
18
|
+
export interface GlossaryEntriesUpdateRanksResultV2 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
glossary_entries: Array<GlossaryEntryV2>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GlossaryEntriesUpdateRanksResultV2 interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfGlossaryEntriesUpdateRanksResultV2(value: object): value is GlossaryEntriesUpdateRanksResultV2;
|
|
28
|
+
export declare function GlossaryEntriesUpdateRanksResultV2FromJSON(json: any): GlossaryEntriesUpdateRanksResultV2;
|
|
29
|
+
export declare function GlossaryEntriesUpdateRanksResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): GlossaryEntriesUpdateRanksResultV2;
|
|
30
|
+
export declare function GlossaryEntriesUpdateRanksResultV2ToJSON(json: any): GlossaryEntriesUpdateRanksResultV2;
|
|
31
|
+
export declare function GlossaryEntriesUpdateRanksResultV2ToJSONTyped(value?: GlossaryEntriesUpdateRanksResultV2 | 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 { GlossaryEntryV2FromJSON, GlossaryEntryV2ToJSON, } from './GlossaryEntryV2.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GlossaryEntriesUpdateRanksResultV2 interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGlossaryEntriesUpdateRanksResultV2(value) {
|
|
19
|
+
if (!('glossary_entries' in value) || value['glossary_entries'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function GlossaryEntriesUpdateRanksResultV2FromJSON(json) {
|
|
24
|
+
return GlossaryEntriesUpdateRanksResultV2FromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function GlossaryEntriesUpdateRanksResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'glossary_entries': (json['glossary_entries'].map(GlossaryEntryV2FromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function GlossaryEntriesUpdateRanksResultV2ToJSON(json) {
|
|
35
|
+
return GlossaryEntriesUpdateRanksResultV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function GlossaryEntriesUpdateRanksResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'glossary_entries': (value['glossary_entries'].map(GlossaryEntryV2ToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -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 { GlossaryEntryV2 } from './GlossaryEntryV2.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GlossaryEntriesUpdateResultV2
|
|
17
|
+
*/
|
|
18
|
+
export interface GlossaryEntriesUpdateResultV2 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
glossary_entry: GlossaryEntryV2;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GlossaryEntriesUpdateResultV2 interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfGlossaryEntriesUpdateResultV2(value: object): value is GlossaryEntriesUpdateResultV2;
|
|
28
|
+
export declare function GlossaryEntriesUpdateResultV2FromJSON(json: any): GlossaryEntriesUpdateResultV2;
|
|
29
|
+
export declare function GlossaryEntriesUpdateResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): GlossaryEntriesUpdateResultV2;
|
|
30
|
+
export declare function GlossaryEntriesUpdateResultV2ToJSON(json: any): GlossaryEntriesUpdateResultV2;
|
|
31
|
+
export declare function GlossaryEntriesUpdateResultV2ToJSONTyped(value?: GlossaryEntriesUpdateResultV2 | 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 { GlossaryEntryV2FromJSON, GlossaryEntryV2ToJSON, } from './GlossaryEntryV2.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GlossaryEntriesUpdateResultV2 interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGlossaryEntriesUpdateResultV2(value) {
|
|
19
|
+
if (!('glossary_entry' in value) || value['glossary_entry'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function GlossaryEntriesUpdateResultV2FromJSON(json) {
|
|
24
|
+
return GlossaryEntriesUpdateResultV2FromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function GlossaryEntriesUpdateResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'glossary_entry': GlossaryEntryV2FromJSON(json['glossary_entry']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function GlossaryEntriesUpdateResultV2ToJSON(json) {
|
|
35
|
+
return GlossaryEntriesUpdateResultV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function GlossaryEntriesUpdateResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'glossary_entry': GlossaryEntryV2ToJSON(value['glossary_entry']),
|
|
43
|
+
};
|
|
44
|
+
}
|