@incident-io/sdk 2.23.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/IncidentsV2Api.d.ts +2 -2
- package/dist/cjs/apis/IncidentsV2Api.js +2 -2
- 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/IncidentsV2Api.d.ts +2 -2
- package/dist/esm/apis/IncidentsV2Api.js +2 -2
- 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,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,51 @@
|
|
|
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.instanceOfGlossaryEntriesCreateResultV2 = instanceOfGlossaryEntriesCreateResultV2;
|
|
17
|
+
exports.GlossaryEntriesCreateResultV2FromJSON = GlossaryEntriesCreateResultV2FromJSON;
|
|
18
|
+
exports.GlossaryEntriesCreateResultV2FromJSONTyped = GlossaryEntriesCreateResultV2FromJSONTyped;
|
|
19
|
+
exports.GlossaryEntriesCreateResultV2ToJSON = GlossaryEntriesCreateResultV2ToJSON;
|
|
20
|
+
exports.GlossaryEntriesCreateResultV2ToJSONTyped = GlossaryEntriesCreateResultV2ToJSONTyped;
|
|
21
|
+
const GlossaryEntryV2_js_1 = require("./GlossaryEntryV2.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GlossaryEntriesCreateResultV2 interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGlossaryEntriesCreateResultV2(value) {
|
|
26
|
+
if (!('glossary_entry' in value) || value['glossary_entry'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function GlossaryEntriesCreateResultV2FromJSON(json) {
|
|
31
|
+
return GlossaryEntriesCreateResultV2FromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function GlossaryEntriesCreateResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'glossary_entry': (0, GlossaryEntryV2_js_1.GlossaryEntryV2FromJSON)(json['glossary_entry']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function GlossaryEntriesCreateResultV2ToJSON(json) {
|
|
42
|
+
return GlossaryEntriesCreateResultV2ToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GlossaryEntriesCreateResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'glossary_entry': (0, GlossaryEntryV2_js_1.GlossaryEntryV2ToJSON)(value['glossary_entry']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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,54 @@
|
|
|
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.instanceOfGlossaryEntriesListResultV2 = instanceOfGlossaryEntriesListResultV2;
|
|
17
|
+
exports.GlossaryEntriesListResultV2FromJSON = GlossaryEntriesListResultV2FromJSON;
|
|
18
|
+
exports.GlossaryEntriesListResultV2FromJSONTyped = GlossaryEntriesListResultV2FromJSONTyped;
|
|
19
|
+
exports.GlossaryEntriesListResultV2ToJSON = GlossaryEntriesListResultV2ToJSON;
|
|
20
|
+
exports.GlossaryEntriesListResultV2ToJSONTyped = GlossaryEntriesListResultV2ToJSONTyped;
|
|
21
|
+
const PaginationMetaResultV2_js_1 = require("./PaginationMetaResultV2.js");
|
|
22
|
+
const GlossaryEntryV2_js_1 = require("./GlossaryEntryV2.js");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the GlossaryEntriesListResultV2 interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfGlossaryEntriesListResultV2(value) {
|
|
27
|
+
if (!('glossary_entries' in value) || value['glossary_entries'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GlossaryEntriesListResultV2FromJSON(json) {
|
|
32
|
+
return GlossaryEntriesListResultV2FromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GlossaryEntriesListResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'glossary_entries': (json['glossary_entries'].map(GlossaryEntryV2_js_1.GlossaryEntryV2FromJSON)),
|
|
40
|
+
'pagination_meta': json['pagination_meta'] == null ? undefined : (0, PaginationMetaResultV2_js_1.PaginationMetaResultV2FromJSON)(json['pagination_meta']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GlossaryEntriesListResultV2ToJSON(json) {
|
|
44
|
+
return GlossaryEntriesListResultV2ToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GlossaryEntriesListResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'glossary_entries': (value['glossary_entries'].map(GlossaryEntryV2_js_1.GlossaryEntryV2ToJSON)),
|
|
52
|
+
'pagination_meta': (0, PaginationMetaResultV2_js_1.PaginationMetaResultV2ToJSON)(value['pagination_meta']),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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,51 @@
|
|
|
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.instanceOfGlossaryEntriesShowResultV2 = instanceOfGlossaryEntriesShowResultV2;
|
|
17
|
+
exports.GlossaryEntriesShowResultV2FromJSON = GlossaryEntriesShowResultV2FromJSON;
|
|
18
|
+
exports.GlossaryEntriesShowResultV2FromJSONTyped = GlossaryEntriesShowResultV2FromJSONTyped;
|
|
19
|
+
exports.GlossaryEntriesShowResultV2ToJSON = GlossaryEntriesShowResultV2ToJSON;
|
|
20
|
+
exports.GlossaryEntriesShowResultV2ToJSONTyped = GlossaryEntriesShowResultV2ToJSONTyped;
|
|
21
|
+
const GlossaryEntryV2_js_1 = require("./GlossaryEntryV2.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GlossaryEntriesShowResultV2 interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGlossaryEntriesShowResultV2(value) {
|
|
26
|
+
if (!('glossary_entry' in value) || value['glossary_entry'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function GlossaryEntriesShowResultV2FromJSON(json) {
|
|
31
|
+
return GlossaryEntriesShowResultV2FromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function GlossaryEntriesShowResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'glossary_entry': (0, GlossaryEntryV2_js_1.GlossaryEntryV2FromJSON)(json['glossary_entry']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function GlossaryEntriesShowResultV2ToJSON(json) {
|
|
42
|
+
return GlossaryEntriesShowResultV2ToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GlossaryEntriesShowResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'glossary_entry': (0, GlossaryEntryV2_js_1.GlossaryEntryV2ToJSON)(value['glossary_entry']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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,54 @@
|
|
|
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.instanceOfGlossaryEntriesUpdatePayloadV2 = instanceOfGlossaryEntriesUpdatePayloadV2;
|
|
17
|
+
exports.GlossaryEntriesUpdatePayloadV2FromJSON = GlossaryEntriesUpdatePayloadV2FromJSON;
|
|
18
|
+
exports.GlossaryEntriesUpdatePayloadV2FromJSONTyped = GlossaryEntriesUpdatePayloadV2FromJSONTyped;
|
|
19
|
+
exports.GlossaryEntriesUpdatePayloadV2ToJSON = GlossaryEntriesUpdatePayloadV2ToJSON;
|
|
20
|
+
exports.GlossaryEntriesUpdatePayloadV2ToJSONTyped = GlossaryEntriesUpdatePayloadV2ToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GlossaryEntriesUpdatePayloadV2 interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGlossaryEntriesUpdatePayloadV2(value) {
|
|
25
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('item' in value) || value['item'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GlossaryEntriesUpdatePayloadV2FromJSON(json) {
|
|
32
|
+
return GlossaryEntriesUpdatePayloadV2FromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GlossaryEntriesUpdatePayloadV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'description': json['description'],
|
|
40
|
+
'item': json['item'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GlossaryEntriesUpdatePayloadV2ToJSON(json) {
|
|
44
|
+
return GlossaryEntriesUpdatePayloadV2ToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GlossaryEntriesUpdatePayloadV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'description': value['description'],
|
|
52
|
+
'item': value['item'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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,51 @@
|
|
|
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.instanceOfGlossaryEntriesUpdateRanksPayloadV2 = instanceOfGlossaryEntriesUpdateRanksPayloadV2;
|
|
17
|
+
exports.GlossaryEntriesUpdateRanksPayloadV2FromJSON = GlossaryEntriesUpdateRanksPayloadV2FromJSON;
|
|
18
|
+
exports.GlossaryEntriesUpdateRanksPayloadV2FromJSONTyped = GlossaryEntriesUpdateRanksPayloadV2FromJSONTyped;
|
|
19
|
+
exports.GlossaryEntriesUpdateRanksPayloadV2ToJSON = GlossaryEntriesUpdateRanksPayloadV2ToJSON;
|
|
20
|
+
exports.GlossaryEntriesUpdateRanksPayloadV2ToJSONTyped = GlossaryEntriesUpdateRanksPayloadV2ToJSONTyped;
|
|
21
|
+
const GlossaryEntryRankUpdateV2_js_1 = require("./GlossaryEntryRankUpdateV2.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GlossaryEntriesUpdateRanksPayloadV2 interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGlossaryEntriesUpdateRanksPayloadV2(value) {
|
|
26
|
+
if (!('rank_updates' in value) || value['rank_updates'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function GlossaryEntriesUpdateRanksPayloadV2FromJSON(json) {
|
|
31
|
+
return GlossaryEntriesUpdateRanksPayloadV2FromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function GlossaryEntriesUpdateRanksPayloadV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'rank_updates': (json['rank_updates'].map(GlossaryEntryRankUpdateV2_js_1.GlossaryEntryRankUpdateV2FromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function GlossaryEntriesUpdateRanksPayloadV2ToJSON(json) {
|
|
42
|
+
return GlossaryEntriesUpdateRanksPayloadV2ToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GlossaryEntriesUpdateRanksPayloadV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'rank_updates': (value['rank_updates'].map(GlossaryEntryRankUpdateV2_js_1.GlossaryEntryRankUpdateV2ToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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,51 @@
|
|
|
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.instanceOfGlossaryEntriesUpdateRanksResultV2 = instanceOfGlossaryEntriesUpdateRanksResultV2;
|
|
17
|
+
exports.GlossaryEntriesUpdateRanksResultV2FromJSON = GlossaryEntriesUpdateRanksResultV2FromJSON;
|
|
18
|
+
exports.GlossaryEntriesUpdateRanksResultV2FromJSONTyped = GlossaryEntriesUpdateRanksResultV2FromJSONTyped;
|
|
19
|
+
exports.GlossaryEntriesUpdateRanksResultV2ToJSON = GlossaryEntriesUpdateRanksResultV2ToJSON;
|
|
20
|
+
exports.GlossaryEntriesUpdateRanksResultV2ToJSONTyped = GlossaryEntriesUpdateRanksResultV2ToJSONTyped;
|
|
21
|
+
const GlossaryEntryV2_js_1 = require("./GlossaryEntryV2.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GlossaryEntriesUpdateRanksResultV2 interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGlossaryEntriesUpdateRanksResultV2(value) {
|
|
26
|
+
if (!('glossary_entries' in value) || value['glossary_entries'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function GlossaryEntriesUpdateRanksResultV2FromJSON(json) {
|
|
31
|
+
return GlossaryEntriesUpdateRanksResultV2FromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function GlossaryEntriesUpdateRanksResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'glossary_entries': (json['glossary_entries'].map(GlossaryEntryV2_js_1.GlossaryEntryV2FromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function GlossaryEntriesUpdateRanksResultV2ToJSON(json) {
|
|
42
|
+
return GlossaryEntriesUpdateRanksResultV2ToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GlossaryEntriesUpdateRanksResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'glossary_entries': (value['glossary_entries'].map(GlossaryEntryV2_js_1.GlossaryEntryV2ToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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,51 @@
|
|
|
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.instanceOfGlossaryEntriesUpdateResultV2 = instanceOfGlossaryEntriesUpdateResultV2;
|
|
17
|
+
exports.GlossaryEntriesUpdateResultV2FromJSON = GlossaryEntriesUpdateResultV2FromJSON;
|
|
18
|
+
exports.GlossaryEntriesUpdateResultV2FromJSONTyped = GlossaryEntriesUpdateResultV2FromJSONTyped;
|
|
19
|
+
exports.GlossaryEntriesUpdateResultV2ToJSON = GlossaryEntriesUpdateResultV2ToJSON;
|
|
20
|
+
exports.GlossaryEntriesUpdateResultV2ToJSONTyped = GlossaryEntriesUpdateResultV2ToJSONTyped;
|
|
21
|
+
const GlossaryEntryV2_js_1 = require("./GlossaryEntryV2.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GlossaryEntriesUpdateResultV2 interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGlossaryEntriesUpdateResultV2(value) {
|
|
26
|
+
if (!('glossary_entry' in value) || value['glossary_entry'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function GlossaryEntriesUpdateResultV2FromJSON(json) {
|
|
31
|
+
return GlossaryEntriesUpdateResultV2FromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function GlossaryEntriesUpdateResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'glossary_entry': (0, GlossaryEntryV2_js_1.GlossaryEntryV2FromJSON)(json['glossary_entry']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function GlossaryEntriesUpdateResultV2ToJSON(json) {
|
|
42
|
+
return GlossaryEntriesUpdateResultV2ToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GlossaryEntriesUpdateResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'glossary_entry': (0, GlossaryEntryV2_js_1.GlossaryEntryV2ToJSON)(value['glossary_entry']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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;
|