yellowgrid-api-ts 3.2.342 → 3.2.344
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 +3 -0
- package/README.md +4 -0
- package/api.ts +165 -0
- package/config.json +1 -1
- package/dist/api.d.ts +526 -400
- package/dist/api.js +93 -5
- package/docs/AdminUserModel.md +2 -0
- package/docs/Class3CXApi.md +48 -0
- package/docs/DeviceModel.md +25 -0
- package/docs/RequestDTO.md +29 -0
- package/docs/ResponseDTO.md +35 -0
- package/package.json +2 -2
package/dist/api.js
CHANGED
|
@@ -84,11 +84,11 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SuppliersApi = exports.SuppliersApiFactory = exports.SuppliersApiFp = exports.SuppliersApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = void 0;
|
|
87
|
+
exports.ServiceStatusDTOStatusEnum = exports.ServiceHealthDTOGlobalStatusEnum = exports.SeriesDTOTypeEnum = exports.SdrReferenceType = exports.RmaSummaryDTOStatusEnum = exports.RmaRequestDTORequestedResolutionEnum = exports.RmaRequestDTOReasonEnum = exports.RmaItemDTOStatusEnum = exports.RmaDTOStatusEnum = exports.RmaDTOResolutionEnum = exports.RmaDTOReasonEnum = exports.RmaCreditItemRequestDTORefundPercentageEnum = exports.ResponseDTOTypeEnum = exports.ResolutionRequestModelResolutionEnum = exports.RequestDTOActionEnum = exports.ReportRequestDTOGraphTypeEnum = exports.ReportRequestDTOReportEnum = exports.ReasonRequestModelReasonEnum = exports.ProspectDTOStatusEnum = exports.PostGetServicePlansRequestPlanGroupEnum = exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = exports.PatchUpdatePriceListRequestPriceListEnum = exports.PasswordSenderDTOIntervalTypeEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.OrderDetailsDTOPaymentMethodEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemResolutionRequestModelResolutionEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.GraphDTOCurrencyEnum = exports.EventDTOStatusEnum = exports.DivertResponseModelStatusEnum = exports.CustomerRateType = exports.BrandedVideoSummaryDTOStatusEnum = exports.BrandedVideoSummaryDTOTypeEnum = exports.AxisDataDTOTypeEnum = exports.AuditLogEntityTypeEnum = exports.AuditLogEntityActionEnum = exports.AdminUserModelPermissionsEnum = exports.AdminUserModelRoleEnum = exports.AdminRmaSummaryDTOStatusEnum = exports.AdminRmaItemDTOResolutionEnum = exports.AdminRmaItemDTOStatusEnum = exports.AdminRmaDTOStatusEnum = exports.AdminRmaDTOResolutionEnum = exports.AdminRmaDTOReasonEnum = exports.AdminOrderRequestDTOPaymentMethodEnum = void 0;
|
|
88
|
+
exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.GetGetCrmActivitiesTypeEnum = exports.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.GetGetBrandedVideosTypeEnum = exports.BrandedVideosApi = exports.BrandedVideosApiFactory = exports.BrandedVideosApiFp = exports.BrandedVideosApiAxiosParamCreator = exports.GetGetServicesPlanDetailsTypeEnum = exports.GetGetConnectionsTypeEnum = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.PatchSetPrizePromoStateEnum = exports.PatchSetPortalAccessStateEnum = exports.PatchSetOnHoldStateEnum = exports.PatchSetAccountStatusStateEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.SupplierProductDTOCategoryEnum = exports.StockReportItemModelCurrencyEnum = exports.StockProductModelCategoryEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SmsAccountRequestDTOTypeEnum = exports.SmsAccountRequestDTOProviderEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.ShippingRequestDTOPrinterEnum = exports.ShippingRequestDTOCourierEnum = exports.ShipmentRequestDTOCourierEnum = exports.ShipmentDTOCourierEnum = void 0;
|
|
89
|
+
exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.MiscApi = exports.MiscApiFactory = exports.MiscApiFp = exports.MiscApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.PatchMarkEngineerTaskAsCompleteCompleteEnum = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = void 0;
|
|
90
|
+
exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.RMAApi = exports.RMAApiFactory = exports.RMAApiFp = exports.RMAApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.ProspectsApi = exports.ProspectsApiFactory = exports.ProspectsApiFp = exports.ProspectsApiAxiosParamCreator = exports.PromotionsApi = exports.PromotionsApiFactory = exports.PromotionsApiFp = exports.PromotionsApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.PostPrintShippingLabelPrinterEnum = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = void 0;
|
|
91
|
+
exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SuppliersApi = exports.SuppliersApiFactory = exports.SuppliersApiFp = exports.SuppliersApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = void 0;
|
|
92
92
|
var axios_1 = require("axios");
|
|
93
93
|
// Some imports not used depending on template conditions
|
|
94
94
|
// @ts-ignore
|
|
@@ -473,11 +473,28 @@ exports.ReportRequestDTOGraphTypeEnum = {
|
|
|
473
473
|
StackedArea: 'stacked-area',
|
|
474
474
|
Table: 'table',
|
|
475
475
|
};
|
|
476
|
+
exports.RequestDTOActionEnum = {
|
|
477
|
+
Drop: 'drop',
|
|
478
|
+
Answer: 'answer',
|
|
479
|
+
Divert: 'divert',
|
|
480
|
+
Routeto: 'routeto',
|
|
481
|
+
Transferto: 'transferto',
|
|
482
|
+
AttachParticipantData: 'attach_participant_data',
|
|
483
|
+
AttachPartyData: 'attach_party_data',
|
|
484
|
+
Dial: 'dial',
|
|
485
|
+
};
|
|
476
486
|
exports.ResolutionRequestModelResolutionEnum = {
|
|
477
487
|
NUMBER_1: 1,
|
|
478
488
|
NUMBER_2: 2,
|
|
479
489
|
NUMBER_3: 3,
|
|
480
490
|
};
|
|
491
|
+
exports.ResponseDTOTypeEnum = {
|
|
492
|
+
Dialing: 'dialing',
|
|
493
|
+
Ended: 'ended',
|
|
494
|
+
Call: 'call',
|
|
495
|
+
Ringing: 'ringing',
|
|
496
|
+
Connected: 'connected',
|
|
497
|
+
};
|
|
481
498
|
exports.RmaCreditItemRequestDTORefundPercentageEnum = {
|
|
482
499
|
NUMBER_100: 100,
|
|
483
500
|
NUMBER_85: 85,
|
|
@@ -11629,6 +11646,39 @@ exports.GetGetCrmActivitiesTypeEnum = {
|
|
|
11629
11646
|
var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
11630
11647
|
var _this = this;
|
|
11631
11648
|
return {
|
|
11649
|
+
/**
|
|
11650
|
+
* Get a list of 3CX call control devices
|
|
11651
|
+
* @param {*} [options] Override http request option.
|
|
11652
|
+
* @throws {RequiredError}
|
|
11653
|
+
*/
|
|
11654
|
+
getGetCCDevices: function () {
|
|
11655
|
+
var args_1 = [];
|
|
11656
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
11657
|
+
args_1[_i] = arguments[_i];
|
|
11658
|
+
}
|
|
11659
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
11660
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11661
|
+
if (options === void 0) { options = {}; }
|
|
11662
|
+
return __generator(this, function (_a) {
|
|
11663
|
+
localVarPath = "/tcx/cc/devices";
|
|
11664
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11665
|
+
if (configuration) {
|
|
11666
|
+
baseOptions = configuration.baseOptions;
|
|
11667
|
+
}
|
|
11668
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
11669
|
+
localVarHeaderParameter = {};
|
|
11670
|
+
localVarQueryParameter = {};
|
|
11671
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11672
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11673
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11674
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11675
|
+
return [2 /*return*/, {
|
|
11676
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11677
|
+
options: localVarRequestOptions,
|
|
11678
|
+
}];
|
|
11679
|
+
});
|
|
11680
|
+
});
|
|
11681
|
+
},
|
|
11632
11682
|
/**
|
|
11633
11683
|
* Get 3CX Licence Details
|
|
11634
11684
|
* @summary Get 3CX Licence Details
|
|
@@ -11851,6 +11901,27 @@ exports.Class3CXApiAxiosParamCreator = Class3CXApiAxiosParamCreator;
|
|
|
11851
11901
|
var Class3CXApiFp = function (configuration) {
|
|
11852
11902
|
var localVarAxiosParamCreator = (0, exports.Class3CXApiAxiosParamCreator)(configuration);
|
|
11853
11903
|
return {
|
|
11904
|
+
/**
|
|
11905
|
+
* Get a list of 3CX call control devices
|
|
11906
|
+
* @param {*} [options] Override http request option.
|
|
11907
|
+
* @throws {RequiredError}
|
|
11908
|
+
*/
|
|
11909
|
+
getGetCCDevices: function (options) {
|
|
11910
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11911
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
11912
|
+
var _a, _b, _c;
|
|
11913
|
+
return __generator(this, function (_d) {
|
|
11914
|
+
switch (_d.label) {
|
|
11915
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCCDevices(options)];
|
|
11916
|
+
case 1:
|
|
11917
|
+
localVarAxiosArgs = _d.sent();
|
|
11918
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11919
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetCCDevices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11920
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
11921
|
+
}
|
|
11922
|
+
});
|
|
11923
|
+
});
|
|
11924
|
+
},
|
|
11854
11925
|
/**
|
|
11855
11926
|
* Get 3CX Licence Details
|
|
11856
11927
|
* @summary Get 3CX Licence Details
|
|
@@ -11994,6 +12065,14 @@ exports.Class3CXApiFp = Class3CXApiFp;
|
|
|
11994
12065
|
var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
11995
12066
|
var localVarFp = (0, exports.Class3CXApiFp)(configuration);
|
|
11996
12067
|
return {
|
|
12068
|
+
/**
|
|
12069
|
+
* Get a list of 3CX call control devices
|
|
12070
|
+
* @param {*} [options] Override http request option.
|
|
12071
|
+
* @throws {RequiredError}
|
|
12072
|
+
*/
|
|
12073
|
+
getGetCCDevices: function (options) {
|
|
12074
|
+
return localVarFp.getGetCCDevices(options).then(function (request) { return request(axios, basePath); });
|
|
12075
|
+
},
|
|
11997
12076
|
/**
|
|
11998
12077
|
* Get 3CX Licence Details
|
|
11999
12078
|
* @summary Get 3CX Licence Details
|
|
@@ -12061,6 +12140,15 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
12061
12140
|
function Class3CXApi() {
|
|
12062
12141
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
12063
12142
|
}
|
|
12143
|
+
/**
|
|
12144
|
+
* Get a list of 3CX call control devices
|
|
12145
|
+
* @param {*} [options] Override http request option.
|
|
12146
|
+
* @throws {RequiredError}
|
|
12147
|
+
*/
|
|
12148
|
+
Class3CXApi.prototype.getGetCCDevices = function (options) {
|
|
12149
|
+
var _this = this;
|
|
12150
|
+
return (0, exports.Class3CXApiFp)(this.configuration).getGetCCDevices(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12151
|
+
};
|
|
12064
12152
|
/**
|
|
12065
12153
|
* Get 3CX Licence Details
|
|
12066
12154
|
* @summary Get 3CX Licence Details
|
package/docs/AdminUserModel.md
CHANGED
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**secondaryHex** | **string** | Secondary Colour | [optional] [default to undefined]
|
|
17
17
|
**scopes** | **Array<string>** | Scopes | [optional] [default to undefined]
|
|
18
18
|
**permissions** | **Array<string>** | Groups | [default to undefined]
|
|
19
|
+
**extNo** | **number** | Extension Number | [default to undefined]
|
|
19
20
|
|
|
20
21
|
## Example
|
|
21
22
|
|
|
@@ -33,6 +34,7 @@ const instance: AdminUserModel = {
|
|
|
33
34
|
secondaryHex,
|
|
34
35
|
scopes,
|
|
35
36
|
permissions,
|
|
37
|
+
extNo,
|
|
36
38
|
};
|
|
37
39
|
```
|
|
38
40
|
|
package/docs/Class3CXApi.md
CHANGED
|
@@ -4,6 +4,7 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getGetCCDevices**](#getgetccdevices) | **GET** /tcx/cc/devices | |
|
|
7
8
|
|[**getGetLicenceDetails**](#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details|
|
|
8
9
|
|[**getGetTcxCreditStatus**](#getgettcxcreditstatus) | **GET** /tcx/admin/credit | Get 3CX Credit Status|
|
|
9
10
|
|[**getGetTcxExpiringKeys**](#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring | Get 3CX Expiring Keys|
|
|
@@ -11,6 +12,53 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
11
12
|
|[**getGetTcxPartners**](#getgettcxpartners) | **GET** /tcx/admin/partners | Get 3CX Partners|
|
|
12
13
|
|[**postGetBulkLicenceDetails**](#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details|
|
|
13
14
|
|
|
15
|
+
# **getGetCCDevices**
|
|
16
|
+
> Array<DeviceModel> getGetCCDevices()
|
|
17
|
+
|
|
18
|
+
Get a list of 3CX call control devices
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import {
|
|
24
|
+
Class3CXApi,
|
|
25
|
+
Configuration
|
|
26
|
+
} from 'yellowgrid-api-ts';
|
|
27
|
+
|
|
28
|
+
const configuration = new Configuration();
|
|
29
|
+
const apiInstance = new Class3CXApi(configuration);
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.getGetCCDevices();
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
This endpoint does not have any parameters.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Return type
|
|
39
|
+
|
|
40
|
+
**Array<DeviceModel>**
|
|
41
|
+
|
|
42
|
+
### Authorization
|
|
43
|
+
|
|
44
|
+
No authorization required
|
|
45
|
+
|
|
46
|
+
### HTTP request headers
|
|
47
|
+
|
|
48
|
+
- **Content-Type**: Not defined
|
|
49
|
+
- **Accept**: application/json
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### HTTP response details
|
|
53
|
+
| Status code | Description | Response headers |
|
|
54
|
+
|-------------|-------------|------------------|
|
|
55
|
+
|**200** | Devices | - |
|
|
56
|
+
|**400** | Bad Request | - |
|
|
57
|
+
|**401** | Unauthorised | - |
|
|
58
|
+
|**403** | Access Denied | - |
|
|
59
|
+
|
|
60
|
+
[[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)
|
|
61
|
+
|
|
14
62
|
# **getGetLicenceDetails**
|
|
15
63
|
> TcxLicenceDetailsModel getGetLicenceDetails()
|
|
16
64
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# DeviceModel
|
|
2
|
+
|
|
3
|
+
3CX Call Control Device
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**dn** | **string** | DN | [optional] [default to undefined]
|
|
10
|
+
**deviceId** | **string** | Device ID | [optional] [default to undefined]
|
|
11
|
+
**userAgent** | **string** | User Agent | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { DeviceModel } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: DeviceModel = {
|
|
19
|
+
dn,
|
|
20
|
+
deviceId,
|
|
21
|
+
userAgent,
|
|
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,29 @@
|
|
|
1
|
+
# RequestDTO
|
|
2
|
+
|
|
3
|
+
3CX Call Control Request
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | ID | [optional] [default to undefined]
|
|
10
|
+
**action** | **string** | Action | [default to undefined]
|
|
11
|
+
**number** | **string** | Number | [optional] [default to undefined]
|
|
12
|
+
**from** | **string** | From | [optional] [default to undefined]
|
|
13
|
+
**deviceId** | **string** | Device ID | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { RequestDTO } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: RequestDTO = {
|
|
21
|
+
id,
|
|
22
|
+
action,
|
|
23
|
+
number,
|
|
24
|
+
from,
|
|
25
|
+
deviceId,
|
|
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
|
+
# ResponseDTO
|
|
2
|
+
|
|
3
|
+
3CX Call Control Response
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | ID | [default to undefined]
|
|
10
|
+
**callId** | **number** | Call ID | [default to undefined]
|
|
11
|
+
**type** | **string** | Type | [default to undefined]
|
|
12
|
+
**number** | **string** | Number | [default to undefined]
|
|
13
|
+
**dn** | **string** | DN | [default to undefined]
|
|
14
|
+
**startedAt** | **string** | Date Time | [default to undefined]
|
|
15
|
+
**account** | [**AccountSummaryDTO**](AccountSummaryDTO.md) | Device ID | [optional] [default to undefined]
|
|
16
|
+
**device** | **string** | Device | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { ResponseDTO } from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const instance: ResponseDTO = {
|
|
24
|
+
id,
|
|
25
|
+
callId,
|
|
26
|
+
type,
|
|
27
|
+
number,
|
|
28
|
+
dn,
|
|
29
|
+
startedAt,
|
|
30
|
+
account,
|
|
31
|
+
device,
|
|
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)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yellowgrid-api-ts",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.344",
|
|
4
4
|
"description": "OpenAPI client for yellowgrid-api-ts",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"prepare": "npm run build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"axios": "1.
|
|
25
|
+
"axios": "1.20.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "12.11.5 - 12.20.42",
|