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,25 @@
|
|
|
1
|
+
# InstanceMonitoringEntity
|
|
2
|
+
|
|
3
|
+
InstanceMonitoringEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**instanceId** | **string** | instanceId | [optional] [default to undefined]
|
|
10
|
+
**port** | **number** | port | [optional] [default to undefined]
|
|
11
|
+
**lastConnected** | **string** | lastConnected | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { InstanceMonitoringEntity } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: InstanceMonitoringEntity = {
|
|
19
|
+
instanceId,
|
|
20
|
+
port,
|
|
21
|
+
lastConnected,
|
|
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,31 @@
|
|
|
1
|
+
# InstanceMonitoringLogEntity
|
|
2
|
+
|
|
3
|
+
InstanceMonitoringLogEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**instanceId** | **string** | instanceId | [optional] [default to undefined]
|
|
11
|
+
**code** | **number** | code | [optional] [default to undefined]
|
|
12
|
+
**error** | **string** | error | [optional] [default to undefined]
|
|
13
|
+
**date** | **string** | date | [optional] [default to undefined]
|
|
14
|
+
**timestamp** | **string** | timestamp | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { InstanceMonitoringLogEntity } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: InstanceMonitoringLogEntity = {
|
|
22
|
+
id,
|
|
23
|
+
instanceId,
|
|
24
|
+
code,
|
|
25
|
+
error,
|
|
26
|
+
date,
|
|
27
|
+
timestamp,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,31 @@
|
|
|
1
|
+
# InstanceScheduledTasksEntity
|
|
2
|
+
|
|
3
|
+
InstanceScheduledTasksEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**instanceId** | **string** | instanceId | [optional] [default to undefined]
|
|
11
|
+
**task** | **string** | task | [optional] [default to undefined]
|
|
12
|
+
**value** | **string** | value | [optional] [default to undefined]
|
|
13
|
+
**time** | **string** | time | [optional] [default to undefined]
|
|
14
|
+
**status** | **number** | status | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { InstanceScheduledTasksEntity } from 'yellowgrid-api-ts';
|
|
20
|
+
|
|
21
|
+
const instance: InstanceScheduledTasksEntity = {
|
|
22
|
+
id,
|
|
23
|
+
instanceId,
|
|
24
|
+
task,
|
|
25
|
+
value,
|
|
26
|
+
time,
|
|
27
|
+
status,
|
|
28
|
+
};
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[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,39 @@
|
|
|
1
|
+
# InstanceTcxDetailsEntity
|
|
2
|
+
|
|
3
|
+
InstanceTcxDetailsEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**instanceId** | **string** | instanceId | [optional] [default to undefined]
|
|
11
|
+
**version** | **string** | version | [optional] [default to undefined]
|
|
12
|
+
**maxSimCalls** | **number** | maxSimCalls | [optional] [default to undefined]
|
|
13
|
+
**fqdn** | **string** | fqdn | [optional] [default to undefined]
|
|
14
|
+
**productCode** | **string** | productCode | [optional] [default to undefined]
|
|
15
|
+
**resellerName** | **string** | resellerName | [optional] [default to undefined]
|
|
16
|
+
**licenseKey** | **string** | licenseKey | [optional] [default to undefined]
|
|
17
|
+
**adminEMail** | **string** | adminEMail | [optional] [default to undefined]
|
|
18
|
+
**expirationDate** | **string** | expirationDate | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { InstanceTcxDetailsEntity } from 'yellowgrid-api-ts';
|
|
24
|
+
|
|
25
|
+
const instance: InstanceTcxDetailsEntity = {
|
|
26
|
+
id,
|
|
27
|
+
instanceId,
|
|
28
|
+
version,
|
|
29
|
+
maxSimCalls,
|
|
30
|
+
fqdn,
|
|
31
|
+
productCode,
|
|
32
|
+
resellerName,
|
|
33
|
+
licenseKey,
|
|
34
|
+
adminEMail,
|
|
35
|
+
expirationDate,
|
|
36
|
+
};
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
[[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
|
+
# InstanceUserCredentialsEntity
|
|
2
|
+
|
|
3
|
+
InstanceUserCredentialsEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**instanceId** | **string** | instanceId | [optional] [default to undefined]
|
|
11
|
+
**username** | **string** | username | [optional] [default to undefined]
|
|
12
|
+
**password** | **string** | password | [optional] [default to undefined]
|
|
13
|
+
**creationDate** | **string** | creationDate | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { InstanceUserCredentialsEntity } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: InstanceUserCredentialsEntity = {
|
|
21
|
+
id,
|
|
22
|
+
instanceId,
|
|
23
|
+
username,
|
|
24
|
+
password,
|
|
25
|
+
creationDate,
|
|
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)
|
package/docs/ItemDTO.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# ItemDTO
|
|
2
|
+
|
|
3
|
+
Order Item
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
|
+
**orderId** | **number** | Order ID | [optional] [default to undefined]
|
|
11
|
+
**title** | **string** | Title | [optional] [default to undefined]
|
|
12
|
+
**sku** | **string** | SKU | [optional] [default to undefined]
|
|
13
|
+
**quantity** | **number** | Quantity | [optional] [default to undefined]
|
|
14
|
+
**price** | **number** | Price | [optional] [default to undefined]
|
|
15
|
+
**licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
|
|
16
|
+
**licenceExpiry** | **string** | Date Time | [optional] [default to undefined]
|
|
17
|
+
**processDate** | **string** | Date Time | [optional] [default to undefined]
|
|
18
|
+
**promoItem** | **boolean** | Promo Item | [optional] [default to undefined]
|
|
19
|
+
**refunded** | **number** | Refunded | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { ItemDTO } from 'yellowgrid-api-ts';
|
|
25
|
+
|
|
26
|
+
const instance: ItemDTO = {
|
|
27
|
+
id,
|
|
28
|
+
orderId,
|
|
29
|
+
title,
|
|
30
|
+
sku,
|
|
31
|
+
quantity,
|
|
32
|
+
price,
|
|
33
|
+
licenceKey,
|
|
34
|
+
licenceExpiry,
|
|
35
|
+
processDate,
|
|
36
|
+
promoItem,
|
|
37
|
+
refunded,
|
|
38
|
+
};
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# ItemEntity
|
|
2
|
+
|
|
3
|
+
ItemsEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**orderId** | **number** | orderId | [optional] [default to undefined]
|
|
11
|
+
**sku** | **string** | sku | [optional] [default to undefined]
|
|
12
|
+
**title** | **string** | title | [optional] [default to undefined]
|
|
13
|
+
**itemOptions** | **string** | itemOptions | [optional] [default to undefined]
|
|
14
|
+
**quantity** | **number** | quantity | [optional] [default to undefined]
|
|
15
|
+
**customOption** | **number** | customOption | [optional] [default to undefined]
|
|
16
|
+
**itemPrice** | **number** | itemPrice | [optional] [default to undefined]
|
|
17
|
+
**itemPriceGbp** | **number** | itemPriceGbp | [optional] [default to undefined]
|
|
18
|
+
**itemTax** | **number** | itemTax | [optional] [default to undefined]
|
|
19
|
+
**itemTaxGbp** | **number** | itemTaxGbp | [optional] [default to undefined]
|
|
20
|
+
**itemShipping** | **number** | itemShipping | [optional] [default to undefined]
|
|
21
|
+
**itemShippingGbp** | **number** | itemShippingGbp | [optional] [default to undefined]
|
|
22
|
+
**shippingTax** | **number** | shippingTax | [optional] [default to undefined]
|
|
23
|
+
**shippingTaxGbp** | **number** | shippingTaxGbp | [optional] [default to undefined]
|
|
24
|
+
**customerRefunded** | **number** | customerRefunded | [optional] [default to undefined]
|
|
25
|
+
**licencekey** | **string** | licencekey | [optional] [default to undefined]
|
|
26
|
+
**addHosting** | **number** | addHosting | [optional] [default to undefined]
|
|
27
|
+
**licenceExpiryDate** | **string** | licenceExpiryDate | [optional] [default to undefined]
|
|
28
|
+
**processDate** | **string** | processDate | [optional] [default to undefined]
|
|
29
|
+
**promoItem** | **number** | promo | [optional] [default to undefined]
|
|
30
|
+
|
|
31
|
+
## Example
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
import { ItemEntity } from 'yellowgrid-api-ts';
|
|
35
|
+
|
|
36
|
+
const instance: ItemEntity = {
|
|
37
|
+
id,
|
|
38
|
+
orderId,
|
|
39
|
+
sku,
|
|
40
|
+
title,
|
|
41
|
+
itemOptions,
|
|
42
|
+
quantity,
|
|
43
|
+
customOption,
|
|
44
|
+
itemPrice,
|
|
45
|
+
itemPriceGbp,
|
|
46
|
+
itemTax,
|
|
47
|
+
itemTaxGbp,
|
|
48
|
+
itemShipping,
|
|
49
|
+
itemShippingGbp,
|
|
50
|
+
shippingTax,
|
|
51
|
+
shippingTaxGbp,
|
|
52
|
+
customerRefunded,
|
|
53
|
+
licencekey,
|
|
54
|
+
addHosting,
|
|
55
|
+
licenceExpiryDate,
|
|
56
|
+
processDate,
|
|
57
|
+
promoItem,
|
|
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,23 @@
|
|
|
1
|
+
# MFARequiredModel
|
|
2
|
+
|
|
3
|
+
MFA Required
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**secret** | **string** | MFA Secret | [optional] [default to undefined]
|
|
10
|
+
**png** | **string** | QR Code | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { MFARequiredModel } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: MFARequiredModel = {
|
|
18
|
+
secret,
|
|
19
|
+
png,
|
|
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)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# MonthlyUsageModel
|
|
2
|
+
|
|
3
|
+
Monthly Contract Usage
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**month** | **string** | Month | [optional] [default to undefined]
|
|
10
|
+
**used** | **number** | Used | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { MonthlyUsageModel } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: MonthlyUsageModel = {
|
|
18
|
+
month,
|
|
19
|
+
used,
|
|
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)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# MultiTenantChangeResponseModel
|
|
2
|
+
|
|
3
|
+
Multi-Tenant Change Response
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**progress** | **number** | Progress | [optional] [default to undefined]
|
|
10
|
+
**changeId** | **string** | ID | [optional] [default to undefined]
|
|
11
|
+
**type** | **string** | Type | [optional] [default to undefined]
|
|
12
|
+
**provider** | **number** | Provider | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { MultiTenantChangeResponseModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: MultiTenantChangeResponseModel = {
|
|
20
|
+
progress,
|
|
21
|
+
changeId,
|
|
22
|
+
type,
|
|
23
|
+
provider,
|
|
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,65 @@
|
|
|
1
|
+
# MyPBXToolsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://api.yellowgrid.local*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getGetRecording**](#getgetrecording) | **GET** /mypbxtools/recordings | Fetch recording from a 3CX instance|
|
|
8
|
+
|
|
9
|
+
# **getGetRecording**
|
|
10
|
+
> GetGetRecording200Response getGetRecording()
|
|
11
|
+
|
|
12
|
+
Get 3CX Installation Details
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
MyPBXToolsApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new MyPBXToolsApi(configuration);
|
|
24
|
+
|
|
25
|
+
let licenceKey: string; //Licence Key (default to undefined)
|
|
26
|
+
let fileName: string; //File Name (default to undefined)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.getGetRecording(
|
|
29
|
+
licenceKey,
|
|
30
|
+
fileName
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **licenceKey** | [**string**] | Licence Key | defaults to undefined|
|
|
39
|
+
| **fileName** | [**string**] | File Name | defaults to undefined|
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Return type
|
|
43
|
+
|
|
44
|
+
**GetGetRecording200Response**
|
|
45
|
+
|
|
46
|
+
### Authorization
|
|
47
|
+
|
|
48
|
+
No authorization required
|
|
49
|
+
|
|
50
|
+
### HTTP request headers
|
|
51
|
+
|
|
52
|
+
- **Content-Type**: Not defined
|
|
53
|
+
- **Accept**: application/json
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### HTTP response details
|
|
57
|
+
| Status code | Description | Response headers |
|
|
58
|
+
|-------------|-------------|------------------|
|
|
59
|
+
|**200** | Installation Details | - |
|
|
60
|
+
|**400** | Bad Request | - |
|
|
61
|
+
|**401** | Unauthorised | - |
|
|
62
|
+
|**403** | Access Denied | - |
|
|
63
|
+
|
|
64
|
+
[[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)
|
|
65
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# NavigationModel
|
|
2
|
+
|
|
3
|
+
Navigation Endpoint
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**title** | **string** | Navigation Endpoint Title | [optional] [default to undefined]
|
|
10
|
+
**path** | **string** | Navigation Endpoint Path | [optional] [default to undefined]
|
|
11
|
+
**icon** | **string** | Navigation Endpoint Icon | [optional] [default to undefined]
|
|
12
|
+
**openNewPage** | **boolean** | Navigation Behaviour | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { NavigationModel } from 'yellowgrid-api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: NavigationModel = {
|
|
20
|
+
title,
|
|
21
|
+
path,
|
|
22
|
+
icon,
|
|
23
|
+
openNewPage,
|
|
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)
|