yellowgrid-api-ts 3.2.140 → 3.2.141
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/README.md +1 -0
- package/api.ts +61 -0
- package/dist/api.d.ts +28 -0
- package/dist/api.js +75 -0
- package/docs/Class3CXApi.md +48 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,6 +98,7 @@ Class | Method | HTTP request | Description
|
|
|
98
98
|
*CRMApi* | [**getSearchByPhone**](docs/CRMApi.md#getsearchbyphone) | **GET** /crm/contact/search |
|
|
99
99
|
*CRMApi* | [**postCreateCrmNote**](docs/CRMApi.md#postcreatecrmnote) | **POST** /admin/crm/{id}/activities/note |
|
|
100
100
|
*Class3CXApi* | [**getGetLicenceDetails**](docs/Class3CXApi.md#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details
|
|
101
|
+
*Class3CXApi* | [**getGetTcxExpiringKeys**](docs/Class3CXApi.md#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys
|
|
101
102
|
*Class3CXApi* | [**postGetBulkLicenceDetails**](docs/Class3CXApi.md#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details
|
|
102
103
|
*Class3CXInstallationWizardApi* | [**deleteAddExtensions**](docs/Class3CXInstallationWizardApi.md#deleteaddextensions) | **DELETE** /tcx/wizards/extensions | Delete 3CX Installation Wizard Extensions
|
|
103
104
|
*Class3CXInstallationWizardApi* | [**deleteAddNumbers**](docs/Class3CXInstallationWizardApi.md#deleteaddnumbers) | **DELETE** /tcx/wizards/numbers | Delete 3CX Installation Wizard Numbers
|
package/api.ts
CHANGED
|
@@ -11836,6 +11836,36 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11836
11836
|
options: localVarRequestOptions,
|
|
11837
11837
|
};
|
|
11838
11838
|
},
|
|
11839
|
+
/**
|
|
11840
|
+
* Get 3CX Expiring Keys
|
|
11841
|
+
* @summary Get 3CX Expiring Keys
|
|
11842
|
+
* @param {*} [options] Override http request option.
|
|
11843
|
+
* @throws {RequiredError}
|
|
11844
|
+
*/
|
|
11845
|
+
getGetTcxExpiringKeys: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11846
|
+
const localVarPath = `/tcx/admin/keys/expiring/csv`;
|
|
11847
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11848
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11849
|
+
let baseOptions;
|
|
11850
|
+
if (configuration) {
|
|
11851
|
+
baseOptions = configuration.baseOptions;
|
|
11852
|
+
}
|
|
11853
|
+
|
|
11854
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11855
|
+
const localVarHeaderParameter = {} as any;
|
|
11856
|
+
const localVarQueryParameter = {} as any;
|
|
11857
|
+
|
|
11858
|
+
localVarHeaderParameter['Accept'] = 'text/csv';
|
|
11859
|
+
|
|
11860
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11861
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11862
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11863
|
+
|
|
11864
|
+
return {
|
|
11865
|
+
url: toPathString(localVarUrlObj),
|
|
11866
|
+
options: localVarRequestOptions,
|
|
11867
|
+
};
|
|
11868
|
+
},
|
|
11839
11869
|
/**
|
|
11840
11870
|
* Get Bulk 3CX Licence Details
|
|
11841
11871
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -11891,6 +11921,18 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
11891
11921
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
|
|
11892
11922
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11893
11923
|
},
|
|
11924
|
+
/**
|
|
11925
|
+
* Get 3CX Expiring Keys
|
|
11926
|
+
* @summary Get 3CX Expiring Keys
|
|
11927
|
+
* @param {*} [options] Override http request option.
|
|
11928
|
+
* @throws {RequiredError}
|
|
11929
|
+
*/
|
|
11930
|
+
async getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
11931
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxExpiringKeys(options);
|
|
11932
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11933
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxExpiringKeys']?.[localVarOperationServerIndex]?.url;
|
|
11934
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11935
|
+
},
|
|
11894
11936
|
/**
|
|
11895
11937
|
* Get Bulk 3CX Licence Details
|
|
11896
11938
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -11923,6 +11965,15 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
11923
11965
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
|
|
11924
11966
|
return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
|
|
11925
11967
|
},
|
|
11968
|
+
/**
|
|
11969
|
+
* Get 3CX Expiring Keys
|
|
11970
|
+
* @summary Get 3CX Expiring Keys
|
|
11971
|
+
* @param {*} [options] Override http request option.
|
|
11972
|
+
* @throws {RequiredError}
|
|
11973
|
+
*/
|
|
11974
|
+
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
11975
|
+
return localVarFp.getGetTcxExpiringKeys(options).then((request) => request(axios, basePath));
|
|
11976
|
+
},
|
|
11926
11977
|
/**
|
|
11927
11978
|
* Get Bulk 3CX Licence Details
|
|
11928
11979
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -11951,6 +12002,16 @@ export class Class3CXApi extends BaseAPI {
|
|
|
11951
12002
|
return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
|
|
11952
12003
|
}
|
|
11953
12004
|
|
|
12005
|
+
/**
|
|
12006
|
+
* Get 3CX Expiring Keys
|
|
12007
|
+
* @summary Get 3CX Expiring Keys
|
|
12008
|
+
* @param {*} [options] Override http request option.
|
|
12009
|
+
* @throws {RequiredError}
|
|
12010
|
+
*/
|
|
12011
|
+
public getGetTcxExpiringKeys(options?: RawAxiosRequestConfig) {
|
|
12012
|
+
return Class3CXApiFp(this.configuration).getGetTcxExpiringKeys(options).then((request) => request(this.axios, this.basePath));
|
|
12013
|
+
}
|
|
12014
|
+
|
|
11954
12015
|
/**
|
|
11955
12016
|
* Get Bulk 3CX Licence Details
|
|
11956
12017
|
* @summary Get bulk 3CX Licence Details
|
package/dist/api.d.ts
CHANGED
|
@@ -9969,6 +9969,13 @@ export declare const Class3CXApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
9969
9969
|
* @throws {RequiredError}
|
|
9970
9970
|
*/
|
|
9971
9971
|
getGetLicenceDetails: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9972
|
+
/**
|
|
9973
|
+
* Get 3CX Expiring Keys
|
|
9974
|
+
* @summary Get 3CX Expiring Keys
|
|
9975
|
+
* @param {*} [options] Override http request option.
|
|
9976
|
+
* @throws {RequiredError}
|
|
9977
|
+
*/
|
|
9978
|
+
getGetTcxExpiringKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9972
9979
|
/**
|
|
9973
9980
|
* Get Bulk 3CX Licence Details
|
|
9974
9981
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -9990,6 +9997,13 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
|
|
|
9990
9997
|
* @throws {RequiredError}
|
|
9991
9998
|
*/
|
|
9992
9999
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxLicenceDetailsModel>>;
|
|
10000
|
+
/**
|
|
10001
|
+
* Get 3CX Expiring Keys
|
|
10002
|
+
* @summary Get 3CX Expiring Keys
|
|
10003
|
+
* @param {*} [options] Override http request option.
|
|
10004
|
+
* @throws {RequiredError}
|
|
10005
|
+
*/
|
|
10006
|
+
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
9993
10007
|
/**
|
|
9994
10008
|
* Get Bulk 3CX Licence Details
|
|
9995
10009
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -10011,6 +10025,13 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
|
|
|
10011
10025
|
* @throws {RequiredError}
|
|
10012
10026
|
*/
|
|
10013
10027
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel>;
|
|
10028
|
+
/**
|
|
10029
|
+
* Get 3CX Expiring Keys
|
|
10030
|
+
* @summary Get 3CX Expiring Keys
|
|
10031
|
+
* @param {*} [options] Override http request option.
|
|
10032
|
+
* @throws {RequiredError}
|
|
10033
|
+
*/
|
|
10034
|
+
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
10014
10035
|
/**
|
|
10015
10036
|
* Get Bulk 3CX Licence Details
|
|
10016
10037
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -10032,6 +10053,13 @@ export declare class Class3CXApi extends BaseAPI {
|
|
|
10032
10053
|
* @throws {RequiredError}
|
|
10033
10054
|
*/
|
|
10034
10055
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TcxLicenceDetailsModel, any, {}>>;
|
|
10056
|
+
/**
|
|
10057
|
+
* Get 3CX Expiring Keys
|
|
10058
|
+
* @summary Get 3CX Expiring Keys
|
|
10059
|
+
* @param {*} [options] Override http request option.
|
|
10060
|
+
* @throws {RequiredError}
|
|
10061
|
+
*/
|
|
10062
|
+
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
10035
10063
|
/**
|
|
10036
10064
|
* Get Bulk 3CX Licence Details
|
|
10037
10065
|
* @summary Get bulk 3CX Licence Details
|
package/dist/api.js
CHANGED
|
@@ -4406,6 +4406,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
4406
4406
|
});
|
|
4407
4407
|
});
|
|
4408
4408
|
},
|
|
4409
|
+
/**
|
|
4410
|
+
* Get 3CX Expiring Keys
|
|
4411
|
+
* @summary Get 3CX Expiring Keys
|
|
4412
|
+
* @param {*} [options] Override http request option.
|
|
4413
|
+
* @throws {RequiredError}
|
|
4414
|
+
*/
|
|
4415
|
+
getGetTcxExpiringKeys: function () {
|
|
4416
|
+
var args_1 = [];
|
|
4417
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4418
|
+
args_1[_i] = arguments[_i];
|
|
4419
|
+
}
|
|
4420
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
4421
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4422
|
+
if (options === void 0) { options = {}; }
|
|
4423
|
+
return __generator(this, function (_a) {
|
|
4424
|
+
localVarPath = "/tcx/admin/keys/expiring/csv";
|
|
4425
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4426
|
+
if (configuration) {
|
|
4427
|
+
baseOptions = configuration.baseOptions;
|
|
4428
|
+
}
|
|
4429
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4430
|
+
localVarHeaderParameter = {};
|
|
4431
|
+
localVarQueryParameter = {};
|
|
4432
|
+
localVarHeaderParameter['Accept'] = 'text/csv';
|
|
4433
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4434
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4435
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4436
|
+
return [2 /*return*/, {
|
|
4437
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4438
|
+
options: localVarRequestOptions,
|
|
4439
|
+
}];
|
|
4440
|
+
});
|
|
4441
|
+
});
|
|
4442
|
+
},
|
|
4409
4443
|
/**
|
|
4410
4444
|
* Get Bulk 3CX Licence Details
|
|
4411
4445
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4475,6 +4509,28 @@ var Class3CXApiFp = function (configuration) {
|
|
|
4475
4509
|
});
|
|
4476
4510
|
});
|
|
4477
4511
|
},
|
|
4512
|
+
/**
|
|
4513
|
+
* Get 3CX Expiring Keys
|
|
4514
|
+
* @summary Get 3CX Expiring Keys
|
|
4515
|
+
* @param {*} [options] Override http request option.
|
|
4516
|
+
* @throws {RequiredError}
|
|
4517
|
+
*/
|
|
4518
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4519
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4520
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4521
|
+
var _a, _b, _c;
|
|
4522
|
+
return __generator(this, function (_d) {
|
|
4523
|
+
switch (_d.label) {
|
|
4524
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeys(options)];
|
|
4525
|
+
case 1:
|
|
4526
|
+
localVarAxiosArgs = _d.sent();
|
|
4527
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4528
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4529
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4530
|
+
}
|
|
4531
|
+
});
|
|
4532
|
+
});
|
|
4533
|
+
},
|
|
4478
4534
|
/**
|
|
4479
4535
|
* Get Bulk 3CX Licence Details
|
|
4480
4536
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4517,6 +4573,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
4517
4573
|
getGetLicenceDetails: function (key, options) {
|
|
4518
4574
|
return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
|
|
4519
4575
|
},
|
|
4576
|
+
/**
|
|
4577
|
+
* Get 3CX Expiring Keys
|
|
4578
|
+
* @summary Get 3CX Expiring Keys
|
|
4579
|
+
* @param {*} [options] Override http request option.
|
|
4580
|
+
* @throws {RequiredError}
|
|
4581
|
+
*/
|
|
4582
|
+
getGetTcxExpiringKeys: function (options) {
|
|
4583
|
+
return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
|
|
4584
|
+
},
|
|
4520
4585
|
/**
|
|
4521
4586
|
* Get Bulk 3CX Licence Details
|
|
4522
4587
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -4549,6 +4614,16 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
4549
4614
|
var _this = this;
|
|
4550
4615
|
return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4551
4616
|
};
|
|
4617
|
+
/**
|
|
4618
|
+
* Get 3CX Expiring Keys
|
|
4619
|
+
* @summary Get 3CX Expiring Keys
|
|
4620
|
+
* @param {*} [options] Override http request option.
|
|
4621
|
+
* @throws {RequiredError}
|
|
4622
|
+
*/
|
|
4623
|
+
Class3CXApi.prototype.getGetTcxExpiringKeys = function (options) {
|
|
4624
|
+
var _this = this;
|
|
4625
|
+
return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4626
|
+
};
|
|
4552
4627
|
/**
|
|
4553
4628
|
* Get Bulk 3CX Licence Details
|
|
4554
4629
|
* @summary Get bulk 3CX Licence Details
|
package/docs/Class3CXApi.md
CHANGED
|
@@ -5,6 +5,7 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**getGetLicenceDetails**](#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details|
|
|
8
|
+
|[**getGetTcxExpiringKeys**](#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys|
|
|
8
9
|
|[**postGetBulkLicenceDetails**](#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details|
|
|
9
10
|
|
|
10
11
|
# **getGetLicenceDetails**
|
|
@@ -61,6 +62,53 @@ No authorization required
|
|
|
61
62
|
|
|
62
63
|
[[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)
|
|
63
64
|
|
|
65
|
+
# **getGetTcxExpiringKeys**
|
|
66
|
+
> string getGetTcxExpiringKeys()
|
|
67
|
+
|
|
68
|
+
Get 3CX Expiring Keys
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import {
|
|
74
|
+
Class3CXApi,
|
|
75
|
+
Configuration
|
|
76
|
+
} from 'yellowgrid-api-ts';
|
|
77
|
+
|
|
78
|
+
const configuration = new Configuration();
|
|
79
|
+
const apiInstance = new Class3CXApi(configuration);
|
|
80
|
+
|
|
81
|
+
const { status, data } = await apiInstance.getGetTcxExpiringKeys();
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Parameters
|
|
85
|
+
This endpoint does not have any parameters.
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Return type
|
|
89
|
+
|
|
90
|
+
**string**
|
|
91
|
+
|
|
92
|
+
### Authorization
|
|
93
|
+
|
|
94
|
+
No authorization required
|
|
95
|
+
|
|
96
|
+
### HTTP request headers
|
|
97
|
+
|
|
98
|
+
- **Content-Type**: Not defined
|
|
99
|
+
- **Accept**: text/csv
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### HTTP response details
|
|
103
|
+
| Status code | Description | Response headers |
|
|
104
|
+
|-------------|-------------|------------------|
|
|
105
|
+
|**200** | 3CX Expiring Key CSV | - |
|
|
106
|
+
|**400** | Bad Request | - |
|
|
107
|
+
|**401** | Unauthorised | - |
|
|
108
|
+
|**403** | Access Denied | - |
|
|
109
|
+
|
|
110
|
+
[[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)
|
|
111
|
+
|
|
64
112
|
# **postGetBulkLicenceDetails**
|
|
65
113
|
> TcxBulkLicenceDetailsModel postGetBulkLicenceDetails()
|
|
66
114
|
|