@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.
Files changed (61) hide show
  1. package/dist/cjs/apis/GlossaryEntriesV2Api.d.ts +157 -0
  2. package/dist/cjs/apis/GlossaryEntriesV2Api.js +327 -0
  3. package/dist/cjs/apis/IncidentsV2Api.d.ts +2 -2
  4. package/dist/cjs/apis/IncidentsV2Api.js +2 -2
  5. package/dist/cjs/apis/index.d.ts +1 -0
  6. package/dist/cjs/apis/index.js +1 -0
  7. package/dist/cjs/models/GlossaryEntriesCreatePayloadV2.d.ts +38 -0
  8. package/dist/cjs/models/GlossaryEntriesCreatePayloadV2.js +56 -0
  9. package/dist/cjs/models/GlossaryEntriesCreateResultV2.d.ts +31 -0
  10. package/dist/cjs/models/GlossaryEntriesCreateResultV2.js +51 -0
  11. package/dist/cjs/models/GlossaryEntriesListResultV2.d.ts +36 -0
  12. package/dist/cjs/models/GlossaryEntriesListResultV2.js +54 -0
  13. package/dist/cjs/models/GlossaryEntriesShowResultV2.d.ts +31 -0
  14. package/dist/cjs/models/GlossaryEntriesShowResultV2.js +51 -0
  15. package/dist/cjs/models/GlossaryEntriesUpdatePayloadV2.d.ts +34 -0
  16. package/dist/cjs/models/GlossaryEntriesUpdatePayloadV2.js +54 -0
  17. package/dist/cjs/models/GlossaryEntriesUpdateRanksPayloadV2.d.ts +31 -0
  18. package/dist/cjs/models/GlossaryEntriesUpdateRanksPayloadV2.js +51 -0
  19. package/dist/cjs/models/GlossaryEntriesUpdateRanksResultV2.d.ts +31 -0
  20. package/dist/cjs/models/GlossaryEntriesUpdateRanksResultV2.js +51 -0
  21. package/dist/cjs/models/GlossaryEntriesUpdateResultV2.d.ts +31 -0
  22. package/dist/cjs/models/GlossaryEntriesUpdateResultV2.js +51 -0
  23. package/dist/cjs/models/GlossaryEntryRankUpdateV2.d.ts +34 -0
  24. package/dist/cjs/models/GlossaryEntryRankUpdateV2.js +54 -0
  25. package/dist/cjs/models/GlossaryEntryV2.d.ts +55 -0
  26. package/dist/cjs/models/GlossaryEntryV2.js +71 -0
  27. package/dist/cjs/models/index.d.ts +10 -0
  28. package/dist/cjs/models/index.js +10 -0
  29. package/dist/cjs/version.d.ts +1 -1
  30. package/dist/cjs/version.js +1 -1
  31. package/dist/esm/apis/GlossaryEntriesV2Api.d.ts +157 -0
  32. package/dist/esm/apis/GlossaryEntriesV2Api.js +290 -0
  33. package/dist/esm/apis/IncidentsV2Api.d.ts +2 -2
  34. package/dist/esm/apis/IncidentsV2Api.js +2 -2
  35. package/dist/esm/apis/index.d.ts +1 -0
  36. package/dist/esm/apis/index.js +1 -0
  37. package/dist/esm/models/GlossaryEntriesCreatePayloadV2.d.ts +38 -0
  38. package/dist/esm/models/GlossaryEntriesCreatePayloadV2.js +49 -0
  39. package/dist/esm/models/GlossaryEntriesCreateResultV2.d.ts +31 -0
  40. package/dist/esm/models/GlossaryEntriesCreateResultV2.js +44 -0
  41. package/dist/esm/models/GlossaryEntriesListResultV2.d.ts +36 -0
  42. package/dist/esm/models/GlossaryEntriesListResultV2.js +47 -0
  43. package/dist/esm/models/GlossaryEntriesShowResultV2.d.ts +31 -0
  44. package/dist/esm/models/GlossaryEntriesShowResultV2.js +44 -0
  45. package/dist/esm/models/GlossaryEntriesUpdatePayloadV2.d.ts +34 -0
  46. package/dist/esm/models/GlossaryEntriesUpdatePayloadV2.js +47 -0
  47. package/dist/esm/models/GlossaryEntriesUpdateRanksPayloadV2.d.ts +31 -0
  48. package/dist/esm/models/GlossaryEntriesUpdateRanksPayloadV2.js +44 -0
  49. package/dist/esm/models/GlossaryEntriesUpdateRanksResultV2.d.ts +31 -0
  50. package/dist/esm/models/GlossaryEntriesUpdateRanksResultV2.js +44 -0
  51. package/dist/esm/models/GlossaryEntriesUpdateResultV2.d.ts +31 -0
  52. package/dist/esm/models/GlossaryEntriesUpdateResultV2.js +44 -0
  53. package/dist/esm/models/GlossaryEntryRankUpdateV2.d.ts +34 -0
  54. package/dist/esm/models/GlossaryEntryRankUpdateV2.js +47 -0
  55. package/dist/esm/models/GlossaryEntryV2.d.ts +55 -0
  56. package/dist/esm/models/GlossaryEntryV2.js +64 -0
  57. package/dist/esm/models/index.d.ts +10 -0
  58. package/dist/esm/models/index.js +10 -0
  59. package/dist/esm/version.d.ts +1 -1
  60. package/dist/esm/version.js +1 -1
  61. package/package.json +1 -1
