yellowgrid-api-ts 3.2.178 → 3.2.181
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 +1 -0
- package/README.md +3 -1
- package/api.ts +85 -2
- package/dist/api.d.ts +53 -3
- package/dist/api.js +75 -0
- package/docs/Class3CXApi.md +50 -2
- package/docs/ExpiringKeyDTO.md +29 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -103,7 +103,8 @@ Class | Method | HTTP request | Description
|
|
|
103
103
|
*CRMApi* | [**postCreateCrmNote**](docs/CRMApi.md#postcreatecrmnote) | **POST** /admin/crm/{id}/activities/note |
|
|
104
104
|
*Class3CXApi* | [**getGetLicenceDetails**](docs/Class3CXApi.md#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details
|
|
105
105
|
*Class3CXApi* | [**getGetTcxCreditStatus**](docs/Class3CXApi.md#getgettcxcreditstatus) | **GET** /tcx/admin/credit | Get 3CX Credit Status
|
|
106
|
-
*Class3CXApi* | [**getGetTcxExpiringKeys**](docs/Class3CXApi.md#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring
|
|
106
|
+
*Class3CXApi* | [**getGetTcxExpiringKeys**](docs/Class3CXApi.md#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring | Get 3CX Expiring Keys
|
|
107
|
+
*Class3CXApi* | [**getGetTcxExpiringKeysCsv**](docs/Class3CXApi.md#getgettcxexpiringkeyscsv) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys
|
|
107
108
|
*Class3CXApi* | [**getGetTcxPartners**](docs/Class3CXApi.md#getgettcxpartners) | **GET** /tcx/admin/partners | Get 3CX Partners
|
|
108
109
|
*Class3CXApi* | [**postGetBulkLicenceDetails**](docs/Class3CXApi.md#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details
|
|
109
110
|
*Class3CXInstallationWizardApi* | [**deleteAddExtensions**](docs/Class3CXInstallationWizardApi.md#deleteaddextensions) | **DELETE** /tcx/wizards/extensions | Delete 3CX Installation Wizard Extensions
|
|
@@ -390,6 +391,7 @@ Class | Method | HTTP request | Description
|
|
|
390
391
|
- [EventUpdateDTO](docs/EventUpdateDTO.md)
|
|
391
392
|
- [EventUpdateEntity](docs/EventUpdateEntity.md)
|
|
392
393
|
- [EventUpdateRequestDTO](docs/EventUpdateRequestDTO.md)
|
|
394
|
+
- [ExpiringKeyDTO](docs/ExpiringKeyDTO.md)
|
|
393
395
|
- [FraudManagementModel](docs/FraudManagementModel.md)
|
|
394
396
|
- [FreshdeskCompanyTicketsModel](docs/FreshdeskCompanyTicketsModel.md)
|
|
395
397
|
- [FreshdeskTicketEntity](docs/FreshdeskTicketEntity.md)
|
package/api.ts
CHANGED
|
@@ -2488,6 +2488,28 @@ export interface EventUpdateRequestDTO {
|
|
|
2488
2488
|
*/
|
|
2489
2489
|
'createdAt'?: string;
|
|
2490
2490
|
}
|
|
2491
|
+
/**
|
|
2492
|
+
* 3CX Expiring Key
|
|
2493
|
+
*/
|
|
2494
|
+
export interface ExpiringKeyDTO {
|
|
2495
|
+
/**
|
|
2496
|
+
* Date Time
|
|
2497
|
+
*/
|
|
2498
|
+
'expiryDate'?: string;
|
|
2499
|
+
/**
|
|
2500
|
+
* Licence Key
|
|
2501
|
+
*/
|
|
2502
|
+
'licenceKey'?: string;
|
|
2503
|
+
/**
|
|
2504
|
+
* Edition
|
|
2505
|
+
*/
|
|
2506
|
+
'edition'?: string;
|
|
2507
|
+
/**
|
|
2508
|
+
* Type
|
|
2509
|
+
*/
|
|
2510
|
+
'type'?: string;
|
|
2511
|
+
'partner'?: PartnerDTO;
|
|
2512
|
+
}
|
|
2491
2513
|
/**
|
|
2492
2514
|
* Fraud Management
|
|
2493
2515
|
*/
|
|
@@ -12281,6 +12303,36 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12281
12303
|
* @throws {RequiredError}
|
|
12282
12304
|
*/
|
|
12283
12305
|
getGetTcxExpiringKeys: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12306
|
+
const localVarPath = `/tcx/admin/keys/expiring`;
|
|
12307
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12308
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12309
|
+
let baseOptions;
|
|
12310
|
+
if (configuration) {
|
|
12311
|
+
baseOptions = configuration.baseOptions;
|
|
12312
|
+
}
|
|
12313
|
+
|
|
12314
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12315
|
+
const localVarHeaderParameter = {} as any;
|
|
12316
|
+
const localVarQueryParameter = {} as any;
|
|
12317
|
+
|
|
12318
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
12319
|
+
|
|
12320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12322
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12323
|
+
|
|
12324
|
+
return {
|
|
12325
|
+
url: toPathString(localVarUrlObj),
|
|
12326
|
+
options: localVarRequestOptions,
|
|
12327
|
+
};
|
|
12328
|
+
},
|
|
12329
|
+
/**
|
|
12330
|
+
* Get 3CX Expiring Keys
|
|
12331
|
+
* @summary Get 3CX Expiring Keys
|
|
12332
|
+
* @param {*} [options] Override http request option.
|
|
12333
|
+
* @throws {RequiredError}
|
|
12334
|
+
*/
|
|
12335
|
+
getGetTcxExpiringKeysCsv: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12284
12336
|
const localVarPath = `/tcx/admin/keys/expiring/csv`;
|
|
12285
12337
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12286
12338
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12407,12 +12459,24 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
12407
12459
|
* @param {*} [options] Override http request option.
|
|
12408
12460
|
* @throws {RequiredError}
|
|
12409
12461
|
*/
|
|
12410
|
-
async getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
12462
|
+
async getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExpiringKeyDTO>>> {
|
|
12411
12463
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxExpiringKeys(options);
|
|
12412
12464
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12413
12465
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxExpiringKeys']?.[localVarOperationServerIndex]?.url;
|
|
12414
12466
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12415
12467
|
},
|
|
12468
|
+
/**
|
|
12469
|
+
* Get 3CX Expiring Keys
|
|
12470
|
+
* @summary Get 3CX Expiring Keys
|
|
12471
|
+
* @param {*} [options] Override http request option.
|
|
12472
|
+
* @throws {RequiredError}
|
|
12473
|
+
*/
|
|
12474
|
+
async getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
12475
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxExpiringKeysCsv(options);
|
|
12476
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12477
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxExpiringKeysCsv']?.[localVarOperationServerIndex]?.url;
|
|
12478
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12479
|
+
},
|
|
12416
12480
|
/**
|
|
12417
12481
|
* Get 3CX Partners
|
|
12418
12482
|
* @summary Get 3CX Partners
|
|
@@ -12472,9 +12536,18 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
12472
12536
|
* @param {*} [options] Override http request option.
|
|
12473
12537
|
* @throws {RequiredError}
|
|
12474
12538
|
*/
|
|
12475
|
-
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
12539
|
+
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<ExpiringKeyDTO>> {
|
|
12476
12540
|
return localVarFp.getGetTcxExpiringKeys(options).then((request) => request(axios, basePath));
|
|
12477
12541
|
},
|
|
12542
|
+
/**
|
|
12543
|
+
* Get 3CX Expiring Keys
|
|
12544
|
+
* @summary Get 3CX Expiring Keys
|
|
12545
|
+
* @param {*} [options] Override http request option.
|
|
12546
|
+
* @throws {RequiredError}
|
|
12547
|
+
*/
|
|
12548
|
+
getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
12549
|
+
return localVarFp.getGetTcxExpiringKeysCsv(options).then((request) => request(axios, basePath));
|
|
12550
|
+
},
|
|
12478
12551
|
/**
|
|
12479
12552
|
* Get 3CX Partners
|
|
12480
12553
|
* @summary Get 3CX Partners
|
|
@@ -12532,6 +12605,16 @@ export class Class3CXApi extends BaseAPI {
|
|
|
12532
12605
|
return Class3CXApiFp(this.configuration).getGetTcxExpiringKeys(options).then((request) => request(this.axios, this.basePath));
|
|
12533
12606
|
}
|
|
12534
12607
|
|
|
12608
|
+
/**
|
|
12609
|
+
* Get 3CX Expiring Keys
|
|
12610
|
+
* @summary Get 3CX Expiring Keys
|
|
12611
|
+
* @param {*} [options] Override http request option.
|
|
12612
|
+
* @throws {RequiredError}
|
|
12613
|
+
*/
|
|
12614
|
+
public getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig) {
|
|
12615
|
+
return Class3CXApiFp(this.configuration).getGetTcxExpiringKeysCsv(options).then((request) => request(this.axios, this.basePath));
|
|
12616
|
+
}
|
|
12617
|
+
|
|
12535
12618
|
/**
|
|
12536
12619
|
* Get 3CX Partners
|
|
12537
12620
|
* @summary Get 3CX Partners
|
package/dist/api.d.ts
CHANGED
|
@@ -2459,6 +2459,28 @@ export interface EventUpdateRequestDTO {
|
|
|
2459
2459
|
*/
|
|
2460
2460
|
'createdAt'?: string;
|
|
2461
2461
|
}
|
|
2462
|
+
/**
|
|
2463
|
+
* 3CX Expiring Key
|
|
2464
|
+
*/
|
|
2465
|
+
export interface ExpiringKeyDTO {
|
|
2466
|
+
/**
|
|
2467
|
+
* Date Time
|
|
2468
|
+
*/
|
|
2469
|
+
'expiryDate'?: string;
|
|
2470
|
+
/**
|
|
2471
|
+
* Licence Key
|
|
2472
|
+
*/
|
|
2473
|
+
'licenceKey'?: string;
|
|
2474
|
+
/**
|
|
2475
|
+
* Edition
|
|
2476
|
+
*/
|
|
2477
|
+
'edition'?: string;
|
|
2478
|
+
/**
|
|
2479
|
+
* Type
|
|
2480
|
+
*/
|
|
2481
|
+
'type'?: string;
|
|
2482
|
+
'partner'?: PartnerDTO;
|
|
2483
|
+
}
|
|
2462
2484
|
/**
|
|
2463
2485
|
* Fraud Management
|
|
2464
2486
|
*/
|
|
@@ -10232,6 +10254,13 @@ export declare const Class3CXApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
10232
10254
|
* @throws {RequiredError}
|
|
10233
10255
|
*/
|
|
10234
10256
|
getGetTcxExpiringKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10257
|
+
/**
|
|
10258
|
+
* Get 3CX Expiring Keys
|
|
10259
|
+
* @summary Get 3CX Expiring Keys
|
|
10260
|
+
* @param {*} [options] Override http request option.
|
|
10261
|
+
* @throws {RequiredError}
|
|
10262
|
+
*/
|
|
10263
|
+
getGetTcxExpiringKeysCsv: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10235
10264
|
/**
|
|
10236
10265
|
* Get 3CX Partners
|
|
10237
10266
|
* @summary Get 3CX Partners
|
|
@@ -10273,7 +10302,14 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
|
|
|
10273
10302
|
* @param {*} [options] Override http request option.
|
|
10274
10303
|
* @throws {RequiredError}
|
|
10275
10304
|
*/
|
|
10276
|
-
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
10305
|
+
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExpiringKeyDTO>>>;
|
|
10306
|
+
/**
|
|
10307
|
+
* Get 3CX Expiring Keys
|
|
10308
|
+
* @summary Get 3CX Expiring Keys
|
|
10309
|
+
* @param {*} [options] Override http request option.
|
|
10310
|
+
* @throws {RequiredError}
|
|
10311
|
+
*/
|
|
10312
|
+
getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
10277
10313
|
/**
|
|
10278
10314
|
* Get 3CX Partners
|
|
10279
10315
|
* @summary Get 3CX Partners
|
|
@@ -10315,7 +10351,14 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
|
|
|
10315
10351
|
* @param {*} [options] Override http request option.
|
|
10316
10352
|
* @throws {RequiredError}
|
|
10317
10353
|
*/
|
|
10318
|
-
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
10354
|
+
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<ExpiringKeyDTO>>;
|
|
10355
|
+
/**
|
|
10356
|
+
* Get 3CX Expiring Keys
|
|
10357
|
+
* @summary Get 3CX Expiring Keys
|
|
10358
|
+
* @param {*} [options] Override http request option.
|
|
10359
|
+
* @throws {RequiredError}
|
|
10360
|
+
*/
|
|
10361
|
+
getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
10319
10362
|
/**
|
|
10320
10363
|
* Get 3CX Partners
|
|
10321
10364
|
* @summary Get 3CX Partners
|
|
@@ -10357,7 +10400,14 @@ export declare class Class3CXApi extends BaseAPI {
|
|
|
10357
10400
|
* @param {*} [options] Override http request option.
|
|
10358
10401
|
* @throws {RequiredError}
|
|
10359
10402
|
*/
|
|
10360
|
-
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
10403
|
+
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExpiringKeyDTO[], any, {}>>;
|
|
10404
|
+
/**
|
|
10405
|
+
* Get 3CX Expiring Keys
|
|
10406
|
+
* @summary Get 3CX Expiring Keys
|
|
10407
|
+
* @param {*} [options] Override http request option.
|
|
10408
|
+
* @throws {RequiredError}
|
|
10409
|
+
*/
|
|
10410
|
+
getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
10361
10411
|
/**
|
|
10362
10412
|
* Get 3CX Partners
|
|
10363
10413
|
* @summary Get 3CX Partners
|
package/dist/api.js
CHANGED
|
@@ -4802,6 +4802,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
4802
4802
|
* @throws {RequiredError}
|
|
4803
4803
|
*/
|
|
4804
4804
|
getGetTcxExpiringKeys: function () {
|
|
4805
|
+
var args_1 = [];
|
|
4806
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4807
|
+
args_1[_i] = arguments[_i];
|
|
4808
|
+
}
|
|
4809
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
4810
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4811
|
+
if (options === void 0) { options = {}; }
|
|
4812
|
+
return __generator(this, function (_a) {
|
|
4813
|
+
localVarPath = "/tcx/admin/keys/expiring";
|
|
4814
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4815
|
+
if (configuration) {
|
|
4816
|
+
baseOptions = configuration.baseOptions;
|
|
4817
|
+
}
|
|
4818
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4819
|
+
localVarHeaderParameter = {};
|
|
4820
|
+
localVarQueryParameter = {};
|
|
4821
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4822
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4823
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4824
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4825
|
+
return [2 /*return*/, {
|
|
4826
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4827
|
+
options: localVarRequestOptions,
|
|
4828
|
+
}];
|
|
4829
|
+
});
|
|
4830
|
+
});
|
|
4831
|
+
},
|
|
4832
|
+
/**
|
|
4833
|
+
* Get 3CX Expiring Keys
|
|
4834
|
+
* @summary Get 3CX Expiring Keys
|
|
4835
|
+
* @param {*} [options] Override http request option.
|
|
4836
|
+
* @throws {RequiredError}
|
|
4837
|
+
*/
|
|
4838
|
+
getGetTcxExpiringKeysCsv: function () {
|
|
4805
4839
|
var args_1 = [];
|
|
4806
4840
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4807
4841
|
args_1[_i] = arguments[_i];
|
|
@@ -4976,6 +5010,28 @@ var Class3CXApiFp = function (configuration) {
|
|
|
4976
5010
|
});
|
|
4977
5011
|
});
|
|
4978
5012
|
},
|
|
5013
|
+
/**
|
|
5014
|
+
* Get 3CX Expiring Keys
|
|
5015
|
+
* @summary Get 3CX Expiring Keys
|
|
5016
|
+
* @param {*} [options] Override http request option.
|
|
5017
|
+
* @throws {RequiredError}
|
|
5018
|
+
*/
|
|
5019
|
+
getGetTcxExpiringKeysCsv: function (options) {
|
|
5020
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5021
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
5022
|
+
var _a, _b, _c;
|
|
5023
|
+
return __generator(this, function (_d) {
|
|
5024
|
+
switch (_d.label) {
|
|
5025
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeysCsv(options)];
|
|
5026
|
+
case 1:
|
|
5027
|
+
localVarAxiosArgs = _d.sent();
|
|
5028
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5029
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeysCsv']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5030
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
5031
|
+
}
|
|
5032
|
+
});
|
|
5033
|
+
});
|
|
5034
|
+
},
|
|
4979
5035
|
/**
|
|
4980
5036
|
* Get 3CX Partners
|
|
4981
5037
|
* @summary Get 3CX Partners
|
|
@@ -5058,6 +5114,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
5058
5114
|
getGetTcxExpiringKeys: function (options) {
|
|
5059
5115
|
return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
|
|
5060
5116
|
},
|
|
5117
|
+
/**
|
|
5118
|
+
* Get 3CX Expiring Keys
|
|
5119
|
+
* @summary Get 3CX Expiring Keys
|
|
5120
|
+
* @param {*} [options] Override http request option.
|
|
5121
|
+
* @throws {RequiredError}
|
|
5122
|
+
*/
|
|
5123
|
+
getGetTcxExpiringKeysCsv: function (options) {
|
|
5124
|
+
return localVarFp.getGetTcxExpiringKeysCsv(options).then(function (request) { return request(axios, basePath); });
|
|
5125
|
+
},
|
|
5061
5126
|
/**
|
|
5062
5127
|
* Get 3CX Partners
|
|
5063
5128
|
* @summary Get 3CX Partners
|
|
@@ -5119,6 +5184,16 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
5119
5184
|
var _this = this;
|
|
5120
5185
|
return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5121
5186
|
};
|
|
5187
|
+
/**
|
|
5188
|
+
* Get 3CX Expiring Keys
|
|
5189
|
+
* @summary Get 3CX Expiring Keys
|
|
5190
|
+
* @param {*} [options] Override http request option.
|
|
5191
|
+
* @throws {RequiredError}
|
|
5192
|
+
*/
|
|
5193
|
+
Class3CXApi.prototype.getGetTcxExpiringKeysCsv = function (options) {
|
|
5194
|
+
var _this = this;
|
|
5195
|
+
return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeysCsv(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5196
|
+
};
|
|
5122
5197
|
/**
|
|
5123
5198
|
* Get 3CX Partners
|
|
5124
5199
|
* @summary Get 3CX Partners
|
package/docs/Class3CXApi.md
CHANGED
|
@@ -6,7 +6,8 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**getGetLicenceDetails**](#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details|
|
|
8
8
|
|[**getGetTcxCreditStatus**](#getgettcxcreditstatus) | **GET** /tcx/admin/credit | Get 3CX Credit Status|
|
|
9
|
-
|[**getGetTcxExpiringKeys**](#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring
|
|
9
|
+
|[**getGetTcxExpiringKeys**](#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring | Get 3CX Expiring Keys|
|
|
10
|
+
|[**getGetTcxExpiringKeysCsv**](#getgettcxexpiringkeyscsv) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys|
|
|
10
11
|
|[**getGetTcxPartners**](#getgettcxpartners) | **GET** /tcx/admin/partners | Get 3CX Partners|
|
|
11
12
|
|[**postGetBulkLicenceDetails**](#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details|
|
|
12
13
|
|
|
@@ -112,7 +113,7 @@ No authorization required
|
|
|
112
113
|
[[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)
|
|
113
114
|
|
|
114
115
|
# **getGetTcxExpiringKeys**
|
|
115
|
-
>
|
|
116
|
+
> Array<ExpiringKeyDTO> getGetTcxExpiringKeys()
|
|
116
117
|
|
|
117
118
|
Get 3CX Expiring Keys
|
|
118
119
|
|
|
@@ -134,6 +135,53 @@ const { status, data } = await apiInstance.getGetTcxExpiringKeys();
|
|
|
134
135
|
This endpoint does not have any parameters.
|
|
135
136
|
|
|
136
137
|
|
|
138
|
+
### Return type
|
|
139
|
+
|
|
140
|
+
**Array<ExpiringKeyDTO>**
|
|
141
|
+
|
|
142
|
+
### Authorization
|
|
143
|
+
|
|
144
|
+
No authorization required
|
|
145
|
+
|
|
146
|
+
### HTTP request headers
|
|
147
|
+
|
|
148
|
+
- **Content-Type**: Not defined
|
|
149
|
+
- **Accept**: application/json
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### HTTP response details
|
|
153
|
+
| Status code | Description | Response headers |
|
|
154
|
+
|-------------|-------------|------------------|
|
|
155
|
+
|**200** | 3CX Expiring Key | - |
|
|
156
|
+
|**400** | Bad Request | - |
|
|
157
|
+
|**401** | Unauthorised | - |
|
|
158
|
+
|**403** | Access Denied | - |
|
|
159
|
+
|
|
160
|
+
[[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)
|
|
161
|
+
|
|
162
|
+
# **getGetTcxExpiringKeysCsv**
|
|
163
|
+
> string getGetTcxExpiringKeysCsv()
|
|
164
|
+
|
|
165
|
+
Get 3CX Expiring Keys
|
|
166
|
+
|
|
167
|
+
### Example
|
|
168
|
+
|
|
169
|
+
```typescript
|
|
170
|
+
import {
|
|
171
|
+
Class3CXApi,
|
|
172
|
+
Configuration
|
|
173
|
+
} from 'yellowgrid-api-ts';
|
|
174
|
+
|
|
175
|
+
const configuration = new Configuration();
|
|
176
|
+
const apiInstance = new Class3CXApi(configuration);
|
|
177
|
+
|
|
178
|
+
const { status, data } = await apiInstance.getGetTcxExpiringKeysCsv();
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### Parameters
|
|
182
|
+
This endpoint does not have any parameters.
|
|
183
|
+
|
|
184
|
+
|
|
137
185
|
### Return type
|
|
138
186
|
|
|
139
187
|
**string**
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# ExpiringKeyDTO
|
|
2
|
+
|
|
3
|
+
3CX Expiring Key
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**expiryDate** | **string** | Date Time | [optional] [default to undefined]
|
|
10
|
+
**licenceKey** | **string** | Licence Key | [optional] [default to undefined]
|
|
11
|
+
**edition** | **string** | Edition | [optional] [default to undefined]
|
|
12
|
+
**type** | **string** | Type | [optional] [default to undefined]
|
|
13
|
+
**partner** | [**PartnerDTO**](PartnerDTO.md) | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ExpiringKeyDTO } from 'yellowgrid-api-ts';
|
|
19
|
+
|
|
20
|
+
const instance: ExpiringKeyDTO = {
|
|
21
|
+
expiryDate,
|
|
22
|
+
licenceKey,
|
|
23
|
+
edition,
|
|
24
|
+
type,
|
|
25
|
+
partner,
|
|
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)
|