yellowgrid-api-ts 3.0.79
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 +189 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +385 -0
- package/api.ts +20310 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/config.json +3 -0
- package/configuration.ts +115 -0
- package/dist/api.d.ts +14136 -0
- package/dist/api.js +14123 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +86 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +253 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +57 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AccountContactEntity.md +45 -0
- package/docs/AccountContactModel.md +45 -0
- package/docs/AccountContactRequestModel.md +37 -0
- package/docs/AccountRequestModel.md +53 -0
- package/docs/AccountSummaryDTO.md +25 -0
- package/docs/AccountsApi.md +948 -0
- package/docs/AccountsResponseModel.md +27 -0
- package/docs/AddressModel.md +45 -0
- package/docs/AddressRequestModel.md +27 -0
- package/docs/AgentHoursGraphModel.md +27 -0
- package/docs/AgentHoursGraphMonthModel.md +23 -0
- package/docs/ApiLogEntity.md +43 -0
- package/docs/AreaCodeModel.md +23 -0
- package/docs/AttachmentModel.md +29 -0
- package/docs/AttributeSetEnum.md +23 -0
- package/docs/AuthCodeResponseModel.md +25 -0
- package/docs/BatchEntity.md +53 -0
- package/docs/CallBarringModel.md +29 -0
- package/docs/Class3CXApi.md +172 -0
- package/docs/Class3CXInstallationWizardApi.md +1355 -0
- package/docs/Class3CXInstallationsApi.md +651 -0
- package/docs/Class3CXIntegrationsApi.md +344 -0
- package/docs/Class3CXMultiTenantApi.md +404 -0
- package/docs/ClientDetailsModel.md +35 -0
- package/docs/ClientModel.md +27 -0
- package/docs/CompanyContractModel.md +29 -0
- package/docs/ContactInfoModel.md +29 -0
- package/docs/ConversationModel.md +35 -0
- package/docs/CreditAccountEntity.md +61 -0
- package/docs/CustomerInformationModel.md +33 -0
- package/docs/CustomerPriceListEnum.md +23 -0
- package/docs/CustomerSummaryReportDTO.md +31 -0
- package/docs/DdiRangeRequestModel.md +25 -0
- package/docs/DdiRangesRequestModel.md +21 -0
- package/docs/DivertRequestModel.md +23 -0
- package/docs/DivertResponseModel.md +25 -0
- package/docs/EdTechProClientEntity.md +29 -0
- package/docs/EdTechProSchoolModel.md +47 -0
- package/docs/EdTechProSchoolsModel.md +27 -0
- package/docs/EdTechProSetupModel.md +29 -0
- package/docs/FraudManagementModel.md +23 -0
- package/docs/FreshdeskCompanyTicketsModel.md +27 -0
- package/docs/FreshdeskTicketEntity.md +33 -0
- package/docs/FtpAccountsEntity.md +29 -0
- package/docs/GenericFileModel.md +25 -0
- package/docs/GetGetPasswordHash200Response.md +20 -0
- package/docs/GetGetPrice200Response.md +20 -0
- package/docs/GetGetRecording200Response.md +20 -0
- package/docs/HostingChangeResponseModel.md +29 -0
- package/docs/InstanceAutoFailoverEntity.md +29 -0
- package/docs/InstanceDeletionScheduleEntity.md +27 -0
- package/docs/InstanceEntity.md +59 -0
- package/docs/InstanceFailoverEntity.md +41 -0
- package/docs/InstanceMonitoringEntity.md +25 -0
- package/docs/InstanceMonitoringLogEntity.md +31 -0
- package/docs/InstanceScheduledTasksEntity.md +31 -0
- package/docs/InstanceTcxDetailsEntity.md +39 -0
- package/docs/InstanceUserCredentialsEntity.md +29 -0
- package/docs/ItemDTO.md +41 -0
- package/docs/ItemEntity.md +61 -0
- package/docs/MFARequiredModel.md +23 -0
- package/docs/MonthlyUsageModel.md +23 -0
- package/docs/MultiTenantChangeResponseModel.md +27 -0
- package/docs/MyPBXToolsApi.md +65 -0
- package/docs/NavigationModel.md +27 -0
- package/docs/OAuth20Api.md +368 -0
- package/docs/OfflineInstancesEntity.md +29 -0
- package/docs/OrderEntity.md +135 -0
- package/docs/OrderRequestModel.md +45 -0
- package/docs/OrderSummariesModel.md +27 -0
- package/docs/OrderSummaryDTO.md +43 -0
- package/docs/OrderTotalModel.md +33 -0
- package/docs/OrderedItemEntity.md +47 -0
- package/docs/OrdersApi.md +135 -0
- package/docs/PatchSetTcxWizardCnameRequest.md +20 -0
- package/docs/PatchUpdateAccountContactPasswordRequest.md +20 -0
- package/docs/PortalAccountModel.md +67 -0
- package/docs/PortalLoginModel.md +33 -0
- package/docs/PostAddWebhook200Response.md +20 -0
- package/docs/PostGetClientCredentialsRequest.md +20 -0
- package/docs/PriceListItemModel.md +29 -0
- package/docs/PricingApi.md +138 -0
- package/docs/PrizesEntity.md +31 -0
- package/docs/ProductSearchResultsModel.md +21 -0
- package/docs/ProductSerialInfoModel.md +27 -0
- package/docs/ProductSummaryModel.md +31 -0
- package/docs/ProductsApi.md +315 -0
- package/docs/PromoCodesEntity.md +43 -0
- package/docs/PromoItemsEntity.md +35 -0
- package/docs/ProvisioningApi.md +402 -0
- package/docs/ProvisioningEntity.md +29 -0
- package/docs/ProvisioningRequestEntity.md +25 -0
- package/docs/ResourceNotReadyException.md +25 -0
- package/docs/RootAccessModel.md +25 -0
- package/docs/SIPTrunksApi.md +1258 -0
- package/docs/SMSApi.md +66 -0
- package/docs/ScannedItemModel.md +29 -0
- package/docs/ScopeModel.md +23 -0
- package/docs/ShipmentAddressEntity.md +41 -0
- package/docs/ShipmentEntity.md +43 -0
- package/docs/ShipmentItemEntity.md +29 -0
- package/docs/SipTrunkChangeResponseModel.md +29 -0
- package/docs/SipTrunkCreationRequestModel.md +31 -0
- package/docs/SipTrunkEntity.md +43 -0
- package/docs/SipTrunksResponseModel.md +27 -0
- package/docs/SmsAccountEntity.md +33 -0
- package/docs/SmsDataModel.md +21 -0
- package/docs/SmsMessageModel.md +25 -0
- package/docs/SmsNumbersEntity.md +23 -0
- package/docs/SmsPayloadModel.md +25 -0
- package/docs/SmsPhoneNumberModel.md +23 -0
- package/docs/SmsResponseModel.md +29 -0
- package/docs/SmsWhitelistEntity.md +23 -0
- package/docs/StockManagementApi.md +1380 -0
- package/docs/StockOrderCourierEntity.md +27 -0
- package/docs/StockOrderDeductionModel.md +27 -0
- package/docs/StockOrderDeductionRequestModel.md +23 -0
- package/docs/StockOrderDeductionsEntity.md +27 -0
- package/docs/StockOrderEntity.md +63 -0
- package/docs/StockOrderItemEntity.md +33 -0
- package/docs/StockOrderItemModel.md +37 -0
- package/docs/StockOrderItemRequestModel.md +27 -0
- package/docs/StockOrderModel.md +49 -0
- package/docs/StockOrderProductEntity.md +31 -0
- package/docs/StockOrderRequestModel.md +25 -0
- package/docs/StockOrderSupplierEntity.md +37 -0
- package/docs/StockOrderSupplierModel.md +37 -0
- package/docs/StockOrdersModel.md +27 -0
- package/docs/StockProductModel.md +49 -0
- package/docs/StockProductPriceModel.md +23 -0
- package/docs/StockProductSummariesModel.md +27 -0
- package/docs/StockProductSummaryModel.md +33 -0
- package/docs/StockTransactionsEntity.md +35 -0
- package/docs/SupplierEntity.md +37 -0
- package/docs/SupplierItemEntity.md +35 -0
- package/docs/SystemApi.md +80 -0
- package/docs/TcxBackupEntity.md +37 -0
- package/docs/TcxBackupModel.md +55 -0
- package/docs/TcxBillingEntity.md +39 -0
- package/docs/TcxBulkLicenceDetailsModel.md +23 -0
- package/docs/TcxDeadLicenceEntity.md +25 -0
- package/docs/TcxExtsEntity.md +35 -0
- package/docs/TcxHostingPricingEntity.md +35 -0
- package/docs/TcxInstallationDetailsModel.md +45 -0
- package/docs/TcxInstallationModel.md +75 -0
- package/docs/TcxInstallationsModel.md +27 -0
- package/docs/TcxKeySummaryDTO.md +29 -0
- package/docs/TcxKeysEntity.md +31 -0
- package/docs/TcxLicenceDetailsErrorModel.md +27 -0
- package/docs/TcxLicenceDetailsModel.md +41 -0
- package/docs/TcxMacsEntity.md +25 -0
- package/docs/TcxMultiTenantModel.md +47 -0
- package/docs/TcxMultiTenantUserModel.md +25 -0
- package/docs/TcxMultiTenantsModel.md +27 -0
- package/docs/TcxNumbersEntity.md +25 -0
- package/docs/TcxOfficeHoursEntity.md +49 -0
- package/docs/TcxPhoneModel.md +32 -0
- package/docs/TcxPhonesEntity.md +31 -0
- package/docs/TcxSbcEntity.md +51 -0
- package/docs/TcxSetupEntity.md +71 -0
- package/docs/TcxSetupsModel.md +27 -0
- package/docs/TcxSipTrunksEntity.md +45 -0
- package/docs/TcxTemplateXmlEnum.md +23 -0
- package/docs/TcxUsersEntity.md +31 -0
- package/docs/TcxWizardConfigModel.md +23 -0
- package/docs/TcxWizardModel.md +47 -0
- package/docs/TechSupportCompanySummaryDTO.md +29 -0
- package/docs/TelephonySupportTicketModel.md +41 -0
- package/docs/TicketSummaryModel.md +35 -0
- package/docs/TicketTimeDTO.md +36 -0
- package/docs/TicketsApi.md +300 -0
- package/docs/TokenResponseModel.md +25 -0
- package/docs/UpgradeOrderResponseModel.md +23 -0
- package/docs/UpgradeRequestModel.md +27 -0
- package/docs/UserEntity.md +39 -0
- package/docs/WebhooksApi.md +117 -0
- package/docs/XeroLogEntity.md +39 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/openapitools.json +7 -0
- package/package.json +31 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,1355 @@
|
|
|
1
|
+
# Class3CXInstallationWizardApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://api.yellowgrid.local*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**deleteAddExtensions**](#deleteaddextensions) | **DELETE** /tcx/wizards/extensions | Delete 3CX Installation Wizard Extensions|
|
|
8
|
+
|[**deleteAddNumbers**](#deleteaddnumbers) | **DELETE** /tcx/wizards/numbers | Delete 3CX Installation Wizard Numbers|
|
|
9
|
+
|[**deleteAddPhones**](#deleteaddphones) | **DELETE** /tcx/wizards/phones | Delete 3CX Installation Wizard Phone|
|
|
10
|
+
|[**deleteAddSbcs**](#deleteaddsbcs) | **DELETE** /tcx/wizards/sbcs | Delete 3CX Installation Wizard SBCs|
|
|
11
|
+
|[**deleteGetWizard**](#deletegetwizard) | **DELETE** /tcx/wizards | Delete 3CX Installation Wizard|
|
|
12
|
+
|[**getAddPhones**](#getaddphones) | **GET** /tcx/wizards/phones | Get phones on linked order and MAC addresses|
|
|
13
|
+
|[**getGetHostingPrice**](#getgethostingprice) | **GET** /tcx/wizards/price | Get Hosting Price|
|
|
14
|
+
|[**getGetInstallStatus**](#getgetinstallstatus) | **GET** /tcx/wizard/build/status | Get 3CX Instance Install Status|
|
|
15
|
+
|[**getGetInstanceInstallStatus**](#getgetinstanceinstallstatus) | **GET** /tcx/wizards/instances/build/status | Get 3CX Instance Install Status|
|
|
16
|
+
|[**getGetPbxIpAddress**](#getgetpbxipaddress) | **GET** /tcx/wizards/instances/ip | Get PBX IP Address|
|
|
17
|
+
|[**getGetWizard**](#getgetwizard) | **GET** /tcx/wizards | Get 3CX Installation Wizard|
|
|
18
|
+
|[**patchAddExtensions**](#patchaddextensions) | **PATCH** /tcx/wizards/extensions | Update 3CX Installation Wizard Extensions|
|
|
19
|
+
|[**patchAddNumbers**](#patchaddnumbers) | **PATCH** /tcx/wizards/numbers | Update 3CX Installation Wizard Numbers|
|
|
20
|
+
|[**patchAddPhones**](#patchaddphones) | **PATCH** /tcx/wizards/phones | Update 3CX Installation Wizard Phones|
|
|
21
|
+
|[**patchAddSbcs**](#patchaddsbcs) | **PATCH** /tcx/wizards/sbcs | Update 3CX Installation Wizard SBCs|
|
|
22
|
+
|[**patchGetWizard**](#patchgetwizard) | **PATCH** /tcx/wizards | Update 3CX Installation Wizard|
|
|
23
|
+
|[**postAddExtensions**](#postaddextensions) | **POST** /tcx/wizards/extensions | Add Extensions To 3CX Installation Wizard|
|
|
24
|
+
|[**postAddNumbers**](#postaddnumbers) | **POST** /tcx/wizards/numbers | Add Numbers To 3CX Installation Wizard|
|
|
25
|
+
|[**postAddPhones**](#postaddphones) | **POST** /tcx/wizards/phones | Add Phones To 3CX Installation Wizard|
|
|
26
|
+
|[**postAddSbcs**](#postaddsbcs) | **POST** /tcx/wizards/sbcs | Add SBCs To 3CX Installation Wizard|
|
|
27
|
+
|[**postBuildInstance**](#postbuildinstance) | **POST** /tcx/wizards/instances/build | Build Instance From 3CX Installation Wizard|
|
|
28
|
+
|[**postBuildInstanceFromWizard**](#postbuildinstancefromwizard) | **POST** /tcx/wizard/build | Start 3CX Installation Build Process|
|
|
29
|
+
|[**postCreateInstance**](#postcreateinstance) | **POST** /tcx/wizards/instances/create | Create Instance From 3CX Installation Wizard|
|
|
30
|
+
|[**postCreateInstanceFromWizard**](#postcreateinstancefromwizard) | **POST** /tcx/wizard/create | Create Hosted Instance From 3CX Installation Wizard Config|
|
|
31
|
+
|[**postUploadBackup**](#postuploadbackup) | **POST** /tcx/wizards/backup | |
|
|
32
|
+
|
|
33
|
+
# **deleteAddExtensions**
|
|
34
|
+
> deleteAddExtensions()
|
|
35
|
+
|
|
36
|
+
Delete 3CX Installation Wizard Extensions
|
|
37
|
+
|
|
38
|
+
### Example
|
|
39
|
+
|
|
40
|
+
```typescript
|
|
41
|
+
import {
|
|
42
|
+
Class3CXInstallationWizardApi,
|
|
43
|
+
Configuration
|
|
44
|
+
} from 'yellowgrid-api-ts';
|
|
45
|
+
|
|
46
|
+
const configuration = new Configuration();
|
|
47
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
48
|
+
|
|
49
|
+
let tcxExtsEntity: Array<TcxExtsEntity>; //3CX Wizard Extensions (optional)
|
|
50
|
+
|
|
51
|
+
const { status, data } = await apiInstance.deleteAddExtensions(
|
|
52
|
+
tcxExtsEntity
|
|
53
|
+
);
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Parameters
|
|
57
|
+
|
|
58
|
+
|Name | Type | Description | Notes|
|
|
59
|
+
|------------- | ------------- | ------------- | -------------|
|
|
60
|
+
| **tcxExtsEntity** | **Array<TcxExtsEntity>**| 3CX Wizard Extensions | |
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Return type
|
|
64
|
+
|
|
65
|
+
void (empty response body)
|
|
66
|
+
|
|
67
|
+
### Authorization
|
|
68
|
+
|
|
69
|
+
No authorization required
|
|
70
|
+
|
|
71
|
+
### HTTP request headers
|
|
72
|
+
|
|
73
|
+
- **Content-Type**: application/json
|
|
74
|
+
- **Accept**: Not defined
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### HTTP response details
|
|
78
|
+
| Status code | Description | Response headers |
|
|
79
|
+
|-------------|-------------|------------------|
|
|
80
|
+
|**200** | No Response | - |
|
|
81
|
+
|**400** | Bad Request | - |
|
|
82
|
+
|**401** | Unauthorised | - |
|
|
83
|
+
|**403** | Access Denied | - |
|
|
84
|
+
|
|
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)
|
|
86
|
+
|
|
87
|
+
# **deleteAddNumbers**
|
|
88
|
+
> deleteAddNumbers()
|
|
89
|
+
|
|
90
|
+
Delete 3CX Installation Wizard Numbers
|
|
91
|
+
|
|
92
|
+
### Example
|
|
93
|
+
|
|
94
|
+
```typescript
|
|
95
|
+
import {
|
|
96
|
+
Class3CXInstallationWizardApi,
|
|
97
|
+
Configuration
|
|
98
|
+
} from 'yellowgrid-api-ts';
|
|
99
|
+
|
|
100
|
+
const configuration = new Configuration();
|
|
101
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
102
|
+
|
|
103
|
+
let tcxNumbersEntity: Array<TcxNumbersEntity>; //3CX Wizard Numbers (optional)
|
|
104
|
+
|
|
105
|
+
const { status, data } = await apiInstance.deleteAddNumbers(
|
|
106
|
+
tcxNumbersEntity
|
|
107
|
+
);
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Parameters
|
|
111
|
+
|
|
112
|
+
|Name | Type | Description | Notes|
|
|
113
|
+
|------------- | ------------- | ------------- | -------------|
|
|
114
|
+
| **tcxNumbersEntity** | **Array<TcxNumbersEntity>**| 3CX Wizard Numbers | |
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Return type
|
|
118
|
+
|
|
119
|
+
void (empty response body)
|
|
120
|
+
|
|
121
|
+
### Authorization
|
|
122
|
+
|
|
123
|
+
No authorization required
|
|
124
|
+
|
|
125
|
+
### HTTP request headers
|
|
126
|
+
|
|
127
|
+
- **Content-Type**: application/json
|
|
128
|
+
- **Accept**: Not defined
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### HTTP response details
|
|
132
|
+
| Status code | Description | Response headers |
|
|
133
|
+
|-------------|-------------|------------------|
|
|
134
|
+
|**200** | No Response | - |
|
|
135
|
+
|**400** | Bad Request | - |
|
|
136
|
+
|**401** | Unauthorised | - |
|
|
137
|
+
|**403** | Access Denied | - |
|
|
138
|
+
|
|
139
|
+
[[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)
|
|
140
|
+
|
|
141
|
+
# **deleteAddPhones**
|
|
142
|
+
> deleteAddPhones()
|
|
143
|
+
|
|
144
|
+
Delete 3CX Installation Wizard Phones
|
|
145
|
+
|
|
146
|
+
### Example
|
|
147
|
+
|
|
148
|
+
```typescript
|
|
149
|
+
import {
|
|
150
|
+
Class3CXInstallationWizardApi,
|
|
151
|
+
Configuration
|
|
152
|
+
} from 'yellowgrid-api-ts';
|
|
153
|
+
|
|
154
|
+
const configuration = new Configuration();
|
|
155
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
156
|
+
|
|
157
|
+
let tcxPhonesEntity: Array<TcxPhonesEntity>; //3CX Wizard Phones (optional)
|
|
158
|
+
|
|
159
|
+
const { status, data } = await apiInstance.deleteAddPhones(
|
|
160
|
+
tcxPhonesEntity
|
|
161
|
+
);
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Parameters
|
|
165
|
+
|
|
166
|
+
|Name | Type | Description | Notes|
|
|
167
|
+
|------------- | ------------- | ------------- | -------------|
|
|
168
|
+
| **tcxPhonesEntity** | **Array<TcxPhonesEntity>**| 3CX Wizard Phones | |
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### Return type
|
|
172
|
+
|
|
173
|
+
void (empty response body)
|
|
174
|
+
|
|
175
|
+
### Authorization
|
|
176
|
+
|
|
177
|
+
No authorization required
|
|
178
|
+
|
|
179
|
+
### HTTP request headers
|
|
180
|
+
|
|
181
|
+
- **Content-Type**: application/json
|
|
182
|
+
- **Accept**: Not defined
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
### HTTP response details
|
|
186
|
+
| Status code | Description | Response headers |
|
|
187
|
+
|-------------|-------------|------------------|
|
|
188
|
+
|**200** | No Response | - |
|
|
189
|
+
|**400** | Bad Request | - |
|
|
190
|
+
|**401** | Unauthorised | - |
|
|
191
|
+
|**403** | Access Denied | - |
|
|
192
|
+
|
|
193
|
+
[[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)
|
|
194
|
+
|
|
195
|
+
# **deleteAddSbcs**
|
|
196
|
+
> deleteAddSbcs()
|
|
197
|
+
|
|
198
|
+
Delete 3CX Installation Wizard SBCs
|
|
199
|
+
|
|
200
|
+
### Example
|
|
201
|
+
|
|
202
|
+
```typescript
|
|
203
|
+
import {
|
|
204
|
+
Class3CXInstallationWizardApi,
|
|
205
|
+
Configuration
|
|
206
|
+
} from 'yellowgrid-api-ts';
|
|
207
|
+
|
|
208
|
+
const configuration = new Configuration();
|
|
209
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
210
|
+
|
|
211
|
+
let tcxSbcEntity: Array<TcxSbcEntity>; //3CX Wizard SBCs (optional)
|
|
212
|
+
|
|
213
|
+
const { status, data } = await apiInstance.deleteAddSbcs(
|
|
214
|
+
tcxSbcEntity
|
|
215
|
+
);
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### Parameters
|
|
219
|
+
|
|
220
|
+
|Name | Type | Description | Notes|
|
|
221
|
+
|------------- | ------------- | ------------- | -------------|
|
|
222
|
+
| **tcxSbcEntity** | **Array<TcxSbcEntity>**| 3CX Wizard SBCs | |
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
### Return type
|
|
226
|
+
|
|
227
|
+
void (empty response body)
|
|
228
|
+
|
|
229
|
+
### Authorization
|
|
230
|
+
|
|
231
|
+
No authorization required
|
|
232
|
+
|
|
233
|
+
### HTTP request headers
|
|
234
|
+
|
|
235
|
+
- **Content-Type**: application/json
|
|
236
|
+
- **Accept**: Not defined
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
### HTTP response details
|
|
240
|
+
| Status code | Description | Response headers |
|
|
241
|
+
|-------------|-------------|------------------|
|
|
242
|
+
|**200** | No Response | - |
|
|
243
|
+
|**400** | Bad Request | - |
|
|
244
|
+
|**401** | Unauthorised | - |
|
|
245
|
+
|**403** | Access Denied | - |
|
|
246
|
+
|
|
247
|
+
[[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)
|
|
248
|
+
|
|
249
|
+
# **deleteGetWizard**
|
|
250
|
+
> deleteGetWizard()
|
|
251
|
+
|
|
252
|
+
Delete 3CX Installation Wizard
|
|
253
|
+
|
|
254
|
+
### Example
|
|
255
|
+
|
|
256
|
+
```typescript
|
|
257
|
+
import {
|
|
258
|
+
Class3CXInstallationWizardApi,
|
|
259
|
+
Configuration
|
|
260
|
+
} from 'yellowgrid-api-ts';
|
|
261
|
+
|
|
262
|
+
const configuration = new Configuration();
|
|
263
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
264
|
+
|
|
265
|
+
const { status, data } = await apiInstance.deleteGetWizard();
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
### Parameters
|
|
269
|
+
This endpoint does not have any parameters.
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
### Return type
|
|
273
|
+
|
|
274
|
+
void (empty response body)
|
|
275
|
+
|
|
276
|
+
### Authorization
|
|
277
|
+
|
|
278
|
+
No authorization required
|
|
279
|
+
|
|
280
|
+
### HTTP request headers
|
|
281
|
+
|
|
282
|
+
- **Content-Type**: Not defined
|
|
283
|
+
- **Accept**: Not defined
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
### HTTP response details
|
|
287
|
+
| Status code | Description | Response headers |
|
|
288
|
+
|-------------|-------------|------------------|
|
|
289
|
+
|**200** | No Response | - |
|
|
290
|
+
|**400** | Bad Request | - |
|
|
291
|
+
|**401** | Unauthorised | - |
|
|
292
|
+
|**403** | Access Denied | - |
|
|
293
|
+
|
|
294
|
+
[[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)
|
|
295
|
+
|
|
296
|
+
# **getAddPhones**
|
|
297
|
+
> Array<ScannedItemModel> getAddPhones()
|
|
298
|
+
|
|
299
|
+
Get phones on linked order and MAC addresses
|
|
300
|
+
|
|
301
|
+
### Example
|
|
302
|
+
|
|
303
|
+
```typescript
|
|
304
|
+
import {
|
|
305
|
+
Class3CXInstallationWizardApi,
|
|
306
|
+
Configuration
|
|
307
|
+
} from 'yellowgrid-api-ts';
|
|
308
|
+
|
|
309
|
+
const configuration = new Configuration();
|
|
310
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
311
|
+
|
|
312
|
+
const { status, data } = await apiInstance.getAddPhones();
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
### Parameters
|
|
316
|
+
This endpoint does not have any parameters.
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
### Return type
|
|
320
|
+
|
|
321
|
+
**Array<ScannedItemModel>**
|
|
322
|
+
|
|
323
|
+
### Authorization
|
|
324
|
+
|
|
325
|
+
No authorization required
|
|
326
|
+
|
|
327
|
+
### HTTP request headers
|
|
328
|
+
|
|
329
|
+
- **Content-Type**: Not defined
|
|
330
|
+
- **Accept**: application/json
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
### HTTP response details
|
|
334
|
+
| Status code | Description | Response headers |
|
|
335
|
+
|-------------|-------------|------------------|
|
|
336
|
+
|**200** | Phone Details | - |
|
|
337
|
+
|**400** | Bad Request | - |
|
|
338
|
+
|**401** | Unauthorised | - |
|
|
339
|
+
|**403** | Access Denied | - |
|
|
340
|
+
|
|
341
|
+
[[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)
|
|
342
|
+
|
|
343
|
+
# **getGetHostingPrice**
|
|
344
|
+
> number getGetHostingPrice()
|
|
345
|
+
|
|
346
|
+
Get Hosting Price
|
|
347
|
+
|
|
348
|
+
### Example
|
|
349
|
+
|
|
350
|
+
```typescript
|
|
351
|
+
import {
|
|
352
|
+
Class3CXInstallationWizardApi,
|
|
353
|
+
Configuration
|
|
354
|
+
} from 'yellowgrid-api-ts';
|
|
355
|
+
|
|
356
|
+
const configuration = new Configuration();
|
|
357
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
358
|
+
|
|
359
|
+
const { status, data } = await apiInstance.getGetHostingPrice();
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
### Parameters
|
|
363
|
+
This endpoint does not have any parameters.
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
### Return type
|
|
367
|
+
|
|
368
|
+
**number**
|
|
369
|
+
|
|
370
|
+
### Authorization
|
|
371
|
+
|
|
372
|
+
No authorization required
|
|
373
|
+
|
|
374
|
+
### HTTP request headers
|
|
375
|
+
|
|
376
|
+
- **Content-Type**: Not defined
|
|
377
|
+
- **Accept**: application/json
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
### HTTP response details
|
|
381
|
+
| Status code | Description | Response headers |
|
|
382
|
+
|-------------|-------------|------------------|
|
|
383
|
+
|**200** | Hosting Price | - |
|
|
384
|
+
|**400** | Bad Request | - |
|
|
385
|
+
|**401** | Unauthorised | - |
|
|
386
|
+
|**403** | Access Denied | - |
|
|
387
|
+
|
|
388
|
+
[[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)
|
|
389
|
+
|
|
390
|
+
# **getGetInstallStatus**
|
|
391
|
+
> HostingChangeResponseModel getGetInstallStatus()
|
|
392
|
+
|
|
393
|
+
Get 3CX Instance Install Status
|
|
394
|
+
|
|
395
|
+
### Example
|
|
396
|
+
|
|
397
|
+
```typescript
|
|
398
|
+
import {
|
|
399
|
+
Class3CXInstallationWizardApi,
|
|
400
|
+
Configuration
|
|
401
|
+
} from 'yellowgrid-api-ts';
|
|
402
|
+
|
|
403
|
+
const configuration = new Configuration();
|
|
404
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
405
|
+
|
|
406
|
+
let id: number; //3CX Installation Wizard ID (default to undefined)
|
|
407
|
+
let u: string; //3CX Installation Wizard Unique ID (default to undefined)
|
|
408
|
+
let c: number; //Customer ID (optional) (default to undefined)
|
|
409
|
+
let p: string; //Customer Authentication key (optional) (default to undefined)
|
|
410
|
+
|
|
411
|
+
const { status, data } = await apiInstance.getGetInstallStatus(
|
|
412
|
+
id,
|
|
413
|
+
u,
|
|
414
|
+
c,
|
|
415
|
+
p
|
|
416
|
+
);
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
### Parameters
|
|
420
|
+
|
|
421
|
+
|Name | Type | Description | Notes|
|
|
422
|
+
|------------- | ------------- | ------------- | -------------|
|
|
423
|
+
| **id** | [**number**] | 3CX Installation Wizard ID | defaults to undefined|
|
|
424
|
+
| **u** | [**string**] | 3CX Installation Wizard Unique ID | defaults to undefined|
|
|
425
|
+
| **c** | [**number**] | Customer ID | (optional) defaults to undefined|
|
|
426
|
+
| **p** | [**string**] | Customer Authentication key | (optional) defaults to undefined|
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
### Return type
|
|
430
|
+
|
|
431
|
+
**HostingChangeResponseModel**
|
|
432
|
+
|
|
433
|
+
### Authorization
|
|
434
|
+
|
|
435
|
+
No authorization required
|
|
436
|
+
|
|
437
|
+
### HTTP request headers
|
|
438
|
+
|
|
439
|
+
- **Content-Type**: Not defined
|
|
440
|
+
- **Accept**: application/json
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
### HTTP response details
|
|
444
|
+
| Status code | Description | Response headers |
|
|
445
|
+
|-------------|-------------|------------------|
|
|
446
|
+
|**200** | 3CX Installation Change Model | - |
|
|
447
|
+
|**400** | Bad Request | - |
|
|
448
|
+
|**401** | Unauthorised | - |
|
|
449
|
+
|**403** | Access Denied | - |
|
|
450
|
+
|
|
451
|
+
[[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)
|
|
452
|
+
|
|
453
|
+
# **getGetInstanceInstallStatus**
|
|
454
|
+
> HostingChangeResponseModel getGetInstanceInstallStatus()
|
|
455
|
+
|
|
456
|
+
Get 3CX Instance Install Status
|
|
457
|
+
|
|
458
|
+
### Example
|
|
459
|
+
|
|
460
|
+
```typescript
|
|
461
|
+
import {
|
|
462
|
+
Class3CXInstallationWizardApi,
|
|
463
|
+
Configuration
|
|
464
|
+
} from 'yellowgrid-api-ts';
|
|
465
|
+
|
|
466
|
+
const configuration = new Configuration();
|
|
467
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
468
|
+
|
|
469
|
+
const { status, data } = await apiInstance.getGetInstanceInstallStatus();
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
### Parameters
|
|
473
|
+
This endpoint does not have any parameters.
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
### Return type
|
|
477
|
+
|
|
478
|
+
**HostingChangeResponseModel**
|
|
479
|
+
|
|
480
|
+
### Authorization
|
|
481
|
+
|
|
482
|
+
No authorization required
|
|
483
|
+
|
|
484
|
+
### HTTP request headers
|
|
485
|
+
|
|
486
|
+
- **Content-Type**: Not defined
|
|
487
|
+
- **Accept**: application/json
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
### HTTP response details
|
|
491
|
+
| Status code | Description | Response headers |
|
|
492
|
+
|-------------|-------------|------------------|
|
|
493
|
+
|**200** | 3CX Installation Change Model | - |
|
|
494
|
+
|**400** | Bad Request | - |
|
|
495
|
+
|**401** | Unauthorised | - |
|
|
496
|
+
|**403** | Access Denied | - |
|
|
497
|
+
|
|
498
|
+
[[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)
|
|
499
|
+
|
|
500
|
+
# **getGetPbxIpAddress**
|
|
501
|
+
> string getGetPbxIpAddress()
|
|
502
|
+
|
|
503
|
+
Get PBX IP Address
|
|
504
|
+
|
|
505
|
+
### Example
|
|
506
|
+
|
|
507
|
+
```typescript
|
|
508
|
+
import {
|
|
509
|
+
Class3CXInstallationWizardApi,
|
|
510
|
+
Configuration
|
|
511
|
+
} from 'yellowgrid-api-ts';
|
|
512
|
+
|
|
513
|
+
const configuration = new Configuration();
|
|
514
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
515
|
+
|
|
516
|
+
const { status, data } = await apiInstance.getGetPbxIpAddress();
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
### Parameters
|
|
520
|
+
This endpoint does not have any parameters.
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
### Return type
|
|
524
|
+
|
|
525
|
+
**string**
|
|
526
|
+
|
|
527
|
+
### Authorization
|
|
528
|
+
|
|
529
|
+
No authorization required
|
|
530
|
+
|
|
531
|
+
### HTTP request headers
|
|
532
|
+
|
|
533
|
+
- **Content-Type**: Not defined
|
|
534
|
+
- **Accept**: application/json
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
### HTTP response details
|
|
538
|
+
| Status code | Description | Response headers |
|
|
539
|
+
|-------------|-------------|------------------|
|
|
540
|
+
|**200** | string | - |
|
|
541
|
+
|**202** | Resource Not Ready | - |
|
|
542
|
+
|**400** | Bad Request | - |
|
|
543
|
+
|**401** | Unauthorised | - |
|
|
544
|
+
|**403** | Access Denied | - |
|
|
545
|
+
|
|
546
|
+
[[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)
|
|
547
|
+
|
|
548
|
+
# **getGetWizard**
|
|
549
|
+
> TcxWizardModel getGetWizard()
|
|
550
|
+
|
|
551
|
+
Get 3CX Installation Wizard
|
|
552
|
+
|
|
553
|
+
### Example
|
|
554
|
+
|
|
555
|
+
```typescript
|
|
556
|
+
import {
|
|
557
|
+
Class3CXInstallationWizardApi,
|
|
558
|
+
Configuration
|
|
559
|
+
} from 'yellowgrid-api-ts';
|
|
560
|
+
|
|
561
|
+
const configuration = new Configuration();
|
|
562
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
563
|
+
|
|
564
|
+
const { status, data } = await apiInstance.getGetWizard();
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
### Parameters
|
|
568
|
+
This endpoint does not have any parameters.
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
### Return type
|
|
572
|
+
|
|
573
|
+
**TcxWizardModel**
|
|
574
|
+
|
|
575
|
+
### Authorization
|
|
576
|
+
|
|
577
|
+
No authorization required
|
|
578
|
+
|
|
579
|
+
### HTTP request headers
|
|
580
|
+
|
|
581
|
+
- **Content-Type**: Not defined
|
|
582
|
+
- **Accept**: application/json
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
### HTTP response details
|
|
586
|
+
| Status code | Description | Response headers |
|
|
587
|
+
|-------------|-------------|------------------|
|
|
588
|
+
|**200** | 3CX Wizard | - |
|
|
589
|
+
|**400** | Bad Request | - |
|
|
590
|
+
|**401** | Unauthorised | - |
|
|
591
|
+
|**403** | Access Denied | - |
|
|
592
|
+
|
|
593
|
+
[[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)
|
|
594
|
+
|
|
595
|
+
# **patchAddExtensions**
|
|
596
|
+
> Array<TcxExtsEntity> patchAddExtensions()
|
|
597
|
+
|
|
598
|
+
Update 3CX Installation Wizard Extensions
|
|
599
|
+
|
|
600
|
+
### Example
|
|
601
|
+
|
|
602
|
+
```typescript
|
|
603
|
+
import {
|
|
604
|
+
Class3CXInstallationWizardApi,
|
|
605
|
+
Configuration
|
|
606
|
+
} from 'yellowgrid-api-ts';
|
|
607
|
+
|
|
608
|
+
const configuration = new Configuration();
|
|
609
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
610
|
+
|
|
611
|
+
let tcxExtsEntity: Array<TcxExtsEntity>; //3CX Wizard Extensions (optional)
|
|
612
|
+
|
|
613
|
+
const { status, data } = await apiInstance.patchAddExtensions(
|
|
614
|
+
tcxExtsEntity
|
|
615
|
+
);
|
|
616
|
+
```
|
|
617
|
+
|
|
618
|
+
### Parameters
|
|
619
|
+
|
|
620
|
+
|Name | Type | Description | Notes|
|
|
621
|
+
|------------- | ------------- | ------------- | -------------|
|
|
622
|
+
| **tcxExtsEntity** | **Array<TcxExtsEntity>**| 3CX Wizard Extensions | |
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
### Return type
|
|
626
|
+
|
|
627
|
+
**Array<TcxExtsEntity>**
|
|
628
|
+
|
|
629
|
+
### Authorization
|
|
630
|
+
|
|
631
|
+
No authorization required
|
|
632
|
+
|
|
633
|
+
### HTTP request headers
|
|
634
|
+
|
|
635
|
+
- **Content-Type**: application/json
|
|
636
|
+
- **Accept**: application/json
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
### HTTP response details
|
|
640
|
+
| Status code | Description | Response headers |
|
|
641
|
+
|-------------|-------------|------------------|
|
|
642
|
+
|**200** | 3CX Wizard Extensions | - |
|
|
643
|
+
|**400** | Bad Request | - |
|
|
644
|
+
|**401** | Unauthorised | - |
|
|
645
|
+
|**403** | Access Denied | - |
|
|
646
|
+
|
|
647
|
+
[[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)
|
|
648
|
+
|
|
649
|
+
# **patchAddNumbers**
|
|
650
|
+
> Array<TcxNumbersEntity> patchAddNumbers()
|
|
651
|
+
|
|
652
|
+
Update 3CX Installation Wizard Numbers
|
|
653
|
+
|
|
654
|
+
### Example
|
|
655
|
+
|
|
656
|
+
```typescript
|
|
657
|
+
import {
|
|
658
|
+
Class3CXInstallationWizardApi,
|
|
659
|
+
Configuration
|
|
660
|
+
} from 'yellowgrid-api-ts';
|
|
661
|
+
|
|
662
|
+
const configuration = new Configuration();
|
|
663
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
664
|
+
|
|
665
|
+
let tcxNumbersEntity: Array<TcxNumbersEntity>; //3CX Wizard Numbers (optional)
|
|
666
|
+
|
|
667
|
+
const { status, data } = await apiInstance.patchAddNumbers(
|
|
668
|
+
tcxNumbersEntity
|
|
669
|
+
);
|
|
670
|
+
```
|
|
671
|
+
|
|
672
|
+
### Parameters
|
|
673
|
+
|
|
674
|
+
|Name | Type | Description | Notes|
|
|
675
|
+
|------------- | ------------- | ------------- | -------------|
|
|
676
|
+
| **tcxNumbersEntity** | **Array<TcxNumbersEntity>**| 3CX Wizard Numbers | |
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
### Return type
|
|
680
|
+
|
|
681
|
+
**Array<TcxNumbersEntity>**
|
|
682
|
+
|
|
683
|
+
### Authorization
|
|
684
|
+
|
|
685
|
+
No authorization required
|
|
686
|
+
|
|
687
|
+
### HTTP request headers
|
|
688
|
+
|
|
689
|
+
- **Content-Type**: application/json
|
|
690
|
+
- **Accept**: application/json
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
### HTTP response details
|
|
694
|
+
| Status code | Description | Response headers |
|
|
695
|
+
|-------------|-------------|------------------|
|
|
696
|
+
|**200** | 3CX Wizard Numbers | - |
|
|
697
|
+
|**400** | Bad Request | - |
|
|
698
|
+
|**401** | Unauthorised | - |
|
|
699
|
+
|**403** | Access Denied | - |
|
|
700
|
+
|
|
701
|
+
[[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)
|
|
702
|
+
|
|
703
|
+
# **patchAddPhones**
|
|
704
|
+
> Array<TcxPhonesEntity> patchAddPhones()
|
|
705
|
+
|
|
706
|
+
Update 3CX Installation Wizard Phones
|
|
707
|
+
|
|
708
|
+
### Example
|
|
709
|
+
|
|
710
|
+
```typescript
|
|
711
|
+
import {
|
|
712
|
+
Class3CXInstallationWizardApi,
|
|
713
|
+
Configuration
|
|
714
|
+
} from 'yellowgrid-api-ts';
|
|
715
|
+
|
|
716
|
+
const configuration = new Configuration();
|
|
717
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
718
|
+
|
|
719
|
+
let tcxPhonesEntity: Array<TcxPhonesEntity>; //3CX Wizard Phones (optional)
|
|
720
|
+
|
|
721
|
+
const { status, data } = await apiInstance.patchAddPhones(
|
|
722
|
+
tcxPhonesEntity
|
|
723
|
+
);
|
|
724
|
+
```
|
|
725
|
+
|
|
726
|
+
### Parameters
|
|
727
|
+
|
|
728
|
+
|Name | Type | Description | Notes|
|
|
729
|
+
|------------- | ------------- | ------------- | -------------|
|
|
730
|
+
| **tcxPhonesEntity** | **Array<TcxPhonesEntity>**| 3CX Wizard Phones | |
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
### Return type
|
|
734
|
+
|
|
735
|
+
**Array<TcxPhonesEntity>**
|
|
736
|
+
|
|
737
|
+
### Authorization
|
|
738
|
+
|
|
739
|
+
No authorization required
|
|
740
|
+
|
|
741
|
+
### HTTP request headers
|
|
742
|
+
|
|
743
|
+
- **Content-Type**: application/json
|
|
744
|
+
- **Accept**: application/json
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
### HTTP response details
|
|
748
|
+
| Status code | Description | Response headers |
|
|
749
|
+
|-------------|-------------|------------------|
|
|
750
|
+
|**200** | 3CX Wizard Phones | - |
|
|
751
|
+
|**400** | Bad Request | - |
|
|
752
|
+
|**401** | Unauthorised | - |
|
|
753
|
+
|**403** | Access Denied | - |
|
|
754
|
+
|
|
755
|
+
[[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)
|
|
756
|
+
|
|
757
|
+
# **patchAddSbcs**
|
|
758
|
+
> Array<TcxSbcEntity> patchAddSbcs()
|
|
759
|
+
|
|
760
|
+
Update 3CX Installation Wizard SBCs
|
|
761
|
+
|
|
762
|
+
### Example
|
|
763
|
+
|
|
764
|
+
```typescript
|
|
765
|
+
import {
|
|
766
|
+
Class3CXInstallationWizardApi,
|
|
767
|
+
Configuration
|
|
768
|
+
} from 'yellowgrid-api-ts';
|
|
769
|
+
|
|
770
|
+
const configuration = new Configuration();
|
|
771
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
772
|
+
|
|
773
|
+
let tcxSbcEntity: Array<TcxSbcEntity>; //3CX Wizard SBCs (optional)
|
|
774
|
+
|
|
775
|
+
const { status, data } = await apiInstance.patchAddSbcs(
|
|
776
|
+
tcxSbcEntity
|
|
777
|
+
);
|
|
778
|
+
```
|
|
779
|
+
|
|
780
|
+
### Parameters
|
|
781
|
+
|
|
782
|
+
|Name | Type | Description | Notes|
|
|
783
|
+
|------------- | ------------- | ------------- | -------------|
|
|
784
|
+
| **tcxSbcEntity** | **Array<TcxSbcEntity>**| 3CX Wizard SBCs | |
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
### Return type
|
|
788
|
+
|
|
789
|
+
**Array<TcxSbcEntity>**
|
|
790
|
+
|
|
791
|
+
### Authorization
|
|
792
|
+
|
|
793
|
+
No authorization required
|
|
794
|
+
|
|
795
|
+
### HTTP request headers
|
|
796
|
+
|
|
797
|
+
- **Content-Type**: application/json
|
|
798
|
+
- **Accept**: application/json
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
### HTTP response details
|
|
802
|
+
| Status code | Description | Response headers |
|
|
803
|
+
|-------------|-------------|------------------|
|
|
804
|
+
|**200** | 3CX Wizard SBCs | - |
|
|
805
|
+
|**400** | Bad Request | - |
|
|
806
|
+
|**401** | Unauthorised | - |
|
|
807
|
+
|**403** | Access Denied | - |
|
|
808
|
+
|
|
809
|
+
[[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)
|
|
810
|
+
|
|
811
|
+
# **patchGetWizard**
|
|
812
|
+
> TcxWizardModel patchGetWizard()
|
|
813
|
+
|
|
814
|
+
Update 3CX Installation Wizard
|
|
815
|
+
|
|
816
|
+
### Example
|
|
817
|
+
|
|
818
|
+
```typescript
|
|
819
|
+
import {
|
|
820
|
+
Class3CXInstallationWizardApi,
|
|
821
|
+
Configuration,
|
|
822
|
+
TcxWizardModel
|
|
823
|
+
} from 'yellowgrid-api-ts';
|
|
824
|
+
|
|
825
|
+
const configuration = new Configuration();
|
|
826
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
827
|
+
|
|
828
|
+
let tcxWizardModel: TcxWizardModel; //3CX Wizard (optional)
|
|
829
|
+
|
|
830
|
+
const { status, data } = await apiInstance.patchGetWizard(
|
|
831
|
+
tcxWizardModel
|
|
832
|
+
);
|
|
833
|
+
```
|
|
834
|
+
|
|
835
|
+
### Parameters
|
|
836
|
+
|
|
837
|
+
|Name | Type | Description | Notes|
|
|
838
|
+
|------------- | ------------- | ------------- | -------------|
|
|
839
|
+
| **tcxWizardModel** | **TcxWizardModel**| 3CX Wizard | |
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
### Return type
|
|
843
|
+
|
|
844
|
+
**TcxWizardModel**
|
|
845
|
+
|
|
846
|
+
### Authorization
|
|
847
|
+
|
|
848
|
+
No authorization required
|
|
849
|
+
|
|
850
|
+
### HTTP request headers
|
|
851
|
+
|
|
852
|
+
- **Content-Type**: application/json
|
|
853
|
+
- **Accept**: application/json
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
### HTTP response details
|
|
857
|
+
| Status code | Description | Response headers |
|
|
858
|
+
|-------------|-------------|------------------|
|
|
859
|
+
|**200** | 3CX Wizard | - |
|
|
860
|
+
|**400** | Bad Request | - |
|
|
861
|
+
|**401** | Unauthorised | - |
|
|
862
|
+
|**403** | Access Denied | - |
|
|
863
|
+
|
|
864
|
+
[[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)
|
|
865
|
+
|
|
866
|
+
# **postAddExtensions**
|
|
867
|
+
> Array<TcxExtsEntity> postAddExtensions()
|
|
868
|
+
|
|
869
|
+
Add Extensions To 3CX Installation Wizard
|
|
870
|
+
|
|
871
|
+
### Example
|
|
872
|
+
|
|
873
|
+
```typescript
|
|
874
|
+
import {
|
|
875
|
+
Class3CXInstallationWizardApi,
|
|
876
|
+
Configuration
|
|
877
|
+
} from 'yellowgrid-api-ts';
|
|
878
|
+
|
|
879
|
+
const configuration = new Configuration();
|
|
880
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
881
|
+
|
|
882
|
+
let tcxExtsEntity: Array<TcxExtsEntity>; //3CX Wizard Extension (optional)
|
|
883
|
+
|
|
884
|
+
const { status, data } = await apiInstance.postAddExtensions(
|
|
885
|
+
tcxExtsEntity
|
|
886
|
+
);
|
|
887
|
+
```
|
|
888
|
+
|
|
889
|
+
### Parameters
|
|
890
|
+
|
|
891
|
+
|Name | Type | Description | Notes|
|
|
892
|
+
|------------- | ------------- | ------------- | -------------|
|
|
893
|
+
| **tcxExtsEntity** | **Array<TcxExtsEntity>**| 3CX Wizard Extension | |
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
### Return type
|
|
897
|
+
|
|
898
|
+
**Array<TcxExtsEntity>**
|
|
899
|
+
|
|
900
|
+
### Authorization
|
|
901
|
+
|
|
902
|
+
No authorization required
|
|
903
|
+
|
|
904
|
+
### HTTP request headers
|
|
905
|
+
|
|
906
|
+
- **Content-Type**: application/json
|
|
907
|
+
- **Accept**: application/json
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
### HTTP response details
|
|
911
|
+
| Status code | Description | Response headers |
|
|
912
|
+
|-------------|-------------|------------------|
|
|
913
|
+
|**200** | 3CX Wizard Extensions | - |
|
|
914
|
+
|**400** | Bad Request | - |
|
|
915
|
+
|**401** | Unauthorised | - |
|
|
916
|
+
|**403** | Access Denied | - |
|
|
917
|
+
|
|
918
|
+
[[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)
|
|
919
|
+
|
|
920
|
+
# **postAddNumbers**
|
|
921
|
+
> Array<TcxNumbersEntity> postAddNumbers()
|
|
922
|
+
|
|
923
|
+
Add Numbers To 3CX Installation Wizard
|
|
924
|
+
|
|
925
|
+
### Example
|
|
926
|
+
|
|
927
|
+
```typescript
|
|
928
|
+
import {
|
|
929
|
+
Class3CXInstallationWizardApi,
|
|
930
|
+
Configuration
|
|
931
|
+
} from 'yellowgrid-api-ts';
|
|
932
|
+
|
|
933
|
+
const configuration = new Configuration();
|
|
934
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
935
|
+
|
|
936
|
+
let tcxNumbersEntity: Array<TcxNumbersEntity>; //3CX Wizard Numbers (optional)
|
|
937
|
+
|
|
938
|
+
const { status, data } = await apiInstance.postAddNumbers(
|
|
939
|
+
tcxNumbersEntity
|
|
940
|
+
);
|
|
941
|
+
```
|
|
942
|
+
|
|
943
|
+
### Parameters
|
|
944
|
+
|
|
945
|
+
|Name | Type | Description | Notes|
|
|
946
|
+
|------------- | ------------- | ------------- | -------------|
|
|
947
|
+
| **tcxNumbersEntity** | **Array<TcxNumbersEntity>**| 3CX Wizard Numbers | |
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
### Return type
|
|
951
|
+
|
|
952
|
+
**Array<TcxNumbersEntity>**
|
|
953
|
+
|
|
954
|
+
### Authorization
|
|
955
|
+
|
|
956
|
+
No authorization required
|
|
957
|
+
|
|
958
|
+
### HTTP request headers
|
|
959
|
+
|
|
960
|
+
- **Content-Type**: application/json
|
|
961
|
+
- **Accept**: application/json
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
### HTTP response details
|
|
965
|
+
| Status code | Description | Response headers |
|
|
966
|
+
|-------------|-------------|------------------|
|
|
967
|
+
|**200** | 3CX Wizard Numbers | - |
|
|
968
|
+
|**400** | Bad Request | - |
|
|
969
|
+
|**401** | Unauthorised | - |
|
|
970
|
+
|**403** | Access Denied | - |
|
|
971
|
+
|
|
972
|
+
[[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)
|
|
973
|
+
|
|
974
|
+
# **postAddPhones**
|
|
975
|
+
> Array<TcxPhonesEntity> postAddPhones()
|
|
976
|
+
|
|
977
|
+
Add Phones To 3CX Installation Wizard
|
|
978
|
+
|
|
979
|
+
### Example
|
|
980
|
+
|
|
981
|
+
```typescript
|
|
982
|
+
import {
|
|
983
|
+
Class3CXInstallationWizardApi,
|
|
984
|
+
Configuration
|
|
985
|
+
} from 'yellowgrid-api-ts';
|
|
986
|
+
|
|
987
|
+
const configuration = new Configuration();
|
|
988
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
989
|
+
|
|
990
|
+
let tcxPhonesEntity: Array<TcxPhonesEntity>; //3CX Wizard Phones (optional)
|
|
991
|
+
|
|
992
|
+
const { status, data } = await apiInstance.postAddPhones(
|
|
993
|
+
tcxPhonesEntity
|
|
994
|
+
);
|
|
995
|
+
```
|
|
996
|
+
|
|
997
|
+
### Parameters
|
|
998
|
+
|
|
999
|
+
|Name | Type | Description | Notes|
|
|
1000
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1001
|
+
| **tcxPhonesEntity** | **Array<TcxPhonesEntity>**| 3CX Wizard Phones | |
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
### Return type
|
|
1005
|
+
|
|
1006
|
+
**Array<TcxPhonesEntity>**
|
|
1007
|
+
|
|
1008
|
+
### Authorization
|
|
1009
|
+
|
|
1010
|
+
No authorization required
|
|
1011
|
+
|
|
1012
|
+
### HTTP request headers
|
|
1013
|
+
|
|
1014
|
+
- **Content-Type**: application/json
|
|
1015
|
+
- **Accept**: application/json
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
### HTTP response details
|
|
1019
|
+
| Status code | Description | Response headers |
|
|
1020
|
+
|-------------|-------------|------------------|
|
|
1021
|
+
|**200** | 3CX Wizard Phones | - |
|
|
1022
|
+
|**400** | Bad Request | - |
|
|
1023
|
+
|**401** | Unauthorised | - |
|
|
1024
|
+
|**403** | Access Denied | - |
|
|
1025
|
+
|
|
1026
|
+
[[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)
|
|
1027
|
+
|
|
1028
|
+
# **postAddSbcs**
|
|
1029
|
+
> Array<TcxSbcEntity> postAddSbcs()
|
|
1030
|
+
|
|
1031
|
+
Add SBCs To 3CX Installation Wizard
|
|
1032
|
+
|
|
1033
|
+
### Example
|
|
1034
|
+
|
|
1035
|
+
```typescript
|
|
1036
|
+
import {
|
|
1037
|
+
Class3CXInstallationWizardApi,
|
|
1038
|
+
Configuration
|
|
1039
|
+
} from 'yellowgrid-api-ts';
|
|
1040
|
+
|
|
1041
|
+
const configuration = new Configuration();
|
|
1042
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
1043
|
+
|
|
1044
|
+
let tcxSbcEntity: Array<TcxSbcEntity>; //3CX Wizard SBCs (optional)
|
|
1045
|
+
|
|
1046
|
+
const { status, data } = await apiInstance.postAddSbcs(
|
|
1047
|
+
tcxSbcEntity
|
|
1048
|
+
);
|
|
1049
|
+
```
|
|
1050
|
+
|
|
1051
|
+
### Parameters
|
|
1052
|
+
|
|
1053
|
+
|Name | Type | Description | Notes|
|
|
1054
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1055
|
+
| **tcxSbcEntity** | **Array<TcxSbcEntity>**| 3CX Wizard SBCs | |
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
### Return type
|
|
1059
|
+
|
|
1060
|
+
**Array<TcxSbcEntity>**
|
|
1061
|
+
|
|
1062
|
+
### Authorization
|
|
1063
|
+
|
|
1064
|
+
No authorization required
|
|
1065
|
+
|
|
1066
|
+
### HTTP request headers
|
|
1067
|
+
|
|
1068
|
+
- **Content-Type**: application/json
|
|
1069
|
+
- **Accept**: application/json
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
### HTTP response details
|
|
1073
|
+
| Status code | Description | Response headers |
|
|
1074
|
+
|-------------|-------------|------------------|
|
|
1075
|
+
|**200** | 3CX Wizard SBCs | - |
|
|
1076
|
+
|**400** | Bad Request | - |
|
|
1077
|
+
|**401** | Unauthorised | - |
|
|
1078
|
+
|**403** | Access Denied | - |
|
|
1079
|
+
|
|
1080
|
+
[[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)
|
|
1081
|
+
|
|
1082
|
+
# **postBuildInstance**
|
|
1083
|
+
> HostingChangeResponseModel postBuildInstance()
|
|
1084
|
+
|
|
1085
|
+
Build Instance From 3CX Installation Wizard
|
|
1086
|
+
|
|
1087
|
+
### Example
|
|
1088
|
+
|
|
1089
|
+
```typescript
|
|
1090
|
+
import {
|
|
1091
|
+
Class3CXInstallationWizardApi,
|
|
1092
|
+
Configuration
|
|
1093
|
+
} from 'yellowgrid-api-ts';
|
|
1094
|
+
|
|
1095
|
+
const configuration = new Configuration();
|
|
1096
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
1097
|
+
|
|
1098
|
+
const { status, data } = await apiInstance.postBuildInstance();
|
|
1099
|
+
```
|
|
1100
|
+
|
|
1101
|
+
### Parameters
|
|
1102
|
+
This endpoint does not have any parameters.
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
### Return type
|
|
1106
|
+
|
|
1107
|
+
**HostingChangeResponseModel**
|
|
1108
|
+
|
|
1109
|
+
### Authorization
|
|
1110
|
+
|
|
1111
|
+
No authorization required
|
|
1112
|
+
|
|
1113
|
+
### HTTP request headers
|
|
1114
|
+
|
|
1115
|
+
- **Content-Type**: Not defined
|
|
1116
|
+
- **Accept**: application/json
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
### HTTP response details
|
|
1120
|
+
| Status code | Description | Response headers |
|
|
1121
|
+
|-------------|-------------|------------------|
|
|
1122
|
+
|**200** | 3CX Installation Change Model | - |
|
|
1123
|
+
|**400** | Bad Request | - |
|
|
1124
|
+
|**401** | Unauthorised | - |
|
|
1125
|
+
|**403** | Access Denied | - |
|
|
1126
|
+
|
|
1127
|
+
[[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)
|
|
1128
|
+
|
|
1129
|
+
# **postBuildInstanceFromWizard**
|
|
1130
|
+
> HostingChangeResponseModel postBuildInstanceFromWizard()
|
|
1131
|
+
|
|
1132
|
+
Start 3CX Installation Build Process
|
|
1133
|
+
|
|
1134
|
+
### Example
|
|
1135
|
+
|
|
1136
|
+
```typescript
|
|
1137
|
+
import {
|
|
1138
|
+
Class3CXInstallationWizardApi,
|
|
1139
|
+
Configuration
|
|
1140
|
+
} from 'yellowgrid-api-ts';
|
|
1141
|
+
|
|
1142
|
+
const configuration = new Configuration();
|
|
1143
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
1144
|
+
|
|
1145
|
+
let id: number; //3CX Installation Wizard ID (default to undefined)
|
|
1146
|
+
let u: string; //3CX Installation Wizard Unique ID (default to undefined)
|
|
1147
|
+
let c: number; //Customer ID (default to undefined)
|
|
1148
|
+
let p: string; //Customer Authentication key (default to undefined)
|
|
1149
|
+
|
|
1150
|
+
const { status, data } = await apiInstance.postBuildInstanceFromWizard(
|
|
1151
|
+
id,
|
|
1152
|
+
u,
|
|
1153
|
+
c,
|
|
1154
|
+
p
|
|
1155
|
+
);
|
|
1156
|
+
```
|
|
1157
|
+
|
|
1158
|
+
### Parameters
|
|
1159
|
+
|
|
1160
|
+
|Name | Type | Description | Notes|
|
|
1161
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1162
|
+
| **id** | [**number**] | 3CX Installation Wizard ID | defaults to undefined|
|
|
1163
|
+
| **u** | [**string**] | 3CX Installation Wizard Unique ID | defaults to undefined|
|
|
1164
|
+
| **c** | [**number**] | Customer ID | defaults to undefined|
|
|
1165
|
+
| **p** | [**string**] | Customer Authentication key | defaults to undefined|
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
### Return type
|
|
1169
|
+
|
|
1170
|
+
**HostingChangeResponseModel**
|
|
1171
|
+
|
|
1172
|
+
### Authorization
|
|
1173
|
+
|
|
1174
|
+
No authorization required
|
|
1175
|
+
|
|
1176
|
+
### HTTP request headers
|
|
1177
|
+
|
|
1178
|
+
- **Content-Type**: Not defined
|
|
1179
|
+
- **Accept**: application/json
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
### HTTP response details
|
|
1183
|
+
| Status code | Description | Response headers |
|
|
1184
|
+
|-------------|-------------|------------------|
|
|
1185
|
+
|**200** | 3CX Installation Change Model | - |
|
|
1186
|
+
|**400** | Bad Request | - |
|
|
1187
|
+
|**401** | Unauthorised | - |
|
|
1188
|
+
|**403** | Access Denied | - |
|
|
1189
|
+
|
|
1190
|
+
[[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)
|
|
1191
|
+
|
|
1192
|
+
# **postCreateInstance**
|
|
1193
|
+
> HostingChangeResponseModel postCreateInstance()
|
|
1194
|
+
|
|
1195
|
+
Create Instance From 3CX Installation Wizard
|
|
1196
|
+
|
|
1197
|
+
### Example
|
|
1198
|
+
|
|
1199
|
+
```typescript
|
|
1200
|
+
import {
|
|
1201
|
+
Class3CXInstallationWizardApi,
|
|
1202
|
+
Configuration
|
|
1203
|
+
} from 'yellowgrid-api-ts';
|
|
1204
|
+
|
|
1205
|
+
const configuration = new Configuration();
|
|
1206
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
1207
|
+
|
|
1208
|
+
const { status, data } = await apiInstance.postCreateInstance();
|
|
1209
|
+
```
|
|
1210
|
+
|
|
1211
|
+
### Parameters
|
|
1212
|
+
This endpoint does not have any parameters.
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
### Return type
|
|
1216
|
+
|
|
1217
|
+
**HostingChangeResponseModel**
|
|
1218
|
+
|
|
1219
|
+
### Authorization
|
|
1220
|
+
|
|
1221
|
+
No authorization required
|
|
1222
|
+
|
|
1223
|
+
### HTTP request headers
|
|
1224
|
+
|
|
1225
|
+
- **Content-Type**: Not defined
|
|
1226
|
+
- **Accept**: application/json
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
### HTTP response details
|
|
1230
|
+
| Status code | Description | Response headers |
|
|
1231
|
+
|-------------|-------------|------------------|
|
|
1232
|
+
|**200** | 3CX Installation Change Model | - |
|
|
1233
|
+
|**400** | Bad Request | - |
|
|
1234
|
+
|**401** | Unauthorised | - |
|
|
1235
|
+
|**403** | Access Denied | - |
|
|
1236
|
+
|
|
1237
|
+
[[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)
|
|
1238
|
+
|
|
1239
|
+
# **postCreateInstanceFromWizard**
|
|
1240
|
+
> HostingChangeResponseModel postCreateInstanceFromWizard()
|
|
1241
|
+
|
|
1242
|
+
Create Hosted Instance From 3CX Installation Wizard Config
|
|
1243
|
+
|
|
1244
|
+
### Example
|
|
1245
|
+
|
|
1246
|
+
```typescript
|
|
1247
|
+
import {
|
|
1248
|
+
Class3CXInstallationWizardApi,
|
|
1249
|
+
Configuration
|
|
1250
|
+
} from 'yellowgrid-api-ts';
|
|
1251
|
+
|
|
1252
|
+
const configuration = new Configuration();
|
|
1253
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
1254
|
+
|
|
1255
|
+
let id: number; //3CX Installation Wizard ID (default to undefined)
|
|
1256
|
+
let u: string; //3CX Installation Wizard Unique ID (default to undefined)
|
|
1257
|
+
let c: number; //Customer ID (default to undefined)
|
|
1258
|
+
let p: string; //Customer Authentication key (default to undefined)
|
|
1259
|
+
|
|
1260
|
+
const { status, data } = await apiInstance.postCreateInstanceFromWizard(
|
|
1261
|
+
id,
|
|
1262
|
+
u,
|
|
1263
|
+
c,
|
|
1264
|
+
p
|
|
1265
|
+
);
|
|
1266
|
+
```
|
|
1267
|
+
|
|
1268
|
+
### Parameters
|
|
1269
|
+
|
|
1270
|
+
|Name | Type | Description | Notes|
|
|
1271
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1272
|
+
| **id** | [**number**] | 3CX Installation Wizard ID | defaults to undefined|
|
|
1273
|
+
| **u** | [**string**] | 3CX Installation Wizard Unique ID | defaults to undefined|
|
|
1274
|
+
| **c** | [**number**] | Customer ID | defaults to undefined|
|
|
1275
|
+
| **p** | [**string**] | Customer Authentication key | defaults to undefined|
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
### Return type
|
|
1279
|
+
|
|
1280
|
+
**HostingChangeResponseModel**
|
|
1281
|
+
|
|
1282
|
+
### Authorization
|
|
1283
|
+
|
|
1284
|
+
No authorization required
|
|
1285
|
+
|
|
1286
|
+
### HTTP request headers
|
|
1287
|
+
|
|
1288
|
+
- **Content-Type**: Not defined
|
|
1289
|
+
- **Accept**: application/json
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
### HTTP response details
|
|
1293
|
+
| Status code | Description | Response headers |
|
|
1294
|
+
|-------------|-------------|------------------|
|
|
1295
|
+
|**200** | 3CX Installation Change Model | - |
|
|
1296
|
+
|**400** | Bad Request | - |
|
|
1297
|
+
|**401** | Unauthorised | - |
|
|
1298
|
+
|**403** | Access Denied | - |
|
|
1299
|
+
|
|
1300
|
+
[[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)
|
|
1301
|
+
|
|
1302
|
+
# **postUploadBackup**
|
|
1303
|
+
> TcxBackupModel postUploadBackup()
|
|
1304
|
+
|
|
1305
|
+
Upload 3CX Backup File
|
|
1306
|
+
|
|
1307
|
+
### Example
|
|
1308
|
+
|
|
1309
|
+
```typescript
|
|
1310
|
+
import {
|
|
1311
|
+
Class3CXInstallationWizardApi,
|
|
1312
|
+
Configuration
|
|
1313
|
+
} from 'yellowgrid-api-ts';
|
|
1314
|
+
|
|
1315
|
+
const configuration = new Configuration();
|
|
1316
|
+
const apiInstance = new Class3CXInstallationWizardApi(configuration);
|
|
1317
|
+
|
|
1318
|
+
let backup: File; //3CX Backup ZIP File (default to undefined)
|
|
1319
|
+
|
|
1320
|
+
const { status, data } = await apiInstance.postUploadBackup(
|
|
1321
|
+
backup
|
|
1322
|
+
);
|
|
1323
|
+
```
|
|
1324
|
+
|
|
1325
|
+
### Parameters
|
|
1326
|
+
|
|
1327
|
+
|Name | Type | Description | Notes|
|
|
1328
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1329
|
+
| **backup** | [**File**] | 3CX Backup ZIP File | defaults to undefined|
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
### Return type
|
|
1333
|
+
|
|
1334
|
+
**TcxBackupModel**
|
|
1335
|
+
|
|
1336
|
+
### Authorization
|
|
1337
|
+
|
|
1338
|
+
No authorization required
|
|
1339
|
+
|
|
1340
|
+
### HTTP request headers
|
|
1341
|
+
|
|
1342
|
+
- **Content-Type**: multipart/form-data
|
|
1343
|
+
- **Accept**: application/json
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
### HTTP response details
|
|
1347
|
+
| Status code | Description | Response headers |
|
|
1348
|
+
|-------------|-------------|------------------|
|
|
1349
|
+
|**200** | 3CX Wizard Backup | - |
|
|
1350
|
+
|**400** | Bad Request | - |
|
|
1351
|
+
|**401** | Unauthorised | - |
|
|
1352
|
+
|**403** | Access Denied | - |
|
|
1353
|
+
|
|
1354
|
+
[[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)
|
|
1355
|
+
|