@@ -146,12 +146,12 @@ export declare class IncidentsV2Api extends runtime.BaseAPI {
146
146
  */
147
147
  incidentsV2ConnectExternalIssueRequestOpts(requestParameters: IncidentsV2ConnectExternalIssueRequest): Promise<runtime.RequestOpts>;
148
148
  /**
149
- * Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident\'s fields into the issue. This needs the incidents.connect_external_issue scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident\'s full ID, or the numeric part of its reference.
149
+ * Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident\'s fields into the issue. This works whether or not automatic incident ticket creation is turned on. While it is off, no tickets are created for other incidents, and the incident\'s fields are not written into this issue until it is turned on. This needs the incidents.connect_external_issue scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident\'s full ID, or the numeric part of its reference.
150
150
  * ConnectExternalIssue Incidents V2
151
151
  */
152
152
  incidentsV2ConnectExternalIssueRaw(requestParameters: IncidentsV2ConnectExternalIssueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
153
153
  /**
154
- * Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident\'s fields into the issue. This needs the incidents.connect_external_issue scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident\'s full ID, or the numeric part of its reference.
154
+ * Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident\'s fields into the issue. This works whether or not automatic incident ticket creation is turned on. While it is off, no tickets are created for other incidents, and the incident\'s fields are not written into this issue until it is turned on. This needs the incidents.connect_external_issue scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident\'s full ID, or the numeric part of its reference.
155
155
  * ConnectExternalIssue Incidents V2
156
156
  */
157
157
  incidentsV2ConnectExternalIssue(requestParameters: IncidentsV2ConnectExternalIssueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
@@ -56,7 +56,7 @@ export class IncidentsV2Api extends runtime.BaseAPI {
56
56
  };
57
57
  }
58
58
  /**
59
- * Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident\'s fields into the issue. This needs the incidents.connect_external_issue scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident\'s full ID, or the numeric part of its reference.
59
+ * Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident\'s fields into the issue. This works whether or not automatic incident ticket creation is turned on. While it is off, no tickets are created for other incidents, and the incident\'s fields are not written into this issue until it is turned on. This needs the incidents.connect_external_issue scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident\'s full ID, or the numeric part of its reference.
60
60
  * ConnectExternalIssue Incidents V2
61
61
  */
62
62
  async incidentsV2ConnectExternalIssueRaw(requestParameters, initOverrides) {
@@ -65,7 +65,7 @@ export class IncidentsV2Api extends runtime.BaseAPI {
65
65
  return new runtime.VoidApiResponse(response);
66
66
  }
67
67
  /**
68
- * Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident\'s fields into the issue. This needs the incidents.connect_external_issue scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident\'s full ID, or the numeric part of its reference.
68
+ * Connect an existing issue in an issue tracker to an incident, as its external issue. The issue is synced using the given incident ticket template, as if incident.io had created it from that template. The next sync writes the incident\'s fields into the issue. This works whether or not automatic incident ticket creation is turned on. While it is off, no tickets are created for other incidents, and the incident\'s fields are not written into this issue until it is turned on. This needs the incidents.connect_external_issue scope, either across the organisation or from an incident role on this incident. This fails if the incident already has a different external issue (unless replace is true), or if the issue is already linked to another incident or follow-up. The ID supplied can be either the incident\'s full ID, or the numeric part of its reference.
69
69
  * ConnectExternalIssue Incidents V2
70
70
  */
71
71
  async incidentsV2ConnectExternalIssue(requestParameters, initOverrides) {
@@ -23,6 +23,7 @@ export * from './EscalationPathTemplatesV2Api.js';
23
23
  export * from './EscalationsV2Api.js';
24
24
  export * from './FollowUpsV2Api.js';
25
25
  export * from './FollowUpsV3Api.js';
26
+ export * from './GlossaryEntriesV2Api.js';
26
27
  export * from './HeartbeatV2Api.js';
27
28
  export * from './IPAllowlistsV1Api.js';
28
29
  export * from './IncidentActivityLogEntriesV2Api.js';
@@ -25,6 +25,7 @@ export * from './EscalationPathTemplatesV2Api.js';
25
25
  export * from './EscalationsV2Api.js';
26
26
  export * from './FollowUpsV2Api.js';
27
27
  export * from './FollowUpsV3Api.js';
28
+ export * from './GlossaryEntriesV2Api.js';
28
29
  export * from './HeartbeatV2Api.js';
29
30
  export * from './IPAllowlistsV1Api.js';
30
31
  export * from './IncidentActivityLogEntriesV2Api.js';
@@ -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;