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.
Files changed (201) hide show
  1. package/.openapi-generator/FILES +189 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +385 -0
  5. package/api.ts +20310 -0
  6. package/base.ts +86 -0
  7. package/common.ts +150 -0
  8. package/config.json +3 -0
  9. package/configuration.ts +115 -0
  10. package/dist/api.d.ts +14136 -0
  11. package/dist/api.js +14123 -0
  12. package/dist/base.d.ts +66 -0
  13. package/dist/base.js +86 -0
  14. package/dist/common.d.ts +65 -0
  15. package/dist/common.js +253 -0
  16. package/dist/configuration.d.ts +91 -0
  17. package/dist/configuration.js +57 -0
  18. package/dist/index.d.ts +13 -0
  19. package/dist/index.js +31 -0
  20. package/docs/AccountContactEntity.md +45 -0
  21. package/docs/AccountContactModel.md +45 -0
  22. package/docs/AccountContactRequestModel.md +37 -0
  23. package/docs/AccountRequestModel.md +53 -0
  24. package/docs/AccountSummaryDTO.md +25 -0
  25. package/docs/AccountsApi.md +948 -0
  26. package/docs/AccountsResponseModel.md +27 -0
  27. package/docs/AddressModel.md +45 -0
  28. package/docs/AddressRequestModel.md +27 -0
  29. package/docs/AgentHoursGraphModel.md +27 -0
  30. package/docs/AgentHoursGraphMonthModel.md +23 -0
  31. package/docs/ApiLogEntity.md +43 -0
  32. package/docs/AreaCodeModel.md +23 -0
  33. package/docs/AttachmentModel.md +29 -0
  34. package/docs/AttributeSetEnum.md +23 -0
  35. package/docs/AuthCodeResponseModel.md +25 -0
  36. package/docs/BatchEntity.md +53 -0
  37. package/docs/CallBarringModel.md +29 -0
  38. package/docs/Class3CXApi.md +172 -0
  39. package/docs/Class3CXInstallationWizardApi.md +1355 -0
  40. package/docs/Class3CXInstallationsApi.md +651 -0
  41. package/docs/Class3CXIntegrationsApi.md +344 -0
  42. package/docs/Class3CXMultiTenantApi.md +404 -0
  43. package/docs/ClientDetailsModel.md +35 -0
  44. package/docs/ClientModel.md +27 -0
  45. package/docs/CompanyContractModel.md +29 -0
  46. package/docs/ContactInfoModel.md +29 -0
  47. package/docs/ConversationModel.md +35 -0
  48. package/docs/CreditAccountEntity.md +61 -0
  49. package/docs/CustomerInformationModel.md +33 -0
  50. package/docs/CustomerPriceListEnum.md +23 -0
  51. package/docs/CustomerSummaryReportDTO.md +31 -0
  52. package/docs/DdiRangeRequestModel.md +25 -0
  53. package/docs/DdiRangesRequestModel.md +21 -0
  54. package/docs/DivertRequestModel.md +23 -0
  55. package/docs/DivertResponseModel.md +25 -0
  56. package/docs/EdTechProClientEntity.md +29 -0
  57. package/docs/EdTechProSchoolModel.md +47 -0
  58. package/docs/EdTechProSchoolsModel.md +27 -0
  59. package/docs/EdTechProSetupModel.md +29 -0
  60. package/docs/FraudManagementModel.md +23 -0
  61. package/docs/FreshdeskCompanyTicketsModel.md +27 -0
  62. package/docs/FreshdeskTicketEntity.md +33 -0
  63. package/docs/FtpAccountsEntity.md +29 -0
  64. package/docs/GenericFileModel.md +25 -0
  65. package/docs/GetGetPasswordHash200Response.md +20 -0
  66. package/docs/GetGetPrice200Response.md +20 -0
  67. package/docs/GetGetRecording200Response.md +20 -0
  68. package/docs/HostingChangeResponseModel.md +29 -0
  69. package/docs/InstanceAutoFailoverEntity.md +29 -0
  70. package/docs/InstanceDeletionScheduleEntity.md +27 -0
  71. package/docs/InstanceEntity.md +59 -0
  72. package/docs/InstanceFailoverEntity.md +41 -0
  73. package/docs/InstanceMonitoringEntity.md +25 -0
  74. package/docs/InstanceMonitoringLogEntity.md +31 -0
  75. package/docs/InstanceScheduledTasksEntity.md +31 -0
  76. package/docs/InstanceTcxDetailsEntity.md +39 -0
  77. package/docs/InstanceUserCredentialsEntity.md +29 -0
  78. package/docs/ItemDTO.md +41 -0
  79. package/docs/ItemEntity.md +61 -0
  80. package/docs/MFARequiredModel.md +23 -0
  81. package/docs/MonthlyUsageModel.md +23 -0
  82. package/docs/MultiTenantChangeResponseModel.md +27 -0
  83. package/docs/MyPBXToolsApi.md +65 -0
  84. package/docs/NavigationModel.md +27 -0
  85. package/docs/OAuth20Api.md +368 -0
  86. package/docs/OfflineInstancesEntity.md +29 -0
  87. package/docs/OrderEntity.md +135 -0
  88. package/docs/OrderRequestModel.md +45 -0
  89. package/docs/OrderSummariesModel.md +27 -0
  90. package/docs/OrderSummaryDTO.md +43 -0
  91. package/docs/OrderTotalModel.md +33 -0
  92. package/docs/OrderedItemEntity.md +47 -0
  93. package/docs/OrdersApi.md +135 -0
  94. package/docs/PatchSetTcxWizardCnameRequest.md +20 -0
  95. package/docs/PatchUpdateAccountContactPasswordRequest.md +20 -0
  96. package/docs/PortalAccountModel.md +67 -0
  97. package/docs/PortalLoginModel.md +33 -0
  98. package/docs/PostAddWebhook200Response.md +20 -0
  99. package/docs/PostGetClientCredentialsRequest.md +20 -0
  100. package/docs/PriceListItemModel.md +29 -0
  101. package/docs/PricingApi.md +138 -0
  102. package/docs/PrizesEntity.md +31 -0
  103. package/docs/ProductSearchResultsModel.md +21 -0
  104. package/docs/ProductSerialInfoModel.md +27 -0
  105. package/docs/ProductSummaryModel.md +31 -0
  106. package/docs/ProductsApi.md +315 -0
  107. package/docs/PromoCodesEntity.md +43 -0
  108. package/docs/PromoItemsEntity.md +35 -0
  109. package/docs/ProvisioningApi.md +402 -0
  110. package/docs/ProvisioningEntity.md +29 -0
  111. package/docs/ProvisioningRequestEntity.md +25 -0
  112. package/docs/ResourceNotReadyException.md +25 -0
  113. package/docs/RootAccessModel.md +25 -0
  114. package/docs/SIPTrunksApi.md +1258 -0
  115. package/docs/SMSApi.md +66 -0
  116. package/docs/ScannedItemModel.md +29 -0
  117. package/docs/ScopeModel.md +23 -0
  118. package/docs/ShipmentAddressEntity.md +41 -0
  119. package/docs/ShipmentEntity.md +43 -0
  120. package/docs/ShipmentItemEntity.md +29 -0
  121. package/docs/SipTrunkChangeResponseModel.md +29 -0
  122. package/docs/SipTrunkCreationRequestModel.md +31 -0
  123. package/docs/SipTrunkEntity.md +43 -0
  124. package/docs/SipTrunksResponseModel.md +27 -0
  125. package/docs/SmsAccountEntity.md +33 -0
  126. package/docs/SmsDataModel.md +21 -0
  127. package/docs/SmsMessageModel.md +25 -0
  128. package/docs/SmsNumbersEntity.md +23 -0
  129. package/docs/SmsPayloadModel.md +25 -0
  130. package/docs/SmsPhoneNumberModel.md +23 -0
  131. package/docs/SmsResponseModel.md +29 -0
  132. package/docs/SmsWhitelistEntity.md +23 -0
  133. package/docs/StockManagementApi.md +1380 -0
  134. package/docs/StockOrderCourierEntity.md +27 -0
  135. package/docs/StockOrderDeductionModel.md +27 -0
  136. package/docs/StockOrderDeductionRequestModel.md +23 -0
  137. package/docs/StockOrderDeductionsEntity.md +27 -0
  138. package/docs/StockOrderEntity.md +63 -0
  139. package/docs/StockOrderItemEntity.md +33 -0
  140. package/docs/StockOrderItemModel.md +37 -0
  141. package/docs/StockOrderItemRequestModel.md +27 -0
  142. package/docs/StockOrderModel.md +49 -0
  143. package/docs/StockOrderProductEntity.md +31 -0
  144. package/docs/StockOrderRequestModel.md +25 -0
  145. package/docs/StockOrderSupplierEntity.md +37 -0
  146. package/docs/StockOrderSupplierModel.md +37 -0
  147. package/docs/StockOrdersModel.md +27 -0
  148. package/docs/StockProductModel.md +49 -0
  149. package/docs/StockProductPriceModel.md +23 -0
  150. package/docs/StockProductSummariesModel.md +27 -0
  151. package/docs/StockProductSummaryModel.md +33 -0
  152. package/docs/StockTransactionsEntity.md +35 -0
  153. package/docs/SupplierEntity.md +37 -0
  154. package/docs/SupplierItemEntity.md +35 -0
  155. package/docs/SystemApi.md +80 -0
  156. package/docs/TcxBackupEntity.md +37 -0
  157. package/docs/TcxBackupModel.md +55 -0
  158. package/docs/TcxBillingEntity.md +39 -0
  159. package/docs/TcxBulkLicenceDetailsModel.md +23 -0
  160. package/docs/TcxDeadLicenceEntity.md +25 -0
  161. package/docs/TcxExtsEntity.md +35 -0
  162. package/docs/TcxHostingPricingEntity.md +35 -0
  163. package/docs/TcxInstallationDetailsModel.md +45 -0
  164. package/docs/TcxInstallationModel.md +75 -0
  165. package/docs/TcxInstallationsModel.md +27 -0
  166. package/docs/TcxKeySummaryDTO.md +29 -0
  167. package/docs/TcxKeysEntity.md +31 -0
  168. package/docs/TcxLicenceDetailsErrorModel.md +27 -0
  169. package/docs/TcxLicenceDetailsModel.md +41 -0
  170. package/docs/TcxMacsEntity.md +25 -0
  171. package/docs/TcxMultiTenantModel.md +47 -0
  172. package/docs/TcxMultiTenantUserModel.md +25 -0
  173. package/docs/TcxMultiTenantsModel.md +27 -0
  174. package/docs/TcxNumbersEntity.md +25 -0
  175. package/docs/TcxOfficeHoursEntity.md +49 -0
  176. package/docs/TcxPhoneModel.md +32 -0
  177. package/docs/TcxPhonesEntity.md +31 -0
  178. package/docs/TcxSbcEntity.md +51 -0
  179. package/docs/TcxSetupEntity.md +71 -0
  180. package/docs/TcxSetupsModel.md +27 -0
  181. package/docs/TcxSipTrunksEntity.md +45 -0
  182. package/docs/TcxTemplateXmlEnum.md +23 -0
  183. package/docs/TcxUsersEntity.md +31 -0
  184. package/docs/TcxWizardConfigModel.md +23 -0
  185. package/docs/TcxWizardModel.md +47 -0
  186. package/docs/TechSupportCompanySummaryDTO.md +29 -0
  187. package/docs/TelephonySupportTicketModel.md +41 -0
  188. package/docs/TicketSummaryModel.md +35 -0
  189. package/docs/TicketTimeDTO.md +36 -0
  190. package/docs/TicketsApi.md +300 -0
  191. package/docs/TokenResponseModel.md +25 -0
  192. package/docs/UpgradeOrderResponseModel.md +23 -0
  193. package/docs/UpgradeRequestModel.md +27 -0
  194. package/docs/UserEntity.md +39 -0
  195. package/docs/WebhooksApi.md +117 -0
  196. package/docs/XeroLogEntity.md +39 -0
  197. package/git_push.sh +57 -0
  198. package/index.ts +18 -0
  199. package/openapitools.json +7 -0
  200. package/package.json +31 -0
  201. package/tsconfig.json +21 -0
