yellowgrid-api-ts 3.2.24-dev.0 → 3.2.25-dev.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.
@@ -0,0 +1,31 @@
1
+ # IncidentDTO
2
+
3
+ Incident DTO
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **title** | **string** | Incident Title | [optional] [default to undefined]
10
+ **type** | **number** | Incident Type | [optional] [default to undefined]
11
+ **service** | **number** | Service Impacted | [optional] [default to undefined]
12
+ **id** | **number** | Incident ID | [optional] [default to undefined]
13
+ **status** | **number** | Incident Status | [optional] [default to undefined]
14
+ **updates** | [**Array<IncidentUpdateDTO>**](IncidentUpdateDTO.md) | Incident Updates | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { IncidentDTO } from 'yellowgrid-api-ts';
20
+
21
+ const instance: IncidentDTO = {
22
+ title,
23
+ type,
24
+ service,
25
+ id,
26
+ status,
27
+ updates,
28
+ };
29
+ ```
30
+
31
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,25 @@
1
+ # IncidentRequestDTO
2
+
3
+ Incident Request DTO
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **title** | **string** | Incident Title | [optional] [default to undefined]
10
+ **type** | **number** | Incident Type | [optional] [default to undefined]
11
+ **service** | **number** | Service Impacted | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { IncidentRequestDTO } from 'yellowgrid-api-ts';
17
+
18
+ const instance: IncidentRequestDTO = {
19
+ title,
20
+ type,
21
+ service,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # IncidentSubscriptionModel
2
+
3
+ Incident Subscribption Model
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | id | [optional] [default to undefined]
10
+ **email** | **string** | email | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { IncidentSubscriptionModel } from 'yellowgrid-api-ts';
16
+
17
+ const instance: IncidentSubscriptionModel = {
18
+ id,
19
+ email,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,25 @@
1
+ # IncidentUpdateDTO
2
+
3
+ Incident Update DTO
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **message** | **string** | Incident Update Message | [optional] [default to undefined]
10
+ **type** | **number** | Incident Update Type | [optional] [default to undefined]
11
+ **createdAt** | **string** | Date Time | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { IncidentUpdateDTO } from 'yellowgrid-api-ts';
17
+
18
+ const instance: IncidentUpdateDTO = {
19
+ message,
20
+ type,
21
+ createdAt,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,29 @@
1
+ # IncidentUpdateEntity
2
+
3
+ IncidentUpdatesEntity
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | id | [optional] [default to undefined]
10
+ **incidentId** | **number** | incidentId | [optional] [default to undefined]
11
+ **message** | **string** | message | [optional] [default to undefined]
12
+ **type** | **number** | type | [optional] [default to undefined]
13
+ **createdAt** | **string** | createdAt | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { IncidentUpdateEntity } from 'yellowgrid-api-ts';
19
+
20
+ const instance: IncidentUpdateEntity = {
21
+ id,
22
+ incidentId,
23
+ message,
24
+ type,
25
+ createdAt,
26
+ };
27
+ ```
28
+
29
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # IncidentUpdateRequestDTO
2
+
3
+ Incident Update Request DTO
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **message** | **string** | Incident Update Message | [optional] [default to undefined]
10
+ **type** | **number** | Incident Update Type | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { IncidentUpdateRequestDTO } from 'yellowgrid-api-ts';
16
+
17
+ const instance: IncidentUpdateRequestDTO = {
18
+ message,
19
+ type,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -157,7 +157,7 @@ const { status, data } = await apiInstance.postAccessToken(
157
157
  | **clientId** | [**string**] | OAuth 2.0 Client ID | (optional) defaults to undefined|
158
158
  | **clientSecret** | [**string**] | OAuth 2.0 Client Secret | (optional) defaults to undefined|
159
159
  | **grantType** | [**string**]**Array<&#39;client_credentials&#39; &#124; &#39;code&#39; &#124; &#39;refresh_token&#39; &#124; &#39;authorization_code&#39; &#124; &#39;ms_auth&#39; &#124; &#39;token_exchange&#39; &#124; &#39;password&#39;>** | OAuth 2.0 Grant Type | (optional) defaults to undefined|
160
- | **scope** | [**string**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;number_porting.read&#39; &#124; &#39;number_porting.write&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | (optional) defaults to undefined|
160
+ | **scope** | [**string**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | (optional) defaults to undefined|
161
161
  | **redirectUri** | [**string**] | OAuth 2.0 Redirect URI | (optional) defaults to undefined|
162
162
  | **code** | [**string**] | OAuth 2.0 Auth Code | (optional) defaults to undefined|
163
163
  | **refreshToken** | [**string**] | OAuth 2.0 Refresh Token | (optional) defaults to undefined|
@@ -210,7 +210,7 @@ const apiInstance = new OAuth20Api(configuration);
210
210
 
211
211
  let clientId: string; //OAuth 2.0 Client ID (default to undefined)
212
212
  let responseType: string; //OAuth 2.0 Response Type (default to 'code')
213
- let scope: '*' | 'fdps' | 'scope' | 'portal' | 'tcx_wizard' | 'accounts.read' | 'accounts.write' | 'number_porting.read' | 'number_porting.write' | 'pricing.read' | 'orders.read' | 'orders.write' | 'products.read' | 'provisioning.read' | 'provisioning.write' | 'trunks.read' | 'trunks.write' | 'tcx_integrations.read' | 'tcx_integrations.write' | 'tcx_licence_details.read' | 'tcx_installations.read' | 'tcx_installations.write' | 'tcx_mt.read' | 'tcx_mt.write' | 'tickets.read' | 'tickets.write'; //OAuth 2.0 Scope (default to undefined)
213
+ let scope: '*' | 'fdps' | 'scope' | 'portal' | 'tcx_wizard' | 'accounts.read' | 'accounts.write' | 'pricing.read' | 'orders.read' | 'orders.write' | 'products.read' | 'provisioning.read' | 'provisioning.write' | 'trunks.read' | 'trunks.write' | 'tcx_integrations.read' | 'tcx_integrations.write' | 'tcx_licence_details.read' | 'tcx_installations.read' | 'tcx_installations.write' | 'tcx_mt.read' | 'tcx_mt.write' | 'tickets.read' | 'tickets.write'; //OAuth 2.0 Scope (default to undefined)
214
214
  let redirectUri: string; //OAuth 2.0 Redirect URI (optional) (default to undefined)
215
215
  let state: string; //OAuth 2.0 State (optional) (default to undefined)
216
216
  let codeChallenge: string; //OAuth 2.0 Code Challenge (optional) (default to undefined)
@@ -233,7 +233,7 @@ const { status, data } = await apiInstance.postAuthorise(
233
233
  |------------- | ------------- | ------------- | -------------|
234
234
  | **clientId** | [**string**] | OAuth 2.0 Client ID | defaults to undefined|
235
235
  | **responseType** | [**string**] | OAuth 2.0 Response Type | defaults to 'code'|
236
- | **scope** | [**&#39;*&#39; | &#39;fdps&#39; | &#39;scope&#39; | &#39;portal&#39; | &#39;tcx_wizard&#39; | &#39;accounts.read&#39; | &#39;accounts.write&#39; | &#39;number_porting.read&#39; | &#39;number_porting.write&#39; | &#39;pricing.read&#39; | &#39;orders.read&#39; | &#39;orders.write&#39; | &#39;products.read&#39; | &#39;provisioning.read&#39; | &#39;provisioning.write&#39; | &#39;trunks.read&#39; | &#39;trunks.write&#39; | &#39;tcx_integrations.read&#39; | &#39;tcx_integrations.write&#39; | &#39;tcx_licence_details.read&#39; | &#39;tcx_installations.read&#39; | &#39;tcx_installations.write&#39; | &#39;tcx_mt.read&#39; | &#39;tcx_mt.write&#39; | &#39;tickets.read&#39; | &#39;tickets.write&#39;**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;number_porting.read&#39; &#124; &#39;number_porting.write&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | defaults to undefined|
236
+ | **scope** | [**&#39;*&#39; | &#39;fdps&#39; | &#39;scope&#39; | &#39;portal&#39; | &#39;tcx_wizard&#39; | &#39;accounts.read&#39; | &#39;accounts.write&#39; | &#39;pricing.read&#39; | &#39;orders.read&#39; | &#39;orders.write&#39; | &#39;products.read&#39; | &#39;provisioning.read&#39; | &#39;provisioning.write&#39; | &#39;trunks.read&#39; | &#39;trunks.write&#39; | &#39;tcx_integrations.read&#39; | &#39;tcx_integrations.write&#39; | &#39;tcx_licence_details.read&#39; | &#39;tcx_installations.read&#39; | &#39;tcx_installations.write&#39; | &#39;tcx_mt.read&#39; | &#39;tcx_mt.write&#39; | &#39;tickets.read&#39; | &#39;tickets.write&#39;**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | defaults to undefined|
237
237
  | **redirectUri** | [**string**] | OAuth 2.0 Redirect URI | (optional) defaults to undefined|
238
238
  | **state** | [**string**] | OAuth 2.0 State | (optional) defaults to undefined|
239
239
  | **codeChallenge** | [**string**] | OAuth 2.0 Code Challenge | (optional) defaults to undefined|
@@ -0,0 +1,23 @@
1
+ # ServiceHealthDTO
2
+
3
+ Service Health DTO
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **services** | [**Array&lt;ServiceStatusDTO&gt;**](ServiceStatusDTO.md) | | [optional] [default to undefined]
10
+ **globalStatus** | **number** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ServiceHealthDTO } from 'yellowgrid-api-ts';
16
+
17
+ const instance: ServiceHealthDTO = {
18
+ services,
19
+ globalStatus,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,25 @@
1
+ # ServiceStatusDTO
2
+
3
+ Service Status DTO
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **serviceName** | **string** | Service Name | [optional] [default to undefined]
10
+ **status** | **number** | Service Status | [optional] [default to undefined]
11
+ **incidents** | [**Array&lt;IncidentDTO&gt;**](IncidentDTO.md) | Service Incidents | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { ServiceStatusDTO } from 'yellowgrid-api-ts';
17
+
18
+ const instance: ServiceStatusDTO = {
19
+ serviceName,
20
+ status,
21
+ incidents,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,330 @@
1
+ # ServicesApi
2
+
3
+ All URIs are relative to *http://api.yellowgrid.local*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**deleteUnsubscribe**](#deleteunsubscribe) | **DELETE** /services/incidents/unsubscribe | |
8
+ |[**getGetServiceHealth**](#getgetservicehealth) | **GET** /services/health | |
9
+ |[**patchArchiveIncident**](#patcharchiveincident) | **PATCH** /services/incidents/{id}/archive | |
10
+ |[**postCreateIncident**](#postcreateincident) | **POST** /services/incidents | |
11
+ |[**postCreateIncidentUpdate**](#postcreateincidentupdate) | **POST** /services/incidents/{id}/updates | |
12
+ |[**postSubscribe**](#postsubscribe) | **POST** /services/incidents/subscribe | |
13
+
14
+ # **deleteUnsubscribe**
15
+ > deleteUnsubscribe()
16
+
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ ServicesApi,
23
+ Configuration
24
+ } from 'yellowgrid-api-ts';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new ServicesApi(configuration);
28
+
29
+ let id: string; //Unsubscribe Email ID (optional) (default to undefined)
30
+ let email: string; //Unsubscribe Email Address (optional) (default to undefined)
31
+
32
+ const { status, data } = await apiInstance.deleteUnsubscribe(
33
+ id,
34
+ email
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **id** | [**string**] | Unsubscribe Email ID | (optional) defaults to undefined|
43
+ | **email** | [**string**] | Unsubscribe Email Address | (optional) defaults to undefined|
44
+
45
+
46
+ ### Return type
47
+
48
+ void (empty response body)
49
+
50
+ ### Authorization
51
+
52
+ No authorization required
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: Not defined
57
+ - **Accept**: Not defined
58
+
59
+
60
+ ### HTTP response details
61
+ | Status code | Description | Response headers |
62
+ |-------------|-------------|------------------|
63
+ |**200** | No Response | - |
64
+ |**400** | Bad Request | - |
65
+ |**401** | Unauthorised | - |
66
+ |**403** | Access Denied | - |
67
+
68
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
69
+
70
+ # **getGetServiceHealth**
71
+ > ServiceHealthDTO getGetServiceHealth()
72
+
73
+
74
+ ### Example
75
+
76
+ ```typescript
77
+ import {
78
+ ServicesApi,
79
+ Configuration
80
+ } from 'yellowgrid-api-ts';
81
+
82
+ const configuration = new Configuration();
83
+ const apiInstance = new ServicesApi(configuration);
84
+
85
+ const { status, data } = await apiInstance.getGetServiceHealth();
86
+ ```
87
+
88
+ ### Parameters
89
+ This endpoint does not have any parameters.
90
+
91
+
92
+ ### Return type
93
+
94
+ **ServiceHealthDTO**
95
+
96
+ ### Authorization
97
+
98
+ No authorization required
99
+
100
+ ### HTTP request headers
101
+
102
+ - **Content-Type**: Not defined
103
+ - **Accept**: application/json
104
+
105
+
106
+ ### HTTP response details
107
+ | Status code | Description | Response headers |
108
+ |-------------|-------------|------------------|
109
+ |**200** | Service Health DTO | - |
110
+ |**400** | Bad Request | - |
111
+
112
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
113
+
114
+ # **patchArchiveIncident**
115
+ > IncidentDTO patchArchiveIncident()
116
+
117
+
118
+ ### Example
119
+
120
+ ```typescript
121
+ import {
122
+ ServicesApi,
123
+ Configuration
124
+ } from 'yellowgrid-api-ts';
125
+
126
+ const configuration = new Configuration();
127
+ const apiInstance = new ServicesApi(configuration);
128
+
129
+ let id: string; //Group ID (default to undefined)
130
+
131
+ const { status, data } = await apiInstance.patchArchiveIncident(
132
+ id
133
+ );
134
+ ```
135
+
136
+ ### Parameters
137
+
138
+ |Name | Type | Description | Notes|
139
+ |------------- | ------------- | ------------- | -------------|
140
+ | **id** | [**string**] | Group ID | defaults to undefined|
141
+
142
+
143
+ ### Return type
144
+
145
+ **IncidentDTO**
146
+
147
+ ### Authorization
148
+
149
+ No authorization required
150
+
151
+ ### HTTP request headers
152
+
153
+ - **Content-Type**: Not defined
154
+ - **Accept**: application/json
155
+
156
+
157
+ ### HTTP response details
158
+ | Status code | Description | Response headers |
159
+ |-------------|-------------|------------------|
160
+ |**200** | Incident DTO | - |
161
+ |**400** | Bad Request | - |
162
+ |**401** | Unauthorised | - |
163
+ |**403** | Access Denied | - |
164
+
165
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
166
+
167
+ # **postCreateIncident**
168
+ > IncidentDTO postCreateIncident()
169
+
170
+
171
+ ### Example
172
+
173
+ ```typescript
174
+ import {
175
+ ServicesApi,
176
+ Configuration,
177
+ IncidentRequestDTO
178
+ } from 'yellowgrid-api-ts';
179
+
180
+ const configuration = new Configuration();
181
+ const apiInstance = new ServicesApi(configuration);
182
+
183
+ let incidentRequestDTO: IncidentRequestDTO; // (optional)
184
+
185
+ const { status, data } = await apiInstance.postCreateIncident(
186
+ incidentRequestDTO
187
+ );
188
+ ```
189
+
190
+ ### Parameters
191
+
192
+ |Name | Type | Description | Notes|
193
+ |------------- | ------------- | ------------- | -------------|
194
+ | **incidentRequestDTO** | **IncidentRequestDTO**| | |
195
+
196
+
197
+ ### Return type
198
+
199
+ **IncidentDTO**
200
+
201
+ ### Authorization
202
+
203
+ No authorization required
204
+
205
+ ### HTTP request headers
206
+
207
+ - **Content-Type**: application/json
208
+ - **Accept**: application/json
209
+
210
+
211
+ ### HTTP response details
212
+ | Status code | Description | Response headers |
213
+ |-------------|-------------|------------------|
214
+ |**200** | Incident DTO | - |
215
+ |**400** | Bad Request | - |
216
+ |**401** | Unauthorised | - |
217
+ |**403** | Access Denied | - |
218
+
219
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
220
+
221
+ # **postCreateIncidentUpdate**
222
+ > IncidentDTO postCreateIncidentUpdate()
223
+
224
+
225
+ ### Example
226
+
227
+ ```typescript
228
+ import {
229
+ ServicesApi,
230
+ Configuration,
231
+ IncidentUpdateRequestDTO
232
+ } from 'yellowgrid-api-ts';
233
+
234
+ const configuration = new Configuration();
235
+ const apiInstance = new ServicesApi(configuration);
236
+
237
+ let id: string; //Group ID (default to undefined)
238
+ let incidentUpdateRequestDTO: IncidentUpdateRequestDTO; // (optional)
239
+
240
+ const { status, data } = await apiInstance.postCreateIncidentUpdate(
241
+ id,
242
+ incidentUpdateRequestDTO
243
+ );
244
+ ```
245
+
246
+ ### Parameters
247
+
248
+ |Name | Type | Description | Notes|
249
+ |------------- | ------------- | ------------- | -------------|
250
+ | **incidentUpdateRequestDTO** | **IncidentUpdateRequestDTO**| | |
251
+ | **id** | [**string**] | Group ID | defaults to undefined|
252
+
253
+
254
+ ### Return type
255
+
256
+ **IncidentDTO**
257
+
258
+ ### Authorization
259
+
260
+ No authorization required
261
+
262
+ ### HTTP request headers
263
+
264
+ - **Content-Type**: application/json
265
+ - **Accept**: application/json
266
+
267
+
268
+ ### HTTP response details
269
+ | Status code | Description | Response headers |
270
+ |-------------|-------------|------------------|
271
+ |**200** | Incident DTO | - |
272
+ |**400** | Bad Request | - |
273
+ |**401** | Unauthorised | - |
274
+ |**403** | Access Denied | - |
275
+
276
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
277
+
278
+ # **postSubscribe**
279
+ > postSubscribe()
280
+
281
+
282
+ ### Example
283
+
284
+ ```typescript
285
+ import {
286
+ ServicesApi,
287
+ Configuration
288
+ } from 'yellowgrid-api-ts';
289
+
290
+ const configuration = new Configuration();
291
+ const apiInstance = new ServicesApi(configuration);
292
+
293
+ let email: string; //Subscription Email Address (optional) (default to undefined)
294
+
295
+ const { status, data } = await apiInstance.postSubscribe(
296
+ email
297
+ );
298
+ ```
299
+
300
+ ### Parameters
301
+
302
+ |Name | Type | Description | Notes|
303
+ |------------- | ------------- | ------------- | -------------|
304
+ | **email** | [**string**] | Subscription Email Address | (optional) defaults to undefined|
305
+
306
+
307
+ ### Return type
308
+
309
+ void (empty response body)
310
+
311
+ ### Authorization
312
+
313
+ No authorization required
314
+
315
+ ### HTTP request headers
316
+
317
+ - **Content-Type**: Not defined
318
+ - **Accept**: Not defined
319
+
320
+
321
+ ### HTTP response details
322
+ | Status code | Description | Response headers |
323
+ |-------------|-------------|------------------|
324
+ |**200** | No Response | - |
325
+ |**400** | Bad Request | - |
326
+ |**401** | Unauthorised | - |
327
+ |**403** | Access Denied | - |
328
+
329
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
330
+
@@ -0,0 +1,41 @@
1
+ # TelephonySupportTicketModel
2
+
3
+ Telephony Support Ticket
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | Ticket ID | [optional] [default to undefined]
10
+ **status** | **string** | Ticket status | [optional] [default to undefined]
11
+ **statusId** | **number** | Ticket status ID | [optional] [default to undefined]
12
+ **subject** | **string** | Ticket subject | [optional] [default to undefined]
13
+ **supportEmail** | **string** | Support email address | [optional] [default to undefined]
14
+ **toEmails** | **Array&lt;string&gt;** | Recipient emails | [optional] [default to undefined]
15
+ **description** | **string** | Ticket description (HTML) | [optional] [default to undefined]
16
+ **descriptionText** | **string** | Ticket description (plain text) | [optional] [default to undefined]
17
+ **createdAt** | **string** | Creation timestamp | [optional] [default to undefined]
18
+ **attachments** | [**Array&lt;AttachmentModel&gt;**](AttachmentModel.md) | Attachments | [optional] [default to undefined]
19
+ **conversations** | [**Array&lt;ConversationModel&gt;**](ConversationModel.md) | Conversations | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { TelephonySupportTicketModel } from 'yellowgrid-api-ts';
25
+
26
+ const instance: TelephonySupportTicketModel = {
27
+ id,
28
+ status,
29
+ statusId,
30
+ subject,
31
+ supportEmail,
32
+ toEmails,
33
+ description,
34
+ descriptionText,
35
+ createdAt,
36
+ attachments,
37
+ conversations,
38
+ };
39
+ ```
40
+
41
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)