yellowgrid-api-ts 3.2.68-dev.0 → 3.2.70-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.
- package/.openapi-generator/FILES +7 -2
- package/README.md +21 -2
- package/api.ts +1703 -199
- package/dist/api.d.ts +1018 -139
- package/dist/api.js +1379 -97
- package/dist/models/EventStatusEnum.d.ts +18 -0
- package/dist/models/EventStatusEnum.js +20 -0
- package/dist/models/PortStatusEnum.d.ts +18 -0
- package/dist/models/PortStatusEnum.js +20 -0
- package/docs/Class3CXMultiTenantApi.md +55 -0
- package/docs/NumberPortDTO.md +55 -0
- package/docs/NumberPortModel.md +51 -0
- package/docs/NumberPortRangeDTO.md +33 -0
- package/docs/NumberPortRangeRequestDTO.md +27 -0
- package/docs/NumberPortingApi.md +668 -0
- package/docs/NumberPortsModel.md +27 -0
- package/docs/OAuth20Api.md +3 -3
- package/docs/OrdersApi.md +14 -14
- package/docs/SIPTrunksApi.md +55 -0
- package/docs/ShipmentDTO.md +2 -0
- package/docs/SupportTicketModel.md +41 -0
- package/docs/TicketsApi.md +8 -8
- package/models/EventStatusEnum.ts +19 -0
- package/models/PortStatusEnum.ts +19 -0
- package/package.json +1 -1
package/docs/OAuth20Api.md
CHANGED
|
@@ -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<'client_credentials' | 'code' | 'refresh_token' | 'authorization_code' | 'ms_auth' | 'token_exchange' | 'password'>** | OAuth 2.0 Grant Type | (optional) defaults to undefined|
|
|
160
|
-
| **scope** | [**string**]**Array<'*' | '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 | (optional) defaults to undefined|
|
|
160
|
+
| **scope** | [**string**]**Array<'*' | '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 | (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' | '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' | '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)
|
|
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** | [**'*' | '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'**]**Array<'*' | '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 | defaults to undefined|
|
|
236
|
+
| **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'**]**Array<'*' | '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 | 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|
|
package/docs/OrdersApi.md
CHANGED
|
@@ -4,8 +4,8 @@ All URIs are relative to *https://api.yellowgrid.local*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**deleteCreateShipment**](#deletecreateshipment) | **DELETE** /admin/orders/{id}/batches/{batch_id}/shipments | Delete Shipment (Admin)|
|
|
8
7
|
|[**deleteDeleteBatch**](#deletedeletebatch) | **DELETE** /admin/orders/{id}/batches/{batch_id} | |
|
|
8
|
+
|[**deleteDeleteShipment**](#deletedeleteshipment) | **DELETE** /admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id} | Delete Shipment (Admin)|
|
|
9
9
|
|[**deleteUpdateOrder**](#deleteupdateorder) | **DELETE** /orders/{id} | Delete Orders (Beta)|
|
|
10
10
|
|[**getGetAdminEditableOrder**](#getgetadmineditableorder) | **GET** /admin/orders/{id}/views/editable | Get Editable Order (Admin)|
|
|
11
11
|
|[**getGetAdminOrderDetails**](#getgetadminorderdetails) | **GET** /admin/orders/{id}/details | Get Order Details (Admin)|
|
|
@@ -27,10 +27,10 @@ All URIs are relative to *https://api.yellowgrid.local*
|
|
|
27
27
|
|[**putUpdateAdminOrder**](#putupdateadminorder) | **PUT** /admin/orders/{id} | Update An Order (Admin)|
|
|
28
28
|
|[**putUpdateOrder**](#putupdateorder) | **PUT** /orders/{id} | Update An Order (Beta)|
|
|
29
29
|
|
|
30
|
-
# **
|
|
31
|
-
>
|
|
30
|
+
# **deleteDeleteBatch**
|
|
31
|
+
> deleteDeleteBatch()
|
|
32
32
|
|
|
33
|
-
Delete
|
|
33
|
+
Delete Batch (Admin)
|
|
34
34
|
|
|
35
35
|
### Example
|
|
36
36
|
|
|
@@ -45,12 +45,10 @@ const apiInstance = new OrdersApi(configuration);
|
|
|
45
45
|
|
|
46
46
|
let id: number; //Order ID (default to undefined)
|
|
47
47
|
let batchId: number; //Batch ID (default to undefined)
|
|
48
|
-
let shipmentId: number; //Shipment ID (default to undefined)
|
|
49
48
|
|
|
50
|
-
const { status, data } = await apiInstance.
|
|
49
|
+
const { status, data } = await apiInstance.deleteDeleteBatch(
|
|
51
50
|
id,
|
|
52
|
-
batchId
|
|
53
|
-
shipmentId
|
|
51
|
+
batchId
|
|
54
52
|
);
|
|
55
53
|
```
|
|
56
54
|
|
|
@@ -60,7 +58,6 @@ const { status, data } = await apiInstance.deleteCreateShipment(
|
|
|
60
58
|
|------------- | ------------- | ------------- | -------------|
|
|
61
59
|
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
62
60
|
| **batchId** | [**number**] | Batch ID | defaults to undefined|
|
|
63
|
-
| **shipmentId** | [**number**] | Shipment ID | defaults to undefined|
|
|
64
61
|
|
|
65
62
|
|
|
66
63
|
### Return type
|
|
@@ -87,10 +84,10 @@ No authorization required
|
|
|
87
84
|
|
|
88
85
|
[[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)
|
|
89
86
|
|
|
90
|
-
# **
|
|
91
|
-
>
|
|
87
|
+
# **deleteDeleteShipment**
|
|
88
|
+
> deleteDeleteShipment()
|
|
92
89
|
|
|
93
|
-
Delete
|
|
90
|
+
Delete Shipment (Admin)
|
|
94
91
|
|
|
95
92
|
### Example
|
|
96
93
|
|
|
@@ -105,10 +102,12 @@ const apiInstance = new OrdersApi(configuration);
|
|
|
105
102
|
|
|
106
103
|
let id: number; //Order ID (default to undefined)
|
|
107
104
|
let batchId: number; //Batch ID (default to undefined)
|
|
105
|
+
let shipmentId: number; //Shipment ID (default to undefined)
|
|
108
106
|
|
|
109
|
-
const { status, data } = await apiInstance.
|
|
107
|
+
const { status, data } = await apiInstance.deleteDeleteShipment(
|
|
110
108
|
id,
|
|
111
|
-
batchId
|
|
109
|
+
batchId,
|
|
110
|
+
shipmentId
|
|
112
111
|
);
|
|
113
112
|
```
|
|
114
113
|
|
|
@@ -118,6 +117,7 @@ const { status, data } = await apiInstance.deleteDeleteBatch(
|
|
|
118
117
|
|------------- | ------------- | ------------- | -------------|
|
|
119
118
|
| **id** | [**number**] | Order ID | defaults to undefined|
|
|
120
119
|
| **batchId** | [**number**] | Batch ID | defaults to undefined|
|
|
120
|
+
| **shipmentId** | [**number**] | Shipment ID | defaults to undefined|
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
### Return type
|
package/docs/SIPTrunksApi.md
CHANGED
|
@@ -7,6 +7,7 @@ All URIs are relative to *https://api.yellowgrid.local*
|
|
|
7
7
|
|[**deleteGetSipTrunk**](#deletegetsiptrunk) | **DELETE** /sip/trunks/{id} | Delete SIP Trunk|
|
|
8
8
|
|[**getCanDivert**](#getcandivert) | **GET** /sip/trunks/{id}/diverts/allowed | SIP Trunk Diverts Allowed|
|
|
9
9
|
|[**getGetAddress**](#getgetaddress) | **GET** /sip/trunks/{id}/address | Get SIP Trunk Address|
|
|
10
|
+
|[**getGetAdminSipTrunks**](#getgetadminsiptrunks) | **GET** /sip/trunks/admin | |
|
|
10
11
|
|[**getGetAreaCodes**](#getgetareacodes) | **GET** /sip/trunks/area/codes | Get UK National Area Codes|
|
|
11
12
|
|[**getGetCliFlexibility**](#getgetcliflexibility) | **GET** /sip/trunks/{id}/cli/flexibility | Get SIP Trunk CLI Flexibility Status|
|
|
12
13
|
|[**getGetDdis**](#getgetddis) | **GET** /sip/trunks/{id}/ddis | Get SIP Trunk DDIs|
|
|
@@ -189,6 +190,60 @@ No authorization required
|
|
|
189
190
|
|
|
190
191
|
[[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)
|
|
191
192
|
|
|
193
|
+
# **getGetAdminSipTrunks**
|
|
194
|
+
> Array<SipTrunkEntity> getGetAdminSipTrunks()
|
|
195
|
+
|
|
196
|
+
Get SIP Trunks
|
|
197
|
+
|
|
198
|
+
### Example
|
|
199
|
+
|
|
200
|
+
```typescript
|
|
201
|
+
import {
|
|
202
|
+
SIPTrunksApi,
|
|
203
|
+
Configuration
|
|
204
|
+
} from 'yellowgrid-api-ts';
|
|
205
|
+
|
|
206
|
+
const configuration = new Configuration();
|
|
207
|
+
const apiInstance = new SIPTrunksApi(configuration);
|
|
208
|
+
|
|
209
|
+
let customerId: number; //Customer ID (optional) (default to undefined)
|
|
210
|
+
|
|
211
|
+
const { status, data } = await apiInstance.getGetAdminSipTrunks(
|
|
212
|
+
customerId
|
|
213
|
+
);
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
### Parameters
|
|
217
|
+
|
|
218
|
+
|Name | Type | Description | Notes|
|
|
219
|
+
|------------- | ------------- | ------------- | -------------|
|
|
220
|
+
| **customerId** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
### Return type
|
|
224
|
+
|
|
225
|
+
**Array<SipTrunkEntity>**
|
|
226
|
+
|
|
227
|
+
### Authorization
|
|
228
|
+
|
|
229
|
+
No authorization required
|
|
230
|
+
|
|
231
|
+
### HTTP request headers
|
|
232
|
+
|
|
233
|
+
- **Content-Type**: Not defined
|
|
234
|
+
- **Accept**: application/json
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
### HTTP response details
|
|
238
|
+
| Status code | Description | Response headers |
|
|
239
|
+
|-------------|-------------|------------------|
|
|
240
|
+
|**200** | SIP Trunks | - |
|
|
241
|
+
|**400** | Bad Request | - |
|
|
242
|
+
|**401** | Unauthorised | - |
|
|
243
|
+
|**403** | Access Denied | - |
|
|
244
|
+
|
|
245
|
+
[[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)
|
|
246
|
+
|
|
192
247
|
# **getGetAreaCodes**
|
|
193
248
|
> Array<AreaCodeModel> getGetAreaCodes()
|
|
194
249
|
|
package/docs/ShipmentDTO.md
CHANGED
|
@@ -7,6 +7,7 @@ Shipment
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
|
+
**batchId** | **number** | Batch ID | [optional] [default to undefined]
|
|
10
11
|
**courier** | **string** | Courier | [optional] [default to undefined]
|
|
11
12
|
**reference** | **string** | Courier Reference | [optional] [default to undefined]
|
|
12
13
|
**requestedDate** | **string** | Date Time | [optional] [default to undefined]
|
|
@@ -21,6 +22,7 @@ import { ShipmentDTO } from 'yellowgrid-api-ts';
|
|
|
21
22
|
|
|
22
23
|
const instance: ShipmentDTO = {
|
|
23
24
|
id,
|
|
25
|
+
batchId,
|
|
24
26
|
courier,
|
|
25
27
|
reference,
|
|
26
28
|
requestedDate,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# SupportTicketModel
|
|
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<string>** | 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<AttachmentModel>**](AttachmentModel.md) | Attachments | [optional] [default to undefined]
|
|
19
|
+
**conversations** | [**Array<ConversationModel>**](ConversationModel.md) | Conversations | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { SupportTicketModel } from 'yellowgrid-api-ts';
|
|
25
|
+
|
|
26
|
+
const instance: SupportTicketModel = {
|
|
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)
|
package/docs/TicketsApi.md
CHANGED
|
@@ -71,7 +71,7 @@ No authorization required
|
|
|
71
71
|
[[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)
|
|
72
72
|
|
|
73
73
|
# **getGetTicket**
|
|
74
|
-
>
|
|
74
|
+
> SupportTicketModel getGetTicket()
|
|
75
75
|
|
|
76
76
|
Retrieve a telephony support ticket
|
|
77
77
|
|
|
@@ -102,7 +102,7 @@ const { status, data } = await apiInstance.getGetTicket(
|
|
|
102
102
|
|
|
103
103
|
### Return type
|
|
104
104
|
|
|
105
|
-
**
|
|
105
|
+
**SupportTicketModel**
|
|
106
106
|
|
|
107
107
|
### Authorization
|
|
108
108
|
|
|
@@ -125,7 +125,7 @@ No authorization required
|
|
|
125
125
|
[[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)
|
|
126
126
|
|
|
127
127
|
# **patchCloseTicket**
|
|
128
|
-
>
|
|
128
|
+
> SupportTicketModel patchCloseTicket()
|
|
129
129
|
|
|
130
130
|
Close a telephony support ticket
|
|
131
131
|
|
|
@@ -156,7 +156,7 @@ const { status, data } = await apiInstance.patchCloseTicket(
|
|
|
156
156
|
|
|
157
157
|
### Return type
|
|
158
158
|
|
|
159
|
-
**
|
|
159
|
+
**SupportTicketModel**
|
|
160
160
|
|
|
161
161
|
### Authorization
|
|
162
162
|
|
|
@@ -179,7 +179,7 @@ No authorization required
|
|
|
179
179
|
[[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)
|
|
180
180
|
|
|
181
181
|
# **postCreateTicket**
|
|
182
|
-
>
|
|
182
|
+
> SupportTicketModel postCreateTicket()
|
|
183
183
|
|
|
184
184
|
Create a new telephony support ticket
|
|
185
185
|
|
|
@@ -216,7 +216,7 @@ const { status, data } = await apiInstance.postCreateTicket(
|
|
|
216
216
|
|
|
217
217
|
### Return type
|
|
218
218
|
|
|
219
|
-
**
|
|
219
|
+
**SupportTicketModel**
|
|
220
220
|
|
|
221
221
|
### Authorization
|
|
222
222
|
|
|
@@ -239,7 +239,7 @@ No authorization required
|
|
|
239
239
|
[[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)
|
|
240
240
|
|
|
241
241
|
# **postTicketReply**
|
|
242
|
-
>
|
|
242
|
+
> SupportTicketModel postTicketReply()
|
|
243
243
|
|
|
244
244
|
Reply to a telephony support ticket
|
|
245
245
|
|
|
@@ -276,7 +276,7 @@ const { status, data } = await apiInstance.postTicketReply(
|
|
|
276
276
|
|
|
277
277
|
### Return type
|
|
278
278
|
|
|
279
|
-
**
|
|
279
|
+
**SupportTicketModel**
|
|
280
280
|
|
|
281
281
|
### Authorization
|
|
282
282
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const EventStatusEnum = {
|
|
2
|
+
"ONGOING": {
|
|
3
|
+
"name": "ONGOING",
|
|
4
|
+
"value": 0,
|
|
5
|
+
"publicValue": "Ongoing"
|
|
6
|
+
},
|
|
7
|
+
"RESOLVED": {
|
|
8
|
+
"name": "RESOLVED",
|
|
9
|
+
"value": 1,
|
|
10
|
+
"publicValue": "Resolved"
|
|
11
|
+
},
|
|
12
|
+
"ARCHIVED": {
|
|
13
|
+
"name": "ARCHIVED",
|
|
14
|
+
"value": 2,
|
|
15
|
+
"publicValue": "Archived"
|
|
16
|
+
}
|
|
17
|
+
} as const;
|
|
18
|
+
|
|
19
|
+
export type EventStatusEnum = typeof EventStatusEnum;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const PortStatusEnum = {
|
|
2
|
+
"DRAFT": {
|
|
3
|
+
"name": "DRAFT",
|
|
4
|
+
"value": 0,
|
|
5
|
+
"publicValue": "Draft"
|
|
6
|
+
},
|
|
7
|
+
"OPEN": {
|
|
8
|
+
"name": "OPEN",
|
|
9
|
+
"value": 1,
|
|
10
|
+
"publicValue": "Open"
|
|
11
|
+
},
|
|
12
|
+
"CLOSED": {
|
|
13
|
+
"name": "CLOSED",
|
|
14
|
+
"value": 2,
|
|
15
|
+
"publicValue": "Closed"
|
|
16
|
+
}
|
|
17
|
+
} as const;
|
|
18
|
+
|
|
19
|
+
export type PortStatusEnum = typeof PortStatusEnum;
|