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,402 @@
|
|
|
1
|
+
# ProvisioningApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://api.yellowgrid.local*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**deleteAddFanvilMac**](#deleteaddfanvilmac) | **DELETE** /provisioning/fanvil/groups/{id}/macs/{mac} | Remove MAC address from DB and FDPS group|
|
|
8
|
+
|[**deleteDeleteFanvilGroup**](#deletedeletefanvilgroup) | **DELETE** /provisioning/fanvil/groups/{id} | Delete group from DB and FDPS|
|
|
9
|
+
|[**getGetFanvilEncryptionKey**](#getgetfanvilencryptionkey) | **GET** /provisioning/fanvil/groups/{id}/macs/{mac}/key | Get group Fanvil encryption key|
|
|
10
|
+
|[**getGetFanvilGroupMacs**](#getgetfanvilgroupmacs) | **GET** /provisioning/fanvil/groups/{id}/macs | Get MAC addresses on group at FDPS|
|
|
11
|
+
|[**getGetGroups**](#getgetgroups) | **GET** /provisioning/groups | Get all provisioning groups or filter by customer ID|
|
|
12
|
+
|[**postAddFanvilGroup**](#postaddfanvilgroup) | **POST** /provisioning/fanvil/groups | Add group to DB and FDPS|
|
|
13
|
+
|[**postAddFanvilMac**](#postaddfanvilmac) | **POST** /provisioning/fanvil/groups/{id}/macs/{mac} | Add MAC address to DB and FDPS group|
|
|
14
|
+
|
|
15
|
+
# **deleteAddFanvilMac**
|
|
16
|
+
> deleteAddFanvilMac()
|
|
17
|
+
|
|
18
|
+
Remove MAC address from DB and FDPS group
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import {
|
|
24
|
+
ProvisioningApi,
|
|
25
|
+
Configuration
|
|
26
|
+
} from 'yellowgrid-api-ts';
|
|
27
|
+
|
|
28
|
+
const configuration = new Configuration();
|
|
29
|
+
const apiInstance = new ProvisioningApi(configuration);
|
|
30
|
+
|
|
31
|
+
let id: string; //Group ID (default to undefined)
|
|
32
|
+
let mac: string; //MAC Address (default to undefined)
|
|
33
|
+
|
|
34
|
+
const { status, data } = await apiInstance.deleteAddFanvilMac(
|
|
35
|
+
id,
|
|
36
|
+
mac
|
|
37
|
+
);
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Parameters
|
|
41
|
+
|
|
42
|
+
|Name | Type | Description | Notes|
|
|
43
|
+
|------------- | ------------- | ------------- | -------------|
|
|
44
|
+
| **id** | [**string**] | Group ID | defaults to undefined|
|
|
45
|
+
| **mac** | [**string**] | MAC Address | defaults to undefined|
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Return type
|
|
49
|
+
|
|
50
|
+
void (empty response body)
|
|
51
|
+
|
|
52
|
+
### Authorization
|
|
53
|
+
|
|
54
|
+
No authorization required
|
|
55
|
+
|
|
56
|
+
### HTTP request headers
|
|
57
|
+
|
|
58
|
+
- **Content-Type**: Not defined
|
|
59
|
+
- **Accept**: Not defined
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### HTTP response details
|
|
63
|
+
| Status code | Description | Response headers |
|
|
64
|
+
|-------------|-------------|------------------|
|
|
65
|
+
|**200** | No Response | - |
|
|
66
|
+
|**400** | Bad Request | - |
|
|
67
|
+
|**401** | Unauthorised | - |
|
|
68
|
+
|**403** | Access Denied | - |
|
|
69
|
+
|
|
70
|
+
[[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)
|
|
71
|
+
|
|
72
|
+
# **deleteDeleteFanvilGroup**
|
|
73
|
+
> deleteDeleteFanvilGroup()
|
|
74
|
+
|
|
75
|
+
Delete a Fanvil provisioning group
|
|
76
|
+
|
|
77
|
+
### Example
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
import {
|
|
81
|
+
ProvisioningApi,
|
|
82
|
+
Configuration
|
|
83
|
+
} from 'yellowgrid-api-ts';
|
|
84
|
+
|
|
85
|
+
const configuration = new Configuration();
|
|
86
|
+
const apiInstance = new ProvisioningApi(configuration);
|
|
87
|
+
|
|
88
|
+
let id: string; //Group ID (default to undefined)
|
|
89
|
+
|
|
90
|
+
const { status, data } = await apiInstance.deleteDeleteFanvilGroup(
|
|
91
|
+
id
|
|
92
|
+
);
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Parameters
|
|
96
|
+
|
|
97
|
+
|Name | Type | Description | Notes|
|
|
98
|
+
|------------- | ------------- | ------------- | -------------|
|
|
99
|
+
| **id** | [**string**] | Group ID | defaults to undefined|
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Return type
|
|
103
|
+
|
|
104
|
+
void (empty response body)
|
|
105
|
+
|
|
106
|
+
### Authorization
|
|
107
|
+
|
|
108
|
+
No authorization required
|
|
109
|
+
|
|
110
|
+
### HTTP request headers
|
|
111
|
+
|
|
112
|
+
- **Content-Type**: Not defined
|
|
113
|
+
- **Accept**: Not defined
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### HTTP response details
|
|
117
|
+
| Status code | Description | Response headers |
|
|
118
|
+
|-------------|-------------|------------------|
|
|
119
|
+
|**200** | No Response | - |
|
|
120
|
+
|**400** | Bad Request | - |
|
|
121
|
+
|**401** | Unauthorised | - |
|
|
122
|
+
|**403** | Access Denied | - |
|
|
123
|
+
|
|
124
|
+
[[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)
|
|
125
|
+
|
|
126
|
+
# **getGetFanvilEncryptionKey**
|
|
127
|
+
> string getGetFanvilEncryptionKey()
|
|
128
|
+
|
|
129
|
+
Get group Fanvil encryption key
|
|
130
|
+
|
|
131
|
+
### Example
|
|
132
|
+
|
|
133
|
+
```typescript
|
|
134
|
+
import {
|
|
135
|
+
ProvisioningApi,
|
|
136
|
+
Configuration
|
|
137
|
+
} from 'yellowgrid-api-ts';
|
|
138
|
+
|
|
139
|
+
const configuration = new Configuration();
|
|
140
|
+
const apiInstance = new ProvisioningApi(configuration);
|
|
141
|
+
|
|
142
|
+
let id: string; //Group ID (default to undefined)
|
|
143
|
+
let mac: string; //MAC Address (default to undefined)
|
|
144
|
+
|
|
145
|
+
const { status, data } = await apiInstance.getGetFanvilEncryptionKey(
|
|
146
|
+
id,
|
|
147
|
+
mac
|
|
148
|
+
);
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Parameters
|
|
152
|
+
|
|
153
|
+
|Name | Type | Description | Notes|
|
|
154
|
+
|------------- | ------------- | ------------- | -------------|
|
|
155
|
+
| **id** | [**string**] | Group ID | defaults to undefined|
|
|
156
|
+
| **mac** | [**string**] | MAC Address | defaults to undefined|
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### Return type
|
|
160
|
+
|
|
161
|
+
**string**
|
|
162
|
+
|
|
163
|
+
### Authorization
|
|
164
|
+
|
|
165
|
+
No authorization required
|
|
166
|
+
|
|
167
|
+
### HTTP request headers
|
|
168
|
+
|
|
169
|
+
- **Content-Type**: Not defined
|
|
170
|
+
- **Accept**: application/json
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### HTTP response details
|
|
174
|
+
| Status code | Description | Response headers |
|
|
175
|
+
|-------------|-------------|------------------|
|
|
176
|
+
|**200** | string | - |
|
|
177
|
+
|**400** | Bad Request | - |
|
|
178
|
+
|**401** | Unauthorised | - |
|
|
179
|
+
|**403** | Access Denied | - |
|
|
180
|
+
|
|
181
|
+
[[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)
|
|
182
|
+
|
|
183
|
+
# **getGetFanvilGroupMacs**
|
|
184
|
+
> Array<string> getGetFanvilGroupMacs()
|
|
185
|
+
|
|
186
|
+
Get MAC addresses on group at FDPS
|
|
187
|
+
|
|
188
|
+
### Example
|
|
189
|
+
|
|
190
|
+
```typescript
|
|
191
|
+
import {
|
|
192
|
+
ProvisioningApi,
|
|
193
|
+
Configuration
|
|
194
|
+
} from 'yellowgrid-api-ts';
|
|
195
|
+
|
|
196
|
+
const configuration = new Configuration();
|
|
197
|
+
const apiInstance = new ProvisioningApi(configuration);
|
|
198
|
+
|
|
199
|
+
let id: string; //Group ID (default to undefined)
|
|
200
|
+
|
|
201
|
+
const { status, data } = await apiInstance.getGetFanvilGroupMacs(
|
|
202
|
+
id
|
|
203
|
+
);
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### Parameters
|
|
207
|
+
|
|
208
|
+
|Name | Type | Description | Notes|
|
|
209
|
+
|------------- | ------------- | ------------- | -------------|
|
|
210
|
+
| **id** | [**string**] | Group ID | defaults to undefined|
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
### Return type
|
|
214
|
+
|
|
215
|
+
**Array<string>**
|
|
216
|
+
|
|
217
|
+
### Authorization
|
|
218
|
+
|
|
219
|
+
No authorization required
|
|
220
|
+
|
|
221
|
+
### HTTP request headers
|
|
222
|
+
|
|
223
|
+
- **Content-Type**: Not defined
|
|
224
|
+
- **Accept**: application/json
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
### HTTP response details
|
|
228
|
+
| Status code | Description | Response headers |
|
|
229
|
+
|-------------|-------------|------------------|
|
|
230
|
+
|**200** | [string] | - |
|
|
231
|
+
|**400** | Bad Request | - |
|
|
232
|
+
|**401** | Unauthorised | - |
|
|
233
|
+
|**403** | Access Denied | - |
|
|
234
|
+
|
|
235
|
+
[[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)
|
|
236
|
+
|
|
237
|
+
# **getGetGroups**
|
|
238
|
+
> Array<ProvisioningEntity> getGetGroups()
|
|
239
|
+
|
|
240
|
+
Get provisioning groups
|
|
241
|
+
|
|
242
|
+
### Example
|
|
243
|
+
|
|
244
|
+
```typescript
|
|
245
|
+
import {
|
|
246
|
+
ProvisioningApi,
|
|
247
|
+
Configuration
|
|
248
|
+
} from 'yellowgrid-api-ts';
|
|
249
|
+
|
|
250
|
+
const configuration = new Configuration();
|
|
251
|
+
const apiInstance = new ProvisioningApi(configuration);
|
|
252
|
+
|
|
253
|
+
let id: string; //Customer ID (optional) (default to undefined)
|
|
254
|
+
|
|
255
|
+
const { status, data } = await apiInstance.getGetGroups(
|
|
256
|
+
id
|
|
257
|
+
);
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### Parameters
|
|
261
|
+
|
|
262
|
+
|Name | Type | Description | Notes|
|
|
263
|
+
|------------- | ------------- | ------------- | -------------|
|
|
264
|
+
| **id** | [**string**] | Customer ID | (optional) defaults to undefined|
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
### Return type
|
|
268
|
+
|
|
269
|
+
**Array<ProvisioningEntity>**
|
|
270
|
+
|
|
271
|
+
### Authorization
|
|
272
|
+
|
|
273
|
+
No authorization required
|
|
274
|
+
|
|
275
|
+
### HTTP request headers
|
|
276
|
+
|
|
277
|
+
- **Content-Type**: Not defined
|
|
278
|
+
- **Accept**: application/json
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
### HTTP response details
|
|
282
|
+
| Status code | Description | Response headers |
|
|
283
|
+
|-------------|-------------|------------------|
|
|
284
|
+
|**200** | Provisioning Groups | - |
|
|
285
|
+
|**400** | Bad Request | - |
|
|
286
|
+
|**401** | Unauthorised | - |
|
|
287
|
+
|**403** | Access Denied | - |
|
|
288
|
+
|
|
289
|
+
[[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)
|
|
290
|
+
|
|
291
|
+
# **postAddFanvilGroup**
|
|
292
|
+
> ProvisioningEntity postAddFanvilGroup()
|
|
293
|
+
|
|
294
|
+
Create a Fanvil provisioning group
|
|
295
|
+
|
|
296
|
+
### Example
|
|
297
|
+
|
|
298
|
+
```typescript
|
|
299
|
+
import {
|
|
300
|
+
ProvisioningApi,
|
|
301
|
+
Configuration,
|
|
302
|
+
ProvisioningRequestEntity
|
|
303
|
+
} from 'yellowgrid-api-ts';
|
|
304
|
+
|
|
305
|
+
const configuration = new Configuration();
|
|
306
|
+
const apiInstance = new ProvisioningApi(configuration);
|
|
307
|
+
|
|
308
|
+
let provisioningRequestEntity: ProvisioningRequestEntity; //Provisioning Group Request (optional)
|
|
309
|
+
|
|
310
|
+
const { status, data } = await apiInstance.postAddFanvilGroup(
|
|
311
|
+
provisioningRequestEntity
|
|
312
|
+
);
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
### Parameters
|
|
316
|
+
|
|
317
|
+
|Name | Type | Description | Notes|
|
|
318
|
+
|------------- | ------------- | ------------- | -------------|
|
|
319
|
+
| **provisioningRequestEntity** | **ProvisioningRequestEntity**| Provisioning Group Request | |
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
### Return type
|
|
323
|
+
|
|
324
|
+
**ProvisioningEntity**
|
|
325
|
+
|
|
326
|
+
### Authorization
|
|
327
|
+
|
|
328
|
+
No authorization required
|
|
329
|
+
|
|
330
|
+
### HTTP request headers
|
|
331
|
+
|
|
332
|
+
- **Content-Type**: application/json
|
|
333
|
+
- **Accept**: application/json
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
### HTTP response details
|
|
337
|
+
| Status code | Description | Response headers |
|
|
338
|
+
|-------------|-------------|------------------|
|
|
339
|
+
|**200** | Provisioning Group | - |
|
|
340
|
+
|**400** | Bad Request | - |
|
|
341
|
+
|**401** | Unauthorised | - |
|
|
342
|
+
|**403** | Access Denied | - |
|
|
343
|
+
|
|
344
|
+
[[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)
|
|
345
|
+
|
|
346
|
+
# **postAddFanvilMac**
|
|
347
|
+
> postAddFanvilMac()
|
|
348
|
+
|
|
349
|
+
Add MAC address to DB and FDPS group
|
|
350
|
+
|
|
351
|
+
### Example
|
|
352
|
+
|
|
353
|
+
```typescript
|
|
354
|
+
import {
|
|
355
|
+
ProvisioningApi,
|
|
356
|
+
Configuration
|
|
357
|
+
} from 'yellowgrid-api-ts';
|
|
358
|
+
|
|
359
|
+
const configuration = new Configuration();
|
|
360
|
+
const apiInstance = new ProvisioningApi(configuration);
|
|
361
|
+
|
|
362
|
+
let id: string; //Group ID (default to undefined)
|
|
363
|
+
let mac: string; //MAC Address (default to undefined)
|
|
364
|
+
|
|
365
|
+
const { status, data } = await apiInstance.postAddFanvilMac(
|
|
366
|
+
id,
|
|
367
|
+
mac
|
|
368
|
+
);
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
### Parameters
|
|
372
|
+
|
|
373
|
+
|Name | Type | Description | Notes|
|
|
374
|
+
|------------- | ------------- | ------------- | -------------|
|
|
375
|
+
| **id** | [**string**] | Group ID | defaults to undefined|
|
|
376
|
+
| **mac** | [**string**] | MAC Address | defaults to undefined|
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
### Return type
|
|
380
|
+
|
|
381
|
+
void (empty response body)
|
|
382
|
+
|
|
383
|
+
### Authorization
|
|
384
|
+
|
|
385
|
+
No authorization required
|
|
386
|
+
|
|
387
|
+
### HTTP request headers
|
|
388
|
+
|
|
389
|
+
- **Content-Type**: Not defined
|
|
390
|
+
- **Accept**: Not defined
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
### HTTP response details
|
|
394
|
+
| Status code | Description | Response headers |
|
|
395
|
+
|-------------|-------------|------------------|
|
|
396
|
+
|**200** | No Response | - |
|
|
397
|
+
|**400** | Bad Request | - |
|
|
398
|
+
|**401** | Unauthorised | - |
|
|
399
|
+
|**403** | Access Denied | - |
|
|
400
|
+
|
|
401
|
+
[[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)
|
|
402
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# ProvisioningEntity
|
|
2
|
+
|
|
3
|
+
Provisioning Group
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**groupName** | **string** | Provisioning Group Name | [optional] [default to undefined]
|
|
10
|
+
**provisioningUrl** | **string** | Provisioning URL (Static Provisioning Server) | [optional] [default to undefined]
|
|
11
|
+
**auth** | **string** | Additional Authentication Secret | [optional] [default to undefined]
|
|
12
|
+
**id** | **number** | Provisioning Group ID | [optional] [default to undefined]
|
|
13
|
+
**customerId** | **number** | Owner ID | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ProvisioningEntity } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: ProvisioningEntity = {
|
|
21
|
+
groupName,
|
|
22
|
+
provisioningUrl,
|
|
23
|
+
auth,
|
|
24
|
+
id,
|
|
25
|
+
customerId,
|
|
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,25 @@
|
|
|
1
|
+
# ProvisioningRequestEntity
|
|
2
|
+
|
|
3
|
+
Provisioning Group Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**groupName** | **string** | Provisioning Group Name | [optional] [default to undefined]
|
|
10
|
+
**provisioningUrl** | **string** | Provisioning URL (Static Provisioning Server) | [optional] [default to undefined]
|
|
11
|
+
**auth** | **string** | Additional Authentication Secret | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ProvisioningRequestEntity } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: ProvisioningRequestEntity = {
|
|
19
|
+
groupName,
|
|
20
|
+
provisioningUrl,
|
|
21
|
+
auth,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# ResourceNotReadyException
|
|
2
|
+
|
|
3
|
+
Resource Not Ready
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**message** | **string** | Message | [optional] [default to undefined]
|
|
10
|
+
**resourceId** | **string** | Resource ID | [optional] [default to undefined]
|
|
11
|
+
**status** | **string** | Status | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ResourceNotReadyException } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: ResourceNotReadyException = {
|
|
19
|
+
message,
|
|
20
|
+
resourceId,
|
|
21
|
+
status,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# RootAccessModel
|
|
2
|
+
|
|
3
|
+
Root Access Model
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**username** | **string** | Username | [optional] [default to undefined]
|
|
10
|
+
**password** | **string** | Password | [optional] [default to undefined]
|
|
11
|
+
**expiryDate** | **string** | Expiry Date | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { RootAccessModel } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: RootAccessModel = {
|
|
19
|
+
username,
|
|
20
|
+
password,
|
|
21
|
+
expiryDate,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|