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,404 @@
|
|
|
1
|
+
# Class3CXMultiTenantApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://api.yellowgrid.local*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**deleteGetTenant**](#deletegettenant) | **DELETE** /tcx/mt/tenants/{reference} | Delete 3CX MT Tenant|
|
|
8
|
+
|[**getGetTenant**](#getgettenant) | **GET** /tcx/mt/tenants/{reference} | Get 3CX MT Tenant|
|
|
9
|
+
|[**getGetTenants**](#getgettenants) | **GET** /tcx/mt/tenants | Get 3CX MT Tenants|
|
|
10
|
+
|[**postAddMtDdi**](#postaddmtddi) | **POST** /tcx/mt/ddis | Add 3CX MT DDI|
|
|
11
|
+
|[**postGetMtNewDdis**](#postgetmtnewddis) | **POST** /tcx/mt/changes/ddis | Get 3CX MT New DDIs|
|
|
12
|
+
|[**postGetTenants**](#postgettenants) | **POST** /tcx/mt/tenants | Add 3CX MT Tenant|
|
|
13
|
+
|[**postTrackMtChange**](#posttrackmtchange) | **POST** /tcx/mt/changes/track | Track 3CX MT Change|
|
|
14
|
+
|
|
15
|
+
# **deleteGetTenant**
|
|
16
|
+
> deleteGetTenant()
|
|
17
|
+
|
|
18
|
+
Delete 3CX Starter Bundle Tenant
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import {
|
|
24
|
+
Class3CXMultiTenantApi,
|
|
25
|
+
Configuration
|
|
26
|
+
} from 'yellowgrid-api-ts';
|
|
27
|
+
|
|
28
|
+
const configuration = new Configuration();
|
|
29
|
+
const apiInstance = new Class3CXMultiTenantApi(configuration);
|
|
30
|
+
|
|
31
|
+
let reference: string; //Tenant Reference (default to undefined)
|
|
32
|
+
|
|
33
|
+
const { status, data } = await apiInstance.deleteGetTenant(
|
|
34
|
+
reference
|
|
35
|
+
);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
|Name | Type | Description | Notes|
|
|
41
|
+
|------------- | ------------- | ------------- | -------------|
|
|
42
|
+
| **reference** | [**string**] | Tenant Reference | defaults to undefined|
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Return type
|
|
46
|
+
|
|
47
|
+
void (empty response body)
|
|
48
|
+
|
|
49
|
+
### Authorization
|
|
50
|
+
|
|
51
|
+
No authorization required
|
|
52
|
+
|
|
53
|
+
### HTTP request headers
|
|
54
|
+
|
|
55
|
+
- **Content-Type**: Not defined
|
|
56
|
+
- **Accept**: Not defined
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### HTTP response details
|
|
60
|
+
| Status code | Description | Response headers |
|
|
61
|
+
|-------------|-------------|------------------|
|
|
62
|
+
|**200** | No Response | - |
|
|
63
|
+
|**400** | Bad Request | - |
|
|
64
|
+
|**401** | Unauthorised | - |
|
|
65
|
+
|**403** | Access Denied | - |
|
|
66
|
+
|
|
67
|
+
[[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)
|
|
68
|
+
|
|
69
|
+
# **getGetTenant**
|
|
70
|
+
> TcxMultiTenantModel getGetTenant()
|
|
71
|
+
|
|
72
|
+
Get 3CX Starter Bundle Tenant
|
|
73
|
+
|
|
74
|
+
### Example
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import {
|
|
78
|
+
Class3CXMultiTenantApi,
|
|
79
|
+
Configuration
|
|
80
|
+
} from 'yellowgrid-api-ts';
|
|
81
|
+
|
|
82
|
+
const configuration = new Configuration();
|
|
83
|
+
const apiInstance = new Class3CXMultiTenantApi(configuration);
|
|
84
|
+
|
|
85
|
+
let reference: string; //Tenant Reference (default to undefined)
|
|
86
|
+
|
|
87
|
+
const { status, data } = await apiInstance.getGetTenant(
|
|
88
|
+
reference
|
|
89
|
+
);
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Parameters
|
|
93
|
+
|
|
94
|
+
|Name | Type | Description | Notes|
|
|
95
|
+
|------------- | ------------- | ------------- | -------------|
|
|
96
|
+
| **reference** | [**string**] | Tenant Reference | defaults to undefined|
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### Return type
|
|
100
|
+
|
|
101
|
+
**TcxMultiTenantModel**
|
|
102
|
+
|
|
103
|
+
### Authorization
|
|
104
|
+
|
|
105
|
+
No authorization required
|
|
106
|
+
|
|
107
|
+
### HTTP request headers
|
|
108
|
+
|
|
109
|
+
- **Content-Type**: Not defined
|
|
110
|
+
- **Accept**: application/json
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### HTTP response details
|
|
114
|
+
| Status code | Description | Response headers |
|
|
115
|
+
|-------------|-------------|------------------|
|
|
116
|
+
|**200** | 3CX Starter Bundle Tenant | - |
|
|
117
|
+
|**400** | Bad Request | - |
|
|
118
|
+
|**401** | Unauthorised | - |
|
|
119
|
+
|**403** | Access Denied | - |
|
|
120
|
+
|
|
121
|
+
[[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)
|
|
122
|
+
|
|
123
|
+
# **getGetTenants**
|
|
124
|
+
> TcxMultiTenantsModel getGetTenants()
|
|
125
|
+
|
|
126
|
+
Get 3CX Starter Bundle Tenants
|
|
127
|
+
|
|
128
|
+
### Example
|
|
129
|
+
|
|
130
|
+
```typescript
|
|
131
|
+
import {
|
|
132
|
+
Class3CXMultiTenantApi,
|
|
133
|
+
Configuration
|
|
134
|
+
} from 'yellowgrid-api-ts';
|
|
135
|
+
|
|
136
|
+
const configuration = new Configuration();
|
|
137
|
+
const apiInstance = new Class3CXMultiTenantApi(configuration);
|
|
138
|
+
|
|
139
|
+
let pageSize: number; //Number Of Results (optional) (default to 20)
|
|
140
|
+
let page: number; //Page Number (optional) (default to 1)
|
|
141
|
+
let search: string; //Search (optional) (default to undefined)
|
|
142
|
+
let status: 'Completed' | 'Outstanding' | 'Offline' | 'Failed Over'; //Status (optional) (default to undefined)
|
|
143
|
+
|
|
144
|
+
const { status, data } = await apiInstance.getGetTenants(
|
|
145
|
+
pageSize,
|
|
146
|
+
page,
|
|
147
|
+
search,
|
|
148
|
+
status
|
|
149
|
+
);
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Parameters
|
|
153
|
+
|
|
154
|
+
|Name | Type | Description | Notes|
|
|
155
|
+
|------------- | ------------- | ------------- | -------------|
|
|
156
|
+
| **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
|
|
157
|
+
| **page** | [**number**] | Page Number | (optional) defaults to 1|
|
|
158
|
+
| **search** | [**string**] | Search | (optional) defaults to undefined|
|
|
159
|
+
| **status** | [**'Completed' | 'Outstanding' | 'Offline' | 'Failed Over'**]**Array<'Completed' | 'Outstanding' | 'Offline' | 'Failed Over'>** | Status | (optional) defaults to undefined|
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### Return type
|
|
163
|
+
|
|
164
|
+
**TcxMultiTenantsModel**
|
|
165
|
+
|
|
166
|
+
### Authorization
|
|
167
|
+
|
|
168
|
+
No authorization required
|
|
169
|
+
|
|
170
|
+
### HTTP request headers
|
|
171
|
+
|
|
172
|
+
- **Content-Type**: Not defined
|
|
173
|
+
- **Accept**: application/json
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### HTTP response details
|
|
177
|
+
| Status code | Description | Response headers |
|
|
178
|
+
|-------------|-------------|------------------|
|
|
179
|
+
|**200** | 3CX Starter Bundle Tenant | - |
|
|
180
|
+
|**400** | Bad Request | - |
|
|
181
|
+
|**401** | Unauthorised | - |
|
|
182
|
+
|**403** | Access Denied | - |
|
|
183
|
+
|
|
184
|
+
[[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)
|
|
185
|
+
|
|
186
|
+
# **postAddMtDdi**
|
|
187
|
+
> MultiTenantChangeResponseModel postAddMtDdi()
|
|
188
|
+
|
|
189
|
+
Add 3CX MT DDI
|
|
190
|
+
|
|
191
|
+
### Example
|
|
192
|
+
|
|
193
|
+
```typescript
|
|
194
|
+
import {
|
|
195
|
+
Class3CXMultiTenantApi,
|
|
196
|
+
Configuration
|
|
197
|
+
} from 'yellowgrid-api-ts';
|
|
198
|
+
|
|
199
|
+
const configuration = new Configuration();
|
|
200
|
+
const apiInstance = new Class3CXMultiTenantApi(configuration);
|
|
201
|
+
|
|
202
|
+
let areacode: string; //Area Code (default to undefined)
|
|
203
|
+
|
|
204
|
+
const { status, data } = await apiInstance.postAddMtDdi(
|
|
205
|
+
areacode
|
|
206
|
+
);
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Parameters
|
|
210
|
+
|
|
211
|
+
|Name | Type | Description | Notes|
|
|
212
|
+
|------------- | ------------- | ------------- | -------------|
|
|
213
|
+
| **areacode** | [**string**] | Area Code | defaults to undefined|
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
### Return type
|
|
217
|
+
|
|
218
|
+
**MultiTenantChangeResponseModel**
|
|
219
|
+
|
|
220
|
+
### Authorization
|
|
221
|
+
|
|
222
|
+
No authorization required
|
|
223
|
+
|
|
224
|
+
### HTTP request headers
|
|
225
|
+
|
|
226
|
+
- **Content-Type**: Not defined
|
|
227
|
+
- **Accept**: application/json
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
### HTTP response details
|
|
231
|
+
| Status code | Description | Response headers |
|
|
232
|
+
|-------------|-------------|------------------|
|
|
233
|
+
|**200** | Multi-Tenant Change Response | - |
|
|
234
|
+
|**400** | Bad Request | - |
|
|
235
|
+
|**401** | Unauthorised | - |
|
|
236
|
+
|**403** | Access Denied | - |
|
|
237
|
+
|
|
238
|
+
[[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)
|
|
239
|
+
|
|
240
|
+
# **postGetMtNewDdis**
|
|
241
|
+
> Array<string> postGetMtNewDdis()
|
|
242
|
+
|
|
243
|
+
Get 3CX MT New DDIs
|
|
244
|
+
|
|
245
|
+
### Example
|
|
246
|
+
|
|
247
|
+
```typescript
|
|
248
|
+
import {
|
|
249
|
+
Class3CXMultiTenantApi,
|
|
250
|
+
Configuration,
|
|
251
|
+
MultiTenantChangeResponseModel
|
|
252
|
+
} from 'yellowgrid-api-ts';
|
|
253
|
+
|
|
254
|
+
const configuration = new Configuration();
|
|
255
|
+
const apiInstance = new Class3CXMultiTenantApi(configuration);
|
|
256
|
+
|
|
257
|
+
let multiTenantChangeResponseModel: MultiTenantChangeResponseModel; //Multi-Tenant Change Request (optional)
|
|
258
|
+
|
|
259
|
+
const { status, data } = await apiInstance.postGetMtNewDdis(
|
|
260
|
+
multiTenantChangeResponseModel
|
|
261
|
+
);
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
### Parameters
|
|
265
|
+
|
|
266
|
+
|Name | Type | Description | Notes|
|
|
267
|
+
|------------- | ------------- | ------------- | -------------|
|
|
268
|
+
| **multiTenantChangeResponseModel** | **MultiTenantChangeResponseModel**| Multi-Tenant Change Request | |
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
### Return type
|
|
272
|
+
|
|
273
|
+
**Array<string>**
|
|
274
|
+
|
|
275
|
+
### Authorization
|
|
276
|
+
|
|
277
|
+
No authorization required
|
|
278
|
+
|
|
279
|
+
### HTTP request headers
|
|
280
|
+
|
|
281
|
+
- **Content-Type**: application/json
|
|
282
|
+
- **Accept**: application/json
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
### HTTP response details
|
|
286
|
+
| Status code | Description | Response headers |
|
|
287
|
+
|-------------|-------------|------------------|
|
|
288
|
+
|**200** | [string] | - |
|
|
289
|
+
|**400** | Bad Request | - |
|
|
290
|
+
|**401** | Unauthorised | - |
|
|
291
|
+
|**403** | Access Denied | - |
|
|
292
|
+
|
|
293
|
+
[[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)
|
|
294
|
+
|
|
295
|
+
# **postGetTenants**
|
|
296
|
+
> TcxMultiTenantModel postGetTenants()
|
|
297
|
+
|
|
298
|
+
Add 3CX Starter Bundle Tenant
|
|
299
|
+
|
|
300
|
+
### Example
|
|
301
|
+
|
|
302
|
+
```typescript
|
|
303
|
+
import {
|
|
304
|
+
Class3CXMultiTenantApi,
|
|
305
|
+
Configuration,
|
|
306
|
+
TcxMultiTenantModel
|
|
307
|
+
} from 'yellowgrid-api-ts';
|
|
308
|
+
|
|
309
|
+
const configuration = new Configuration();
|
|
310
|
+
const apiInstance = new Class3CXMultiTenantApi(configuration);
|
|
311
|
+
|
|
312
|
+
let tcxMultiTenantModel: TcxMultiTenantModel; //New 3CX Starter Bundle Request (optional)
|
|
313
|
+
|
|
314
|
+
const { status, data } = await apiInstance.postGetTenants(
|
|
315
|
+
tcxMultiTenantModel
|
|
316
|
+
);
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
### Parameters
|
|
320
|
+
|
|
321
|
+
|Name | Type | Description | Notes|
|
|
322
|
+
|------------- | ------------- | ------------- | -------------|
|
|
323
|
+
| **tcxMultiTenantModel** | **TcxMultiTenantModel**| New 3CX Starter Bundle Request | |
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
### Return type
|
|
327
|
+
|
|
328
|
+
**TcxMultiTenantModel**
|
|
329
|
+
|
|
330
|
+
### Authorization
|
|
331
|
+
|
|
332
|
+
No authorization required
|
|
333
|
+
|
|
334
|
+
### HTTP request headers
|
|
335
|
+
|
|
336
|
+
- **Content-Type**: application/json
|
|
337
|
+
- **Accept**: application/json
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
### HTTP response details
|
|
341
|
+
| Status code | Description | Response headers |
|
|
342
|
+
|-------------|-------------|------------------|
|
|
343
|
+
|**200** | 3CX Starter Bundle Tenant | - |
|
|
344
|
+
|**400** | Bad Request | - |
|
|
345
|
+
|**401** | Unauthorised | - |
|
|
346
|
+
|**403** | Access Denied | - |
|
|
347
|
+
|
|
348
|
+
[[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)
|
|
349
|
+
|
|
350
|
+
# **postTrackMtChange**
|
|
351
|
+
> MultiTenantChangeResponseModel postTrackMtChange()
|
|
352
|
+
|
|
353
|
+
Track 3CX MT Change
|
|
354
|
+
|
|
355
|
+
### Example
|
|
356
|
+
|
|
357
|
+
```typescript
|
|
358
|
+
import {
|
|
359
|
+
Class3CXMultiTenantApi,
|
|
360
|
+
Configuration,
|
|
361
|
+
MultiTenantChangeResponseModel
|
|
362
|
+
} from 'yellowgrid-api-ts';
|
|
363
|
+
|
|
364
|
+
const configuration = new Configuration();
|
|
365
|
+
const apiInstance = new Class3CXMultiTenantApi(configuration);
|
|
366
|
+
|
|
367
|
+
let multiTenantChangeResponseModel: MultiTenantChangeResponseModel; //Multi-Tenant Change Request (optional)
|
|
368
|
+
|
|
369
|
+
const { status, data } = await apiInstance.postTrackMtChange(
|
|
370
|
+
multiTenantChangeResponseModel
|
|
371
|
+
);
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
### Parameters
|
|
375
|
+
|
|
376
|
+
|Name | Type | Description | Notes|
|
|
377
|
+
|------------- | ------------- | ------------- | -------------|
|
|
378
|
+
| **multiTenantChangeResponseModel** | **MultiTenantChangeResponseModel**| Multi-Tenant Change Request | |
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
### Return type
|
|
382
|
+
|
|
383
|
+
**MultiTenantChangeResponseModel**
|
|
384
|
+
|
|
385
|
+
### Authorization
|
|
386
|
+
|
|
387
|
+
No authorization required
|
|
388
|
+
|
|
389
|
+
### HTTP request headers
|
|
390
|
+
|
|
391
|
+
- **Content-Type**: application/json
|
|
392
|
+
- **Accept**: application/json
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
### HTTP response details
|
|
396
|
+
| Status code | Description | Response headers |
|
|
397
|
+
|-------------|-------------|------------------|
|
|
398
|
+
|**200** | Multi-Tenant Change Response | - |
|
|
399
|
+
|**400** | Bad Request | - |
|
|
400
|
+
|**401** | Unauthorised | - |
|
|
401
|
+
|**403** | Access Denied | - |
|
|
402
|
+
|
|
403
|
+
[[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)
|
|
404
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# ClientDetailsModel
|
|
2
|
+
|
|
3
|
+
Client Details
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**clientId** | **string** | Client ID | [optional] [default to undefined]
|
|
10
|
+
**userId** | **number** | User ID | [optional] [default to undefined]
|
|
11
|
+
**email** | **string** | Email Address | [optional] [default to undefined]
|
|
12
|
+
**customerId** | **number** | Customer ID | [optional] [default to undefined]
|
|
13
|
+
**xeroId** | **string** | Xero ID | [optional] [default to undefined]
|
|
14
|
+
**firstName** | **string** | User First Name | [optional] [default to undefined]
|
|
15
|
+
**lastName** | **string** | User Last Name | [optional] [default to undefined]
|
|
16
|
+
**image** | **string** | User Profile Picture | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { ClientDetailsModel } from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const instance: ClientDetailsModel = {
|
|
24
|
+
clientId,
|
|
25
|
+
userId,
|
|
26
|
+
email,
|
|
27
|
+
customerId,
|
|
28
|
+
xeroId,
|
|
29
|
+
firstName,
|
|
30
|
+
lastName,
|
|
31
|
+
image,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# ClientModel
|
|
2
|
+
|
|
3
|
+
OAuth client details
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**scopes** | **Array<string>** | OAuth 2.0 Scopes | [optional] [default to undefined]
|
|
10
|
+
**client_id** | **string** | OAuth 2.0 Client ID | [optional] [default to undefined]
|
|
11
|
+
**client_secret** | **string** | OAuth 2.0 Client Secret | [optional] [default to undefined]
|
|
12
|
+
**created** | **string** | Creation Date | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ClientModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: ClientModel = {
|
|
20
|
+
scopes,
|
|
21
|
+
client_id,
|
|
22
|
+
client_secret,
|
|
23
|
+
created,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# CompanyContractModel
|
|
2
|
+
|
|
3
|
+
Company Tech Support Contract
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**contractStartDate** | **string** | Contract Start Date | [optional] [default to undefined]
|
|
10
|
+
**contractEndDate** | **string** | Contract End Date | [optional] [default to undefined]
|
|
11
|
+
**supportBankTime** | **string** | Contract Support Bank Hours | [optional] [default to undefined]
|
|
12
|
+
**timeUsed** | **string** | Time Used | [optional] [default to undefined]
|
|
13
|
+
**timeRemaining** | **string** | Time Remaining | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { CompanyContractModel } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: CompanyContractModel = {
|
|
21
|
+
contractStartDate,
|
|
22
|
+
contractEndDate,
|
|
23
|
+
supportBankTime,
|
|
24
|
+
timeUsed,
|
|
25
|
+
timeRemaining,
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# ContactInfoModel
|
|
2
|
+
|
|
3
|
+
Order Contact Info
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**firstName** | **string** | Contact First Name | [optional] [default to undefined]
|
|
10
|
+
**lastName** | **string** | Contact Last Name | [optional] [default to undefined]
|
|
11
|
+
**fullName** | **string** | Contact Full Name | [optional] [default to undefined]
|
|
12
|
+
**telephone** | **string** | Contact Telephone | [optional] [default to undefined]
|
|
13
|
+
**vatNumber** | **string** | VAT Number | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ContactInfoModel } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: ContactInfoModel = {
|
|
21
|
+
firstName,
|
|
22
|
+
lastName,
|
|
23
|
+
fullName,
|
|
24
|
+
telephone,
|
|
25
|
+
vatNumber,
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# ConversationModel
|
|
2
|
+
|
|
3
|
+
Freshdesk Ticket Conversation
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**body** | **string** | Conversation Body | [optional] [default to undefined]
|
|
10
|
+
**fromCustomer** | **boolean** | From Customer | [optional] [default to undefined]
|
|
11
|
+
**targetEmails** | **Array<string>** | Target Email | [optional] [default to undefined]
|
|
12
|
+
**senderEmail** | **string** | Sender Email | [optional] [default to undefined]
|
|
13
|
+
**sender** | **string** | Sender | [optional] [default to undefined]
|
|
14
|
+
**ccEmails** | **Array<string>** | CC Emails | [optional] [default to undefined]
|
|
15
|
+
**createdAt** | **string** | Conversation Creation Time | [optional] [default to undefined]
|
|
16
|
+
**attachments** | [**Array<AttachmentModel>**](AttachmentModel.md) | Attachments | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { ConversationModel } from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const instance: ConversationModel = {
|
|
24
|
+
body,
|
|
25
|
+
fromCustomer,
|
|
26
|
+
targetEmails,
|
|
27
|
+
senderEmail,
|
|
28
|
+
sender,
|
|
29
|
+
ccEmails,
|
|
30
|
+
createdAt,
|
|
31
|
+
attachments,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# CreditAccountEntity
|
|
2
|
+
|
|
3
|
+
Credit Account
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Contact Name | [optional] [default to undefined]
|
|
11
|
+
**email** | **string** | Email | [optional] [default to undefined]
|
|
12
|
+
**phone** | **string** | Phone Number | [optional] [default to undefined]
|
|
13
|
+
**company** | **string** | Company Name | [optional] [default to undefined]
|
|
14
|
+
**companyNumber** | **string** | Company Registration Number | [optional] [default to undefined]
|
|
15
|
+
**vatNumber** | **string** | VAT Number | [optional] [default to undefined]
|
|
16
|
+
**addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
|
|
17
|
+
**addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
|
|
18
|
+
**city** | **string** | City | [optional] [default to undefined]
|
|
19
|
+
**county** | **string** | County | [optional] [default to undefined]
|
|
20
|
+
**iso** | **string** | Country ISO Code | [optional] [default to undefined]
|
|
21
|
+
**postalCode** | **string** | Post Code | [optional] [default to undefined]
|
|
22
|
+
**accountNumber** | **string** | Account Number | [optional] [default to undefined]
|
|
23
|
+
**xeroId** | **string** | Xero Contact ID | [optional] [default to undefined]
|
|
24
|
+
**creditLimit** | **number** | Credit Limit | [optional] [default to undefined]
|
|
25
|
+
**paymentMethod** | **string** | Payment Method | [optional] [default to undefined]
|
|
26
|
+
**servicePaymentMethod** | **string** | Service Payment Method | [optional] [default to undefined]
|
|
27
|
+
**resellerId** | **string** | 3CX Reseller ID | [optional] [default to undefined]
|
|
28
|
+
**creationDate** | **string** | Creation Date | [optional] [default to undefined]
|
|
29
|
+
**prizePromo** | **boolean** | Prize Promo Enabled | [optional] [default to undefined]
|
|
30
|
+
|
|
31
|
+
## Example
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
import { CreditAccountEntity } from 'yellowgrid-api-ts';
|
|
35
|
+
|
|
36
|
+
const instance: CreditAccountEntity = {
|
|
37
|
+
id,
|
|
38
|
+
name,
|
|
39
|
+
email,
|
|
40
|
+
phone,
|
|
41
|
+
company,
|
|
42
|
+
companyNumber,
|
|
43
|
+
vatNumber,
|
|
44
|
+
addressLine1,
|
|
45
|
+
addressLine2,
|
|
46
|
+
city,
|
|
47
|
+
county,
|
|
48
|
+
iso,
|
|
49
|
+
postalCode,
|
|
50
|
+
accountNumber,
|
|
51
|
+
xeroId,
|
|
52
|
+
creditLimit,
|
|
53
|
+
paymentMethod,
|
|
54
|
+
servicePaymentMethod,
|
|
55
|
+
resellerId,
|
|
56
|
+
creationDate,
|
|
57
|
+
prizePromo,
|
|
58
|
+
};
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# CustomerInformationModel
|
|
2
|
+
|
|
3
|
+
SIP Trunk Customer
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**addressLine1** | **string** | End User Address Line 1 | [optional] [default to undefined]
|
|
10
|
+
**addressLine2** | **string** | End User Address Line 2 | [optional] [default to undefined]
|
|
11
|
+
**addressCity** | **string** | End User Town/City | [optional] [default to undefined]
|
|
12
|
+
**addressPostcode** | **string** | End User Postal Code | [optional] [default to undefined]
|
|
13
|
+
**companyName** | **string** | End User Company Name | [optional] [default to undefined]
|
|
14
|
+
**contactFirstName** | **string** | End User Contact First Name | [optional] [default to undefined]
|
|
15
|
+
**contactLastName** | **string** | End User Contact Surname | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { CustomerInformationModel } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: CustomerInformationModel = {
|
|
23
|
+
addressLine1,
|
|
24
|
+
addressLine2,
|
|
25
|
+
addressCity,
|
|
26
|
+
addressPostcode,
|
|
27
|
+
companyName,
|
|
28
|
+
contactFirstName,
|
|
29
|
+
contactLastName,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# CustomerPriceListEnum
|
|
2
|
+
|
|
3
|
+
Customer Price List
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | Price List ID | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | Price List Name | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { CustomerPriceListEnum } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: CustomerPriceListEnum = {
|
|
18
|
+
id,
|
|
19
|
+
name,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|