@incident-io/sdk 2.8.0 → 2.10.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/IncidentFormsV3Api.d.ts +131 -0
- package/dist/cjs/apis/IncidentFormsV3Api.js +279 -0
- package/dist/cjs/apis/StatusPageComponentsV2Api.d.ts +129 -0
- package/dist/cjs/apis/StatusPageComponentsV2Api.js +273 -0
- package/dist/cjs/apis/index.d.ts +2 -0
- package/dist/cjs/apis/index.js +2 -0
- package/dist/cjs/models/IncidentFormLifecycleElementConfigV3.d.ts +30 -0
- package/dist/cjs/models/IncidentFormLifecycleElementConfigV3.js +48 -0
- package/dist/cjs/models/IncidentFormLifecycleElementPayloadV3.d.ts +115 -0
- package/dist/cjs/models/IncidentFormLifecycleElementPayloadV3.js +110 -0
- package/dist/cjs/models/IncidentFormLifecycleElementV3.d.ts +115 -0
- package/dist/cjs/models/IncidentFormLifecycleElementV3.js +110 -0
- package/dist/cjs/models/IncidentFormV3.d.ts +68 -0
- package/dist/cjs/models/IncidentFormV3.js +85 -0
- package/dist/cjs/models/IncidentFormsCreatePayloadV3.d.ts +56 -0
- package/dist/cjs/models/IncidentFormsCreatePayloadV3.js +72 -0
- package/dist/cjs/models/IncidentFormsCreateResultV3.d.ts +31 -0
- package/dist/cjs/models/IncidentFormsCreateResultV3.js +51 -0
- package/dist/cjs/models/IncidentFormsListResultV3.d.ts +36 -0
- package/dist/cjs/models/IncidentFormsListResultV3.js +56 -0
- package/dist/cjs/models/IncidentFormsShowResultV3.d.ts +31 -0
- package/dist/cjs/models/IncidentFormsShowResultV3.js +51 -0
- package/dist/cjs/models/IncidentFormsUpdatePayloadV3.d.ts +56 -0
- package/dist/cjs/models/IncidentFormsUpdatePayloadV3.js +72 -0
- package/dist/cjs/models/IncidentFormsUpdateResultV3.d.ts +31 -0
- package/dist/cjs/models/IncidentFormsUpdateResultV3.js +51 -0
- package/dist/cjs/models/StatusPageComponentV2.d.ts +46 -0
- package/dist/cjs/models/StatusPageComponentV2.js +61 -0
- package/dist/cjs/models/StatusPageComponentsCreatePayloadV2.d.ts +34 -0
- package/dist/cjs/models/StatusPageComponentsCreatePayloadV2.js +52 -0
- package/dist/cjs/models/StatusPageComponentsCreateResultV2.d.ts +31 -0
- package/dist/cjs/models/StatusPageComponentsCreateResultV2.js +51 -0
- package/dist/cjs/models/StatusPageComponentsListResultV2.d.ts +31 -0
- package/dist/cjs/models/StatusPageComponentsListResultV2.js +51 -0
- package/dist/cjs/models/StatusPageComponentsShowResultV2.d.ts +31 -0
- package/dist/cjs/models/StatusPageComponentsShowResultV2.js +51 -0
- package/dist/cjs/models/StatusPageComponentsUpdatePayloadV2.d.ts +34 -0
- package/dist/cjs/models/StatusPageComponentsUpdatePayloadV2.js +52 -0
- package/dist/cjs/models/StatusPageComponentsUpdateResultV2.d.ts +31 -0
- package/dist/cjs/models/StatusPageComponentsUpdateResultV2.js +51 -0
- package/dist/cjs/models/index.d.ts +17 -0
- package/dist/cjs/models/index.js +17 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/apis/IncidentFormsV3Api.d.ts +131 -0
- package/dist/esm/apis/IncidentFormsV3Api.js +242 -0
- package/dist/esm/apis/StatusPageComponentsV2Api.d.ts +129 -0
- package/dist/esm/apis/StatusPageComponentsV2Api.js +236 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/IncidentFormLifecycleElementConfigV3.d.ts +30 -0
- package/dist/esm/models/IncidentFormLifecycleElementConfigV3.js +41 -0
- package/dist/esm/models/IncidentFormLifecycleElementPayloadV3.d.ts +115 -0
- package/dist/esm/models/IncidentFormLifecycleElementPayloadV3.js +102 -0
- package/dist/esm/models/IncidentFormLifecycleElementV3.d.ts +115 -0
- package/dist/esm/models/IncidentFormLifecycleElementV3.js +102 -0
- package/dist/esm/models/IncidentFormV3.d.ts +68 -0
- package/dist/esm/models/IncidentFormV3.js +77 -0
- package/dist/esm/models/IncidentFormsCreatePayloadV3.d.ts +56 -0
- package/dist/esm/models/IncidentFormsCreatePayloadV3.js +64 -0
- package/dist/esm/models/IncidentFormsCreateResultV3.d.ts +31 -0
- package/dist/esm/models/IncidentFormsCreateResultV3.js +44 -0
- package/dist/esm/models/IncidentFormsListResultV3.d.ts +36 -0
- package/dist/esm/models/IncidentFormsListResultV3.js +49 -0
- package/dist/esm/models/IncidentFormsShowResultV3.d.ts +31 -0
- package/dist/esm/models/IncidentFormsShowResultV3.js +44 -0
- package/dist/esm/models/IncidentFormsUpdatePayloadV3.d.ts +56 -0
- package/dist/esm/models/IncidentFormsUpdatePayloadV3.js +64 -0
- package/dist/esm/models/IncidentFormsUpdateResultV3.d.ts +31 -0
- package/dist/esm/models/IncidentFormsUpdateResultV3.js +44 -0
- package/dist/esm/models/StatusPageComponentV2.d.ts +46 -0
- package/dist/esm/models/StatusPageComponentV2.js +54 -0
- package/dist/esm/models/StatusPageComponentsCreatePayloadV2.d.ts +34 -0
- package/dist/esm/models/StatusPageComponentsCreatePayloadV2.js +45 -0
- package/dist/esm/models/StatusPageComponentsCreateResultV2.d.ts +31 -0
- package/dist/esm/models/StatusPageComponentsCreateResultV2.js +44 -0
- package/dist/esm/models/StatusPageComponentsListResultV2.d.ts +31 -0
- package/dist/esm/models/StatusPageComponentsListResultV2.js +44 -0
- package/dist/esm/models/StatusPageComponentsShowResultV2.d.ts +31 -0
- package/dist/esm/models/StatusPageComponentsShowResultV2.js +44 -0
- package/dist/esm/models/StatusPageComponentsUpdatePayloadV2.d.ts +34 -0
- package/dist/esm/models/StatusPageComponentsUpdatePayloadV2.js +45 -0
- package/dist/esm/models/StatusPageComponentsUpdateResultV2.d.ts +31 -0
- package/dist/esm/models/StatusPageComponentsUpdateResultV2.js +44 -0
- package/dist/esm/models/index.d.ts +17 -0
- package/dist/esm/models/index.js +17 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* incident.io
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import * as runtime from '../runtime.js';
|
|
15
|
+
import { IncidentFormsCreatePayloadV3ToJSON, } from '../models/IncidentFormsCreatePayloadV3.js';
|
|
16
|
+
import { IncidentFormsCreateResultV3FromJSON, } from '../models/IncidentFormsCreateResultV3.js';
|
|
17
|
+
import { IncidentFormsListResultV3FromJSON, } from '../models/IncidentFormsListResultV3.js';
|
|
18
|
+
import { IncidentFormsShowResultV3FromJSON, } from '../models/IncidentFormsShowResultV3.js';
|
|
19
|
+
import { IncidentFormsUpdatePayloadV3ToJSON, } from '../models/IncidentFormsUpdatePayloadV3.js';
|
|
20
|
+
import { IncidentFormsUpdateResultV3FromJSON, } from '../models/IncidentFormsUpdateResultV3.js';
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export class IncidentFormsV3Api extends runtime.BaseAPI {
|
|
25
|
+
/**
|
|
26
|
+
* Creates request options for incidentFormsV3Create without sending the request
|
|
27
|
+
*/
|
|
28
|
+
async incidentFormsV3CreateRequestOpts(requestParameters) {
|
|
29
|
+
if (requestParameters['body'] == null) {
|
|
30
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling incidentFormsV3Create().');
|
|
31
|
+
}
|
|
32
|
+
const queryParameters = {};
|
|
33
|
+
const headerParameters = {};
|
|
34
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
35
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
36
|
+
const token = this.configuration.accessToken;
|
|
37
|
+
const tokenString = await token("BearerAuth", []);
|
|
38
|
+
if (tokenString) {
|
|
39
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
let urlPath = `/v3/incident_forms`;
|
|
43
|
+
return {
|
|
44
|
+
path: urlPath,
|
|
45
|
+
method: 'POST',
|
|
46
|
+
headers: headerParameters,
|
|
47
|
+
query: queryParameters,
|
|
48
|
+
body: IncidentFormsCreatePayloadV3ToJSON(requestParameters['body']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Create an incident form for an incident type. A form that already exists for that form type and incident type is rejected.
|
|
53
|
+
* Create Incident Forms V3
|
|
54
|
+
*/
|
|
55
|
+
async incidentFormsV3CreateRaw(requestParameters, initOverrides) {
|
|
56
|
+
const requestOptions = await this.incidentFormsV3CreateRequestOpts(requestParameters);
|
|
57
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
58
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => IncidentFormsCreateResultV3FromJSON(jsonValue));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Create an incident form for an incident type. A form that already exists for that form type and incident type is rejected.
|
|
62
|
+
* Create Incident Forms V3
|
|
63
|
+
*/
|
|
64
|
+
async incidentFormsV3Create(requestParameters, initOverrides) {
|
|
65
|
+
const response = await this.incidentFormsV3CreateRaw(requestParameters, initOverrides);
|
|
66
|
+
return await response.value();
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Creates request options for incidentFormsV3Delete without sending the request
|
|
70
|
+
*/
|
|
71
|
+
async incidentFormsV3DeleteRequestOpts(requestParameters) {
|
|
72
|
+
if (requestParameters['id'] == null) {
|
|
73
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling incidentFormsV3Delete().');
|
|
74
|
+
}
|
|
75
|
+
const queryParameters = {};
|
|
76
|
+
const headerParameters = {};
|
|
77
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
78
|
+
const token = this.configuration.accessToken;
|
|
79
|
+
const tokenString = await token("BearerAuth", []);
|
|
80
|
+
if (tokenString) {
|
|
81
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
let urlPath = `/v3/incident_forms/{id}`;
|
|
85
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
86
|
+
return {
|
|
87
|
+
path: urlPath,
|
|
88
|
+
method: 'DELETE',
|
|
89
|
+
headers: headerParameters,
|
|
90
|
+
query: queryParameters,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Archive an incident form. The organisation\'s default form of a type cannot be archived.
|
|
95
|
+
* Delete Incident Forms V3
|
|
96
|
+
*/
|
|
97
|
+
async incidentFormsV3DeleteRaw(requestParameters, initOverrides) {
|
|
98
|
+
const requestOptions = await this.incidentFormsV3DeleteRequestOpts(requestParameters);
|
|
99
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
100
|
+
return new runtime.VoidApiResponse(response);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Archive an incident form. The organisation\'s default form of a type cannot be archived.
|
|
104
|
+
* Delete Incident Forms V3
|
|
105
|
+
*/
|
|
106
|
+
async incidentFormsV3Delete(requestParameters, initOverrides) {
|
|
107
|
+
await this.incidentFormsV3DeleteRaw(requestParameters, initOverrides);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Creates request options for incidentFormsV3List without sending the request
|
|
111
|
+
*/
|
|
112
|
+
async incidentFormsV3ListRequestOpts(requestParameters) {
|
|
113
|
+
const queryParameters = {};
|
|
114
|
+
if (requestParameters['page_size'] != null) {
|
|
115
|
+
queryParameters['page_size'] = requestParameters['page_size'];
|
|
116
|
+
}
|
|
117
|
+
if (requestParameters['after'] != null) {
|
|
118
|
+
queryParameters['after'] = requestParameters['after'];
|
|
119
|
+
}
|
|
120
|
+
const headerParameters = {};
|
|
121
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
122
|
+
const token = this.configuration.accessToken;
|
|
123
|
+
const tokenString = await token("BearerAuth", []);
|
|
124
|
+
if (tokenString) {
|
|
125
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
let urlPath = `/v3/incident_forms`;
|
|
129
|
+
return {
|
|
130
|
+
path: urlPath,
|
|
131
|
+
method: 'GET',
|
|
132
|
+
headers: headerParameters,
|
|
133
|
+
query: queryParameters,
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* List incident forms for your account, including their elements and expressions.
|
|
138
|
+
* List Incident Forms V3
|
|
139
|
+
*/
|
|
140
|
+
async incidentFormsV3ListRaw(requestParameters, initOverrides) {
|
|
141
|
+
const requestOptions = await this.incidentFormsV3ListRequestOpts(requestParameters);
|
|
142
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
143
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => IncidentFormsListResultV3FromJSON(jsonValue));
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* List incident forms for your account, including their elements and expressions.
|
|
147
|
+
* List Incident Forms V3
|
|
148
|
+
*/
|
|
149
|
+
async incidentFormsV3List(requestParameters = {}, initOverrides) {
|
|
150
|
+
const response = await this.incidentFormsV3ListRaw(requestParameters, initOverrides);
|
|
151
|
+
return await response.value();
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Creates request options for incidentFormsV3Show without sending the request
|
|
155
|
+
*/
|
|
156
|
+
async incidentFormsV3ShowRequestOpts(requestParameters) {
|
|
157
|
+
if (requestParameters['id'] == null) {
|
|
158
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling incidentFormsV3Show().');
|
|
159
|
+
}
|
|
160
|
+
const queryParameters = {};
|
|
161
|
+
const headerParameters = {};
|
|
162
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
163
|
+
const token = this.configuration.accessToken;
|
|
164
|
+
const tokenString = await token("BearerAuth", []);
|
|
165
|
+
if (tokenString) {
|
|
166
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
let urlPath = `/v3/incident_forms/{id}`;
|
|
170
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
171
|
+
return {
|
|
172
|
+
path: urlPath,
|
|
173
|
+
method: 'GET',
|
|
174
|
+
headers: headerParameters,
|
|
175
|
+
query: queryParameters,
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Get a single incident form, including its elements and expressions.
|
|
180
|
+
* Show Incident Forms V3
|
|
181
|
+
*/
|
|
182
|
+
async incidentFormsV3ShowRaw(requestParameters, initOverrides) {
|
|
183
|
+
const requestOptions = await this.incidentFormsV3ShowRequestOpts(requestParameters);
|
|
184
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
185
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => IncidentFormsShowResultV3FromJSON(jsonValue));
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Get a single incident form, including its elements and expressions.
|
|
189
|
+
* Show Incident Forms V3
|
|
190
|
+
*/
|
|
191
|
+
async incidentFormsV3Show(requestParameters, initOverrides) {
|
|
192
|
+
const response = await this.incidentFormsV3ShowRaw(requestParameters, initOverrides);
|
|
193
|
+
return await response.value();
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Creates request options for incidentFormsV3Update without sending the request
|
|
197
|
+
*/
|
|
198
|
+
async incidentFormsV3UpdateRequestOpts(requestParameters) {
|
|
199
|
+
if (requestParameters['id'] == null) {
|
|
200
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling incidentFormsV3Update().');
|
|
201
|
+
}
|
|
202
|
+
if (requestParameters['body'] == null) {
|
|
203
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling incidentFormsV3Update().');
|
|
204
|
+
}
|
|
205
|
+
const queryParameters = {};
|
|
206
|
+
const headerParameters = {};
|
|
207
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
208
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
209
|
+
const token = this.configuration.accessToken;
|
|
210
|
+
const tokenString = await token("BearerAuth", []);
|
|
211
|
+
if (tokenString) {
|
|
212
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
let urlPath = `/v3/incident_forms/{id}`;
|
|
216
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
217
|
+
return {
|
|
218
|
+
path: urlPath,
|
|
219
|
+
method: 'PUT',
|
|
220
|
+
headers: headerParameters,
|
|
221
|
+
query: queryParameters,
|
|
222
|
+
body: IncidentFormsUpdatePayloadV3ToJSON(requestParameters['body']),
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Replace an incident form, including its elements and expressions.
|
|
227
|
+
* Update Incident Forms V3
|
|
228
|
+
*/
|
|
229
|
+
async incidentFormsV3UpdateRaw(requestParameters, initOverrides) {
|
|
230
|
+
const requestOptions = await this.incidentFormsV3UpdateRequestOpts(requestParameters);
|
|
231
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
232
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => IncidentFormsUpdateResultV3FromJSON(jsonValue));
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Replace an incident form, including its elements and expressions.
|
|
236
|
+
* Update Incident Forms V3
|
|
237
|
+
*/
|
|
238
|
+
async incidentFormsV3Update(requestParameters, initOverrides) {
|
|
239
|
+
const response = await this.incidentFormsV3UpdateRaw(requestParameters, initOverrides);
|
|
240
|
+
return await response.value();
|
|
241
|
+
}
|
|
242
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* incident.io
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import { type StatusPageComponentsCreatePayloadV2 } from '../models/StatusPageComponentsCreatePayloadV2.js';
|
|
14
|
+
import { type StatusPageComponentsCreateResultV2 } from '../models/StatusPageComponentsCreateResultV2.js';
|
|
15
|
+
import { type StatusPageComponentsListResultV2 } from '../models/StatusPageComponentsListResultV2.js';
|
|
16
|
+
import { type StatusPageComponentsShowResultV2 } from '../models/StatusPageComponentsShowResultV2.js';
|
|
17
|
+
import { type StatusPageComponentsUpdatePayloadV2 } from '../models/StatusPageComponentsUpdatePayloadV2.js';
|
|
18
|
+
import { type StatusPageComponentsUpdateResultV2 } from '../models/StatusPageComponentsUpdateResultV2.js';
|
|
19
|
+
export interface StatusPageComponentsV2CreateRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
body: StatusPageComponentsCreatePayloadV2;
|
|
24
|
+
}
|
|
25
|
+
export interface StatusPageComponentsV2DestroyRequest {
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier of the status page component
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
}
|
|
31
|
+
export interface StatusPageComponentsV2ShowRequest {
|
|
32
|
+
/**
|
|
33
|
+
* Unique identifier of the status page component
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
}
|
|
37
|
+
export interface StatusPageComponentsV2UpdateRequest {
|
|
38
|
+
/**
|
|
39
|
+
* Unique identifier of the status page component
|
|
40
|
+
*/
|
|
41
|
+
id: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
body: StatusPageComponentsUpdatePayloadV2;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* statusPageComponentsV2List takes no parameters yet. The argument exists so that the first
|
|
49
|
+
* one the API adds is a new optional field here, not a change to the
|
|
50
|
+
* method's signature. Pass request options as the second argument.
|
|
51
|
+
*/
|
|
52
|
+
export interface StatusPageComponentsV2ListRequest {
|
|
53
|
+
[key: string]: never;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
export declare class StatusPageComponentsV2Api extends runtime.BaseAPI {
|
|
59
|
+
/**
|
|
60
|
+
* Creates request options for statusPageComponentsV2Create without sending the request
|
|
61
|
+
*/
|
|
62
|
+
statusPageComponentsV2CreateRequestOpts(requestParameters: StatusPageComponentsV2CreateRequest): Promise<runtime.RequestOpts>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a status page component. Placement on a page is controlled separately via status page structures.
|
|
65
|
+
* Create Status Page Components V2
|
|
66
|
+
*/
|
|
67
|
+
statusPageComponentsV2CreateRaw(requestParameters: StatusPageComponentsV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StatusPageComponentsCreateResultV2>>;
|
|
68
|
+
/**
|
|
69
|
+
* Create a status page component. Placement on a page is controlled separately via status page structures.
|
|
70
|
+
* Create Status Page Components V2
|
|
71
|
+
*/
|
|
72
|
+
statusPageComponentsV2Create(requestParameters: StatusPageComponentsV2CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StatusPageComponentsCreateResultV2>;
|
|
73
|
+
/**
|
|
74
|
+
* Creates request options for statusPageComponentsV2Destroy without sending the request
|
|
75
|
+
*/
|
|
76
|
+
statusPageComponentsV2DestroyRequestOpts(requestParameters: StatusPageComponentsV2DestroyRequest): Promise<runtime.RequestOpts>;
|
|
77
|
+
/**
|
|
78
|
+
* Archive a status page component.
|
|
79
|
+
* Destroy Status Page Components V2
|
|
80
|
+
*/
|
|
81
|
+
statusPageComponentsV2DestroyRaw(requestParameters: StatusPageComponentsV2DestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
82
|
+
/**
|
|
83
|
+
* Archive a status page component.
|
|
84
|
+
* Destroy Status Page Components V2
|
|
85
|
+
*/
|
|
86
|
+
statusPageComponentsV2Destroy(requestParameters: StatusPageComponentsV2DestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
87
|
+
/**
|
|
88
|
+
* Creates request options for statusPageComponentsV2List without sending the request
|
|
89
|
+
*/
|
|
90
|
+
statusPageComponentsV2ListRequestOpts(requestParameters: StatusPageComponentsV2ListRequest): Promise<runtime.RequestOpts>;
|
|
91
|
+
/**
|
|
92
|
+
* List all status page components for an organisation.
|
|
93
|
+
* List Status Page Components V2
|
|
94
|
+
*/
|
|
95
|
+
statusPageComponentsV2ListRaw(requestParameters: StatusPageComponentsV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StatusPageComponentsListResultV2>>;
|
|
96
|
+
/**
|
|
97
|
+
* List all status page components for an organisation.
|
|
98
|
+
* List Status Page Components V2
|
|
99
|
+
*/
|
|
100
|
+
statusPageComponentsV2List(requestParameters?: StatusPageComponentsV2ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StatusPageComponentsListResultV2>;
|
|
101
|
+
/**
|
|
102
|
+
* Creates request options for statusPageComponentsV2Show without sending the request
|
|
103
|
+
*/
|
|
104
|
+
statusPageComponentsV2ShowRequestOpts(requestParameters: StatusPageComponentsV2ShowRequest): Promise<runtime.RequestOpts>;
|
|
105
|
+
/**
|
|
106
|
+
* Show a single status page component.
|
|
107
|
+
* Show Status Page Components V2
|
|
108
|
+
*/
|
|
109
|
+
statusPageComponentsV2ShowRaw(requestParameters: StatusPageComponentsV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StatusPageComponentsShowResultV2>>;
|
|
110
|
+
/**
|
|
111
|
+
* Show a single status page component.
|
|
112
|
+
* Show Status Page Components V2
|
|
113
|
+
*/
|
|
114
|
+
statusPageComponentsV2Show(requestParameters: StatusPageComponentsV2ShowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StatusPageComponentsShowResultV2>;
|
|
115
|
+
/**
|
|
116
|
+
* Creates request options for statusPageComponentsV2Update without sending the request
|
|
117
|
+
*/
|
|
118
|
+
statusPageComponentsV2UpdateRequestOpts(requestParameters: StatusPageComponentsV2UpdateRequest): Promise<runtime.RequestOpts>;
|
|
119
|
+
/**
|
|
120
|
+
* Update a status page component\'s name and description.
|
|
121
|
+
* Update Status Page Components V2
|
|
122
|
+
*/
|
|
123
|
+
statusPageComponentsV2UpdateRaw(requestParameters: StatusPageComponentsV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StatusPageComponentsUpdateResultV2>>;
|
|
124
|
+
/**
|
|
125
|
+
* Update a status page component\'s name and description.
|
|
126
|
+
* Update Status Page Components V2
|
|
127
|
+
*/
|
|
128
|
+
statusPageComponentsV2Update(requestParameters: StatusPageComponentsV2UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StatusPageComponentsUpdateResultV2>;
|
|
129
|
+
}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* incident.io
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import * as runtime from '../runtime.js';
|
|
15
|
+
import { StatusPageComponentsCreatePayloadV2ToJSON, } from '../models/StatusPageComponentsCreatePayloadV2.js';
|
|
16
|
+
import { StatusPageComponentsCreateResultV2FromJSON, } from '../models/StatusPageComponentsCreateResultV2.js';
|
|
17
|
+
import { StatusPageComponentsListResultV2FromJSON, } from '../models/StatusPageComponentsListResultV2.js';
|
|
18
|
+
import { StatusPageComponentsShowResultV2FromJSON, } from '../models/StatusPageComponentsShowResultV2.js';
|
|
19
|
+
import { StatusPageComponentsUpdatePayloadV2ToJSON, } from '../models/StatusPageComponentsUpdatePayloadV2.js';
|
|
20
|
+
import { StatusPageComponentsUpdateResultV2FromJSON, } from '../models/StatusPageComponentsUpdateResultV2.js';
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export class StatusPageComponentsV2Api extends runtime.BaseAPI {
|
|
25
|
+
/**
|
|
26
|
+
* Creates request options for statusPageComponentsV2Create without sending the request
|
|
27
|
+
*/
|
|
28
|
+
async statusPageComponentsV2CreateRequestOpts(requestParameters) {
|
|
29
|
+
if (requestParameters['body'] == null) {
|
|
30
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling statusPageComponentsV2Create().');
|
|
31
|
+
}
|
|
32
|
+
const queryParameters = {};
|
|
33
|
+
const headerParameters = {};
|
|
34
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
35
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
36
|
+
const token = this.configuration.accessToken;
|
|
37
|
+
const tokenString = await token("BearerAuth", []);
|
|
38
|
+
if (tokenString) {
|
|
39
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
let urlPath = `/v2/status_page_components`;
|
|
43
|
+
return {
|
|
44
|
+
path: urlPath,
|
|
45
|
+
method: 'POST',
|
|
46
|
+
headers: headerParameters,
|
|
47
|
+
query: queryParameters,
|
|
48
|
+
body: StatusPageComponentsCreatePayloadV2ToJSON(requestParameters['body']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Create a status page component. Placement on a page is controlled separately via status page structures.
|
|
53
|
+
* Create Status Page Components V2
|
|
54
|
+
*/
|
|
55
|
+
async statusPageComponentsV2CreateRaw(requestParameters, initOverrides) {
|
|
56
|
+
const requestOptions = await this.statusPageComponentsV2CreateRequestOpts(requestParameters);
|
|
57
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
58
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => StatusPageComponentsCreateResultV2FromJSON(jsonValue));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Create a status page component. Placement on a page is controlled separately via status page structures.
|
|
62
|
+
* Create Status Page Components V2
|
|
63
|
+
*/
|
|
64
|
+
async statusPageComponentsV2Create(requestParameters, initOverrides) {
|
|
65
|
+
const response = await this.statusPageComponentsV2CreateRaw(requestParameters, initOverrides);
|
|
66
|
+
return await response.value();
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Creates request options for statusPageComponentsV2Destroy without sending the request
|
|
70
|
+
*/
|
|
71
|
+
async statusPageComponentsV2DestroyRequestOpts(requestParameters) {
|
|
72
|
+
if (requestParameters['id'] == null) {
|
|
73
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling statusPageComponentsV2Destroy().');
|
|
74
|
+
}
|
|
75
|
+
const queryParameters = {};
|
|
76
|
+
const headerParameters = {};
|
|
77
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
78
|
+
const token = this.configuration.accessToken;
|
|
79
|
+
const tokenString = await token("BearerAuth", []);
|
|
80
|
+
if (tokenString) {
|
|
81
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
let urlPath = `/v2/status_page_components/{id}`;
|
|
85
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
86
|
+
return {
|
|
87
|
+
path: urlPath,
|
|
88
|
+
method: 'DELETE',
|
|
89
|
+
headers: headerParameters,
|
|
90
|
+
query: queryParameters,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Archive a status page component.
|
|
95
|
+
* Destroy Status Page Components V2
|
|
96
|
+
*/
|
|
97
|
+
async statusPageComponentsV2DestroyRaw(requestParameters, initOverrides) {
|
|
98
|
+
const requestOptions = await this.statusPageComponentsV2DestroyRequestOpts(requestParameters);
|
|
99
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
100
|
+
return new runtime.VoidApiResponse(response);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Archive a status page component.
|
|
104
|
+
* Destroy Status Page Components V2
|
|
105
|
+
*/
|
|
106
|
+
async statusPageComponentsV2Destroy(requestParameters, initOverrides) {
|
|
107
|
+
await this.statusPageComponentsV2DestroyRaw(requestParameters, initOverrides);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Creates request options for statusPageComponentsV2List without sending the request
|
|
111
|
+
*/
|
|
112
|
+
async statusPageComponentsV2ListRequestOpts(requestParameters) {
|
|
113
|
+
const queryParameters = {};
|
|
114
|
+
const headerParameters = {};
|
|
115
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
116
|
+
const token = this.configuration.accessToken;
|
|
117
|
+
const tokenString = await token("BearerAuth", []);
|
|
118
|
+
if (tokenString) {
|
|
119
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
let urlPath = `/v2/status_page_components`;
|
|
123
|
+
return {
|
|
124
|
+
path: urlPath,
|
|
125
|
+
method: 'GET',
|
|
126
|
+
headers: headerParameters,
|
|
127
|
+
query: queryParameters,
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* List all status page components for an organisation.
|
|
132
|
+
* List Status Page Components V2
|
|
133
|
+
*/
|
|
134
|
+
async statusPageComponentsV2ListRaw(requestParameters, initOverrides) {
|
|
135
|
+
const requestOptions = await this.statusPageComponentsV2ListRequestOpts(requestParameters);
|
|
136
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
137
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => StatusPageComponentsListResultV2FromJSON(jsonValue));
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* List all status page components for an organisation.
|
|
141
|
+
* List Status Page Components V2
|
|
142
|
+
*/
|
|
143
|
+
async statusPageComponentsV2List(requestParameters = {}, initOverrides) {
|
|
144
|
+
const response = await this.statusPageComponentsV2ListRaw(requestParameters, initOverrides);
|
|
145
|
+
return await response.value();
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Creates request options for statusPageComponentsV2Show without sending the request
|
|
149
|
+
*/
|
|
150
|
+
async statusPageComponentsV2ShowRequestOpts(requestParameters) {
|
|
151
|
+
if (requestParameters['id'] == null) {
|
|
152
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling statusPageComponentsV2Show().');
|
|
153
|
+
}
|
|
154
|
+
const queryParameters = {};
|
|
155
|
+
const headerParameters = {};
|
|
156
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
157
|
+
const token = this.configuration.accessToken;
|
|
158
|
+
const tokenString = await token("BearerAuth", []);
|
|
159
|
+
if (tokenString) {
|
|
160
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
let urlPath = `/v2/status_page_components/{id}`;
|
|
164
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
165
|
+
return {
|
|
166
|
+
path: urlPath,
|
|
167
|
+
method: 'GET',
|
|
168
|
+
headers: headerParameters,
|
|
169
|
+
query: queryParameters,
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Show a single status page component.
|
|
174
|
+
* Show Status Page Components V2
|
|
175
|
+
*/
|
|
176
|
+
async statusPageComponentsV2ShowRaw(requestParameters, initOverrides) {
|
|
177
|
+
const requestOptions = await this.statusPageComponentsV2ShowRequestOpts(requestParameters);
|
|
178
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
179
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => StatusPageComponentsShowResultV2FromJSON(jsonValue));
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Show a single status page component.
|
|
183
|
+
* Show Status Page Components V2
|
|
184
|
+
*/
|
|
185
|
+
async statusPageComponentsV2Show(requestParameters, initOverrides) {
|
|
186
|
+
const response = await this.statusPageComponentsV2ShowRaw(requestParameters, initOverrides);
|
|
187
|
+
return await response.value();
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Creates request options for statusPageComponentsV2Update without sending the request
|
|
191
|
+
*/
|
|
192
|
+
async statusPageComponentsV2UpdateRequestOpts(requestParameters) {
|
|
193
|
+
if (requestParameters['id'] == null) {
|
|
194
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling statusPageComponentsV2Update().');
|
|
195
|
+
}
|
|
196
|
+
if (requestParameters['body'] == null) {
|
|
197
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling statusPageComponentsV2Update().');
|
|
198
|
+
}
|
|
199
|
+
const queryParameters = {};
|
|
200
|
+
const headerParameters = {};
|
|
201
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
202
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
203
|
+
const token = this.configuration.accessToken;
|
|
204
|
+
const tokenString = await token("BearerAuth", []);
|
|
205
|
+
if (tokenString) {
|
|
206
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
let urlPath = `/v2/status_page_components/{id}`;
|
|
210
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
211
|
+
return {
|
|
212
|
+
path: urlPath,
|
|
213
|
+
method: 'PUT',
|
|
214
|
+
headers: headerParameters,
|
|
215
|
+
query: queryParameters,
|
|
216
|
+
body: StatusPageComponentsUpdatePayloadV2ToJSON(requestParameters['body']),
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Update a status page component\'s name and description.
|
|
221
|
+
* Update Status Page Components V2
|
|
222
|
+
*/
|
|
223
|
+
async statusPageComponentsV2UpdateRaw(requestParameters, initOverrides) {
|
|
224
|
+
const requestOptions = await this.statusPageComponentsV2UpdateRequestOpts(requestParameters);
|
|
225
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
226
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => StatusPageComponentsUpdateResultV2FromJSON(jsonValue));
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Update a status page component\'s name and description.
|
|
230
|
+
* Update Status Page Components V2
|
|
231
|
+
*/
|
|
232
|
+
async statusPageComponentsV2Update(requestParameters, initOverrides) {
|
|
233
|
+
const response = await this.statusPageComponentsV2UpdateRaw(requestParameters, initOverrides);
|
|
234
|
+
return await response.value();
|
|
235
|
+
}
|
|
236
|
+
}
|
package/dist/esm/apis/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from './HeartbeatV2Api.js';
|
|
|
27
27
|
export * from './IPAllowlistsV1Api.js';
|
|
28
28
|
export * from './IncidentActivityLogEntriesV2Api.js';
|
|
29
29
|
export * from './IncidentAttachmentsV1Api.js';
|
|
30
|
+
export * from './IncidentFormsV3Api.js';
|
|
30
31
|
export * from './IncidentMembershipsV1Api.js';
|
|
31
32
|
export * from './IncidentParticipantWorkloadsV2Api.js';
|
|
32
33
|
export * from './IncidentParticipantsV2Api.js';
|
|
@@ -52,6 +53,7 @@ export * from './ScheduleSyncTargetsV2Api.js';
|
|
|
52
53
|
export * from './SchedulesV2Api.js';
|
|
53
54
|
export * from './SecretsV2Api.js';
|
|
54
55
|
export * from './SeveritiesV1Api.js';
|
|
56
|
+
export * from './StatusPageComponentsV2Api.js';
|
|
55
57
|
export * from './StatusPagesV1Api.js';
|
|
56
58
|
export * from './StatusPagesV2Api.js';
|
|
57
59
|
export * from './TeamsV3Api.js';
|
package/dist/esm/apis/index.js
CHANGED
|
@@ -29,6 +29,7 @@ export * from './HeartbeatV2Api.js';
|
|
|
29
29
|
export * from './IPAllowlistsV1Api.js';
|
|
30
30
|
export * from './IncidentActivityLogEntriesV2Api.js';
|
|
31
31
|
export * from './IncidentAttachmentsV1Api.js';
|
|
32
|
+
export * from './IncidentFormsV3Api.js';
|
|
32
33
|
export * from './IncidentMembershipsV1Api.js';
|
|
33
34
|
export * from './IncidentParticipantWorkloadsV2Api.js';
|
|
34
35
|
export * from './IncidentParticipantsV2Api.js';
|
|
@@ -54,6 +55,7 @@ export * from './ScheduleSyncTargetsV2Api.js';
|
|
|
54
55
|
export * from './SchedulesV2Api.js';
|
|
55
56
|
export * from './SecretsV2Api.js';
|
|
56
57
|
export * from './SeveritiesV1Api.js';
|
|
58
|
+
export * from './StatusPageComponentsV2Api.js';
|
|
57
59
|
export * from './StatusPagesV1Api.js';
|
|
58
60
|
export * from './StatusPagesV2Api.js';
|
|
59
61
|
export * from './TeamsV3Api.js';
|
|
@@ -0,0 +1,30 @@
|
|
|
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 IncidentFormLifecycleElementConfigV3
|
|
16
|
+
*/
|
|
17
|
+
export interface IncidentFormLifecycleElementConfigV3 {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the free-text comment must be filled in, for anyone giving investigation feedback
|
|
20
|
+
*/
|
|
21
|
+
require_comment?: boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the IncidentFormLifecycleElementConfigV3 interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfIncidentFormLifecycleElementConfigV3(value: object): value is IncidentFormLifecycleElementConfigV3;
|
|
27
|
+
export declare function IncidentFormLifecycleElementConfigV3FromJSON(json: any): IncidentFormLifecycleElementConfigV3;
|
|
28
|
+
export declare function IncidentFormLifecycleElementConfigV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentFormLifecycleElementConfigV3;
|
|
29
|
+
export declare function IncidentFormLifecycleElementConfigV3ToJSON(json: any): IncidentFormLifecycleElementConfigV3;
|
|
30
|
+
export declare function IncidentFormLifecycleElementConfigV3ToJSONTyped(value?: IncidentFormLifecycleElementConfigV3 | null, ignoreDiscriminator?: boolean): any;
|