@@ -0,0 +1,651 @@
1
+ # Class3CXInstallationsApi
2
+
3
+ All URIs are relative to *http://api.yellowgrid.local*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getGetDetails**](#getgetdetails) | **GET** /tcx/installations/{wizard_id}/details | Get 3CX Installation Details|
8
+ |[**getGetInstallations**](#getgetinstallations) | **GET** /tcx/installations | Get 3CX Installations|
9
+ |[**postCreateSshUser**](#postcreatesshuser) | **POST** /tcx/installations/{instance_id}/create/user/root | Create a root user|
10
+ |[**postDeleteInstance**](#postdeleteinstance) | **POST** /tcx/installations/{instance_id}/delete | Delete 3CX Instance|
11
+ |[**postExtendDisk**](#postextenddisk) | **POST** /tcx/installations/{instance_id}/disk/extend | Extend additional disk on 3CX Instance|
12
+ |[**postFailoverInstance**](#postfailoverinstance) | **POST** /tcx/installations/{instance_id}/failover | Failover 3CX Instance|
13
+ |[**postRebootInstance**](#postrebootinstance) | **POST** /tcx/installations/{instance_id}/reboot | Reboot 3CX Instance|
14
+ |[**postResizeInstance**](#postresizeinstance) | **POST** /tcx/installations/{instance_id}/resize | Resize 3CX Instance|
15
+ |[**postSuspendInstance**](#postsuspendinstance) | **POST** /tcx/installations/{instance_id}/suspend | Suspend 3CX Instance|
16
+ |[**postUnsuspendInstance**](#postunsuspendinstance) | **POST** /tcx/installations/{instance_id}/unsuspend | Unsuspend 3CX Instance|
17
+ |[**postUpgradeDebian**](#postupgradedebian) | **POST** /tcx/installations/{instance_id}/debian/upgrade | Install OS update on 3CX Instance|
18
+
19
+ # **getGetDetails**
20
+ > TcxInstallationDetailsModel getGetDetails()
21
+
22
+ Get 3CX Installation Details
23
+
24
+ ### Example
25
+
26
+ ```typescript
27
+ import {
28
+ Class3CXInstallationsApi,
29
+ Configuration
30
+ } from 'yellowgrid-api-ts';
31
+
32
+ const configuration = new Configuration();
33
+ const apiInstance = new Class3CXInstallationsApi(configuration);
34
+
35
+ let wizardId: number; //Wizard ID (default to undefined)
36
+
37
+ const { status, data } = await apiInstance.getGetDetails(
38
+ wizardId
39
+ );
40
+ ```
41
+
42
+ ### Parameters
43
+
44
+ |Name | Type | Description | Notes|
45
+ |------------- | ------------- | ------------- | -------------|
46
+ | **wizardId** | [**number**] | Wizard ID | defaults to undefined|
47
+
48
+
49
+ ### Return type
50
+
51
+ **TcxInstallationDetailsModel**
52
+
53
+ ### Authorization
54
+
55
+ No authorization required
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: Not defined
60
+ - **Accept**: application/json
61
+
62
+
63
+ ### HTTP response details
64
+ | Status code | Description | Response headers |
65
+ |-------------|-------------|------------------|
66
+ |**200** | Installation Details | - |
67
+ |**400** | Bad Request | - |
68
+ |**401** | Unauthorised | - |
69
+ |**403** | Access Denied | - |
70
+
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
+
73
+ # **getGetInstallations**
74
+ > TcxInstallationsModel getGetInstallations()
75
+
76
+ Get 3CX Installations
77
+
78
+ ### Example
79
+
80
+ ```typescript
81
+ import {
82
+ Class3CXInstallationsApi,
83
+ Configuration
84
+ } from 'yellowgrid-api-ts';
85
+
86
+ const configuration = new Configuration();
87
+ const apiInstance = new Class3CXInstallationsApi(configuration);
88
+
89
+ let pageSize: number; //Number Of Results (optional) (default to 20)
90
+ let page: number; //Page Number (optional) (default to 1)
91
+ let customerId: string; //Customer ID (optional) (default to undefined)
92
+ let search: string; //Search (optional) (default to undefined)
93
+ let status: 'Completed' | 'Outstanding' | 'Offline' | 'Failed Over'; //Status (optional) (default to undefined)
94
+ let hosting: 'yellowgrid' | 'multi-tenant' | 'onprem' | 'all'; //Hosting (optional) (default to undefined)
95
+
96
+ const { status, data } = await apiInstance.getGetInstallations(
97
+ pageSize,
98
+ page,
99
+ customerId,
100
+ search,
101
+ status,
102
+ hosting
103
+ );
104
+ ```
105
+
106
+ ### Parameters
107
+
108
+ |Name | Type | Description | Notes|
109
+ |------------- | ------------- | ------------- | -------------|
110
+ | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
111
+ | **page** | [**number**] | Page Number | (optional) defaults to 1|
112
+ | **customerId** | [**string**] | Customer ID | (optional) defaults to undefined|
113
+ | **search** | [**string**] | Search | (optional) defaults to undefined|
114
+ | **status** | [**&#39;Completed&#39; | &#39;Outstanding&#39; | &#39;Offline&#39; | &#39;Failed Over&#39;**]**Array<&#39;Completed&#39; &#124; &#39;Outstanding&#39; &#124; &#39;Offline&#39; &#124; &#39;Failed Over&#39;>** | Status | (optional) defaults to undefined|
115
+ | **hosting** | [**&#39;yellowgrid&#39; | &#39;multi-tenant&#39; | &#39;onprem&#39; | &#39;all&#39;**]**Array<&#39;yellowgrid&#39; &#124; &#39;multi-tenant&#39; &#124; &#39;onprem&#39; &#124; &#39;all&#39;>** | Hosting | (optional) defaults to undefined|
116
+
117
+
118
+ ### Return type
119
+
120
+ **TcxInstallationsModel**
121
+
122
+ ### Authorization
123
+
124
+ No authorization required
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: Not defined
129
+ - **Accept**: application/json
130
+
131
+
132
+ ### HTTP response details
133
+ | Status code | Description | Response headers |
134
+ |-------------|-------------|------------------|
135
+ |**200** | SIP Trunks | - |
136
+ |**400** | Bad Request | - |
137
+ |**401** | Unauthorised | - |
138
+ |**403** | Access Denied | - |
139
+
140
+ [[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)
141
+
142
+ # **postCreateSshUser**
143
+ > RootAccessModel postCreateSshUser()
144
+
145
+ Create a root user
146
+
147
+ ### Example
148
+
149
+ ```typescript
150
+ import {
151
+ Class3CXInstallationsApi,
152
+ Configuration
153
+ } from 'yellowgrid-api-ts';
154
+
155
+ const configuration = new Configuration();
156
+ const apiInstance = new Class3CXInstallationsApi(configuration);
157
+
158
+ let instanceId: string; //OVH Instance ID (default to undefined)
159
+ let expiryDate: string; //User credential expiration date (default to undefined)
160
+ let ipAddress: string; //Whitelist IP Address (default to undefined)
161
+
162
+ const { status, data } = await apiInstance.postCreateSshUser(
163
+ instanceId,
164
+ expiryDate,
165
+ ipAddress
166
+ );
167
+ ```
168
+
169
+ ### Parameters
170
+
171
+ |Name | Type | Description | Notes|
172
+ |------------- | ------------- | ------------- | -------------|
173
+ | **instanceId** | [**string**] | OVH Instance ID | defaults to undefined|
174
+ | **expiryDate** | [**string**] | User credential expiration date | defaults to undefined|
175
+ | **ipAddress** | [**string**] | Whitelist IP Address | defaults to undefined|
176
+
177
+
178
+ ### Return type
179
+
180
+ **RootAccessModel**
181
+
182
+ ### Authorization
183
+
184
+ No authorization required
185
+
186
+ ### HTTP request headers
187
+
188
+ - **Content-Type**: Not defined
189
+ - **Accept**: application/json
190
+
191
+
192
+ ### HTTP response details
193
+ | Status code | Description | Response headers |
194
+ |-------------|-------------|------------------|
195
+ |**200** | User credentials | - |
196
+
197
+ [[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)
198
+
199
+ # **postDeleteInstance**
200
+ > postDeleteInstance()
201
+
202
+ Delete 3CX Instance
203
+
204
+ ### Example
205
+
206
+ ```typescript
207
+ import {
208
+ Class3CXInstallationsApi,
209
+ Configuration
210
+ } from 'yellowgrid-api-ts';
211
+
212
+ const configuration = new Configuration();
213
+ const apiInstance = new Class3CXInstallationsApi(configuration);
214
+
215
+ let instanceId: string; //Instance ID (default to undefined)
216
+
217
+ const { status, data } = await apiInstance.postDeleteInstance(
218
+ instanceId
219
+ );
220
+ ```
221
+
222
+ ### Parameters
223
+
224
+ |Name | Type | Description | Notes|
225
+ |------------- | ------------- | ------------- | -------------|
226
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
227
+
228
+
229
+ ### Return type
230
+
231
+ void (empty response body)
232
+
233
+ ### Authorization
234
+
235
+ No authorization required
236
+
237
+ ### HTTP request headers
238
+
239
+ - **Content-Type**: Not defined
240
+ - **Accept**: Not defined
241
+
242
+
243
+ ### HTTP response details
244
+ | Status code | Description | Response headers |
245
+ |-------------|-------------|------------------|
246
+ |**200** | No Response | - |
247
+ |**400** | Bad Request | - |
248
+ |**401** | Unauthorised | - |
249
+ |**403** | Access Denied | - |
250
+
251
+ [[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)
252
+
253
+ # **postExtendDisk**
254
+ > postExtendDisk()
255
+
256
+ Extend additional disk on 3CX Instance
257
+
258
+ ### Example
259
+
260
+ ```typescript
261
+ import {
262
+ Class3CXInstallationsApi,
263
+ Configuration
264
+ } from 'yellowgrid-api-ts';
265
+
266
+ const configuration = new Configuration();
267
+ const apiInstance = new Class3CXInstallationsApi(configuration);
268
+
269
+ let instanceId: string; //Instance ID (default to undefined)
270
+ let gigabytes: number; //Disk Space (GB) (default to undefined)
271
+ let schedule: string; //Scheduled Task (Date & Time) (default to undefined)
272
+
273
+ const { status, data } = await apiInstance.postExtendDisk(
274
+ instanceId,
275
+ gigabytes,
276
+ schedule
277
+ );
278
+ ```
279
+
280
+ ### Parameters
281
+
282
+ |Name | Type | Description | Notes|
283
+ |------------- | ------------- | ------------- | -------------|
284
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
285
+ | **gigabytes** | [**number**] | Disk Space (GB) | defaults to undefined|
286
+ | **schedule** | [**string**] | Scheduled Task (Date &amp; Time) | defaults to undefined|
287
+
288
+
289
+ ### Return type
290
+
291
+ void (empty response body)
292
+
293
+ ### Authorization
294
+
295
+ No authorization required
296
+
297
+ ### HTTP request headers
298
+
299
+ - **Content-Type**: Not defined
300
+ - **Accept**: Not defined
301
+
302
+
303
+ ### HTTP response details
304
+ | Status code | Description | Response headers |
305
+ |-------------|-------------|------------------|
306
+ |**200** | No Response | - |
307
+ |**400** | Bad Request | - |
308
+ |**401** | Unauthorised | - |
309
+ |**403** | Access Denied | - |
310
+
311
+ [[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)
312
+
313
+ # **postFailoverInstance**
314
+ > postFailoverInstance()
315
+
316
+ Failover 3CX Instance
317
+
318
+ ### Example
319
+
320
+ ```typescript
321
+ import {
322
+ Class3CXInstallationsApi,
323
+ Configuration
324
+ } from 'yellowgrid-api-ts';
325
+
326
+ const configuration = new Configuration();
327
+ const apiInstance = new Class3CXInstallationsApi(configuration);
328
+
329
+ let instanceId: string; //Instance ID (default to undefined)
330
+ let type: 'config' | 'image'; //Failover Type (default to undefined)
331
+
332
+ const { status, data } = await apiInstance.postFailoverInstance(
333
+ instanceId,
334
+ type
335
+ );
336
+ ```
337
+
338
+ ### Parameters
339
+
340
+ |Name | Type | Description | Notes|
341
+ |------------- | ------------- | ------------- | -------------|
342
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
343
+ | **type** | [**&#39;config&#39; | &#39;image&#39;**]**Array<&#39;config&#39; &#124; &#39;image&#39;>** | Failover Type | defaults to undefined|
344
+
345
+
346
+ ### Return type
347
+
348
+ void (empty response body)
349
+
350
+ ### Authorization
351
+
352
+ No authorization required
353
+
354
+ ### HTTP request headers
355
+
356
+ - **Content-Type**: Not defined
357
+ - **Accept**: Not defined
358
+
359
+
360
+ ### HTTP response details
361
+ | Status code | Description | Response headers |
362
+ |-------------|-------------|------------------|
363
+ |**200** | No Response | - |
364
+ |**400** | Bad Request | - |
365
+ |**401** | Unauthorised | - |
366
+ |**403** | Access Denied | - |
367
+
368
+ [[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)
369
+
370
+ # **postRebootInstance**
371
+ > postRebootInstance()
372
+
373
+ Reboot 3CX Instance
374
+
375
+ ### Example
376
+
377
+ ```typescript
378
+ import {
379
+ Class3CXInstallationsApi,
380
+ Configuration
381
+ } from 'yellowgrid-api-ts';
382
+
383
+ const configuration = new Configuration();
384
+ const apiInstance = new Class3CXInstallationsApi(configuration);
385
+
386
+ let instanceId: string; //Instance ID (default to undefined)
387
+
388
+ const { status, data } = await apiInstance.postRebootInstance(
389
+ instanceId
390
+ );
391
+ ```
392
+
393
+ ### Parameters
394
+
395
+ |Name | Type | Description | Notes|
396
+ |------------- | ------------- | ------------- | -------------|
397
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
398
+
399
+
400
+ ### Return type
401
+
402
+ void (empty response body)
403
+
404
+ ### Authorization
405
+
406
+ No authorization required
407
+
408
+ ### HTTP request headers
409
+
410
+ - **Content-Type**: Not defined
411
+ - **Accept**: Not defined
412
+
413
+
414
+ ### HTTP response details
415
+ | Status code | Description | Response headers |
416
+ |-------------|-------------|------------------|
417
+ |**200** | No Response | - |
418
+ |**400** | Bad Request | - |
419
+ |**401** | Unauthorised | - |
420
+ |**403** | Access Denied | - |
421
+
422
+ [[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)
423
+
424
+ # **postResizeInstance**
425
+ > postResizeInstance()
426
+
427
+ Resize 3CX Instance
428
+
429
+ ### Example
430
+
431
+ ```typescript
432
+ import {
433
+ Class3CXInstallationsApi,
434
+ Configuration
435
+ } from 'yellowgrid-api-ts';
436
+
437
+ const configuration = new Configuration();
438
+ const apiInstance = new Class3CXInstallationsApi(configuration);
439
+
440
+ let instanceId: string; //Instance ID (default to undefined)
441
+ let size: 'd2-4' | 'd2-8' | 'b2-30'; //Instance Spec (default to undefined)
442
+ let schedule: string; //Scheduled Task (Date & Time) (optional) (default to undefined)
443
+
444
+ const { status, data } = await apiInstance.postResizeInstance(
445
+ instanceId,
446
+ size,
447
+ schedule
448
+ );
449
+ ```
450
+
451
+ ### Parameters
452
+
453
+ |Name | Type | Description | Notes|
454
+ |------------- | ------------- | ------------- | -------------|
455
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
456
+ | **size** | [**&#39;d2-4&#39; | &#39;d2-8&#39; | &#39;b2-30&#39;**]**Array<&#39;d2-4&#39; &#124; &#39;d2-8&#39; &#124; &#39;b2-30&#39;>** | Instance Spec | defaults to undefined|
457
+ | **schedule** | [**string**] | Scheduled Task (Date &amp; Time) | (optional) defaults to undefined|
458
+
459
+
460
+ ### Return type
461
+
462
+ void (empty response body)
463
+
464
+ ### Authorization
465
+
466
+ No authorization required
467
+
468
+ ### HTTP request headers
469
+
470
+ - **Content-Type**: Not defined
471
+ - **Accept**: Not defined
472
+
473
+
474
+ ### HTTP response details
475
+ | Status code | Description | Response headers |
476
+ |-------------|-------------|------------------|
477
+ |**200** | No Response | - |
478
+ |**400** | Bad Request | - |
479
+ |**401** | Unauthorised | - |
480
+ |**403** | Access Denied | - |
481
+
482
+ [[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)
483
+
484
+ # **postSuspendInstance**
485
+ > postSuspendInstance()
486
+
487
+ Suspend 3CX Instance
488
+
489
+ ### Example
490
+
491
+ ```typescript
492
+ import {
493
+ Class3CXInstallationsApi,
494
+ Configuration
495
+ } from 'yellowgrid-api-ts';
496
+
497
+ const configuration = new Configuration();
498
+ const apiInstance = new Class3CXInstallationsApi(configuration);
499
+
500
+ let instanceId: string; //Instance ID (default to undefined)
501
+ let schedule: string; //Scheduled Task (Date & Time) (optional) (default to undefined)
502
+
503
+ const { status, data } = await apiInstance.postSuspendInstance(
504
+ instanceId,
505
+ schedule
506
+ );
507
+ ```
508
+
509
+ ### Parameters
510
+
511
+ |Name | Type | Description | Notes|
512
+ |------------- | ------------- | ------------- | -------------|
513
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
514
+ | **schedule** | [**string**] | Scheduled Task (Date &amp; Time) | (optional) defaults to undefined|
515
+
516
+
517
+ ### Return type
518
+
519
+ void (empty response body)
520
+
521
+ ### Authorization
522
+
523
+ No authorization required
524
+
525
+ ### HTTP request headers
526
+
527
+ - **Content-Type**: Not defined
528
+ - **Accept**: Not defined
529
+
530
+
531
+ ### HTTP response details
532
+ | Status code | Description | Response headers |
533
+ |-------------|-------------|------------------|
534
+ |**200** | No Response | - |
535
+ |**400** | Bad Request | - |
536
+ |**401** | Unauthorised | - |
537
+ |**403** | Access Denied | - |
538
+
539
+ [[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)
540
+
541
+ # **postUnsuspendInstance**
542
+ > postUnsuspendInstance()
543
+
544
+ Unsuspend 3CX Instance
545
+
546
+ ### Example
547
+
548
+ ```typescript
549
+ import {
550
+ Class3CXInstallationsApi,
551
+ Configuration
552
+ } from 'yellowgrid-api-ts';
553
+
554
+ const configuration = new Configuration();
555
+ const apiInstance = new Class3CXInstallationsApi(configuration);
556
+
557
+ let instanceId: string; //Instance ID (default to undefined)
558
+
559
+ const { status, data } = await apiInstance.postUnsuspendInstance(
560
+ instanceId
561
+ );
562
+ ```
563
+
564
+ ### Parameters
565
+
566
+ |Name | Type | Description | Notes|
567
+ |------------- | ------------- | ------------- | -------------|
568
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
569
+
570
+
571
+ ### Return type
572
+
573
+ void (empty response body)
574
+
575
+ ### Authorization
576
+
577
+ No authorization required
578
+
579
+ ### HTTP request headers
580
+
581
+ - **Content-Type**: Not defined
582
+ - **Accept**: Not defined
583
+
584
+
585
+ ### HTTP response details
586
+ | Status code | Description | Response headers |
587
+ |-------------|-------------|------------------|
588
+ |**200** | No Response | - |
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
+ # **postUpgradeDebian**
596
+ > postUpgradeDebian()
597
+
598
+ Install OS update on 3CX Instance
599
+
600
+ ### Example
601
+
602
+ ```typescript
603
+ import {
604
+ Class3CXInstallationsApi,
605
+ Configuration
606
+ } from 'yellowgrid-api-ts';
607
+
608
+ const configuration = new Configuration();
609
+ const apiInstance = new Class3CXInstallationsApi(configuration);
610
+
611
+ let instanceId: string; //Instance ID (default to undefined)
612
+ let schedule: string; //Scheduled Task (Date & Time) (default to undefined)
613
+
614
+ const { status, data } = await apiInstance.postUpgradeDebian(
615
+ instanceId,
616
+ schedule
617
+ );
618
+ ```
619
+
620
+ ### Parameters
621
+
622
+ |Name | Type | Description | Notes|
623
+ |------------- | ------------- | ------------- | -------------|
624
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
625
+ | **schedule** | [**string**] | Scheduled Task (Date &amp; Time) | defaults to undefined|
626
+
627
+
628
+ ### Return type
629
+
630
+ void (empty response body)
631
+
632
+ ### Authorization
633
+
634
+ No authorization required
635
+
636
+ ### HTTP request headers
637
+
638
+ - **Content-Type**: Not defined
639
+ - **Accept**: Not defined
640
+
641
+
642
+ ### HTTP response details
643
+ | Status code | Description | Response headers |
644
+ |-------------|-------------|------------------|
645
+ |**200** | No Response | - |
646
+ |**400** | Bad Request | - |
647
+ |**401** | Unauthorised | - |
648
+ |**403** | Access Denied | - |
649
+
650
+ [[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)
651
+