yellowgrid-api-ts 3.2.172 → 3.2.173
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 +2 -0
- package/api.ts +78 -0
- package/dist/api.d.ts +45 -0
- package/dist/api.js +75 -0
- package/docs/Class3CXApi.md +48 -0
- package/docs/CreditStatusDTO.md +25 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -102,6 +102,7 @@ Class | Method | HTTP request | Description
|
|
|
102
102
|
*CRMApi* | [**getSearchByPhone**](docs/CRMApi.md#getsearchbyphone) | **GET** /crm/contact/search |
|
|
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
|
+
*Class3CXApi* | [**getGetTcxCreditStatus**](docs/Class3CXApi.md#getgettcxcreditstatus) | **GET** /tcx/admin/credit | Get 3CX Credit Status
|
|
105
106
|
*Class3CXApi* | [**getGetTcxExpiringKeys**](docs/Class3CXApi.md#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys
|
|
106
107
|
*Class3CXApi* | [**postGetBulkLicenceDetails**](docs/Class3CXApi.md#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details
|
|
107
108
|
*Class3CXInstallationWizardApi* | [**deleteAddExtensions**](docs/Class3CXInstallationWizardApi.md#deleteaddextensions) | **DELETE** /tcx/wizards/extensions | Delete 3CX Installation Wizard Extensions
|
|
@@ -359,6 +360,7 @@ Class | Method | HTTP request | Description
|
|
|
359
360
|
- [CreditNoteItemEntity](docs/CreditNoteItemEntity.md)
|
|
360
361
|
- [CreditNoteItemModel](docs/CreditNoteItemModel.md)
|
|
361
362
|
- [CreditNoteModel](docs/CreditNoteModel.md)
|
|
363
|
+
- [CreditStatusDTO](docs/CreditStatusDTO.md)
|
|
362
364
|
- [CrmActivitiesResponseDTO](docs/CrmActivitiesResponseDTO.md)
|
|
363
365
|
- [CrmActivityDTO](docs/CrmActivityDTO.md)
|
|
364
366
|
- [CrmContactDTO](docs/CrmContactDTO.md)
|
package/api.ts
CHANGED
|
@@ -1666,6 +1666,23 @@ export interface CreditNoteModel {
|
|
|
1666
1666
|
*/
|
|
1667
1667
|
'items'?: Array<CreditNoteItemModel>;
|
|
1668
1668
|
}
|
|
1669
|
+
/**
|
|
1670
|
+
* 3CX Credit Status
|
|
1671
|
+
*/
|
|
1672
|
+
export interface CreditStatusDTO {
|
|
1673
|
+
/**
|
|
1674
|
+
* Currency Code
|
|
1675
|
+
*/
|
|
1676
|
+
'CurrencyCode'?: string | null;
|
|
1677
|
+
/**
|
|
1678
|
+
* Credit Limit
|
|
1679
|
+
*/
|
|
1680
|
+
'CreditLimit'?: number | null;
|
|
1681
|
+
/**
|
|
1682
|
+
* Credit
|
|
1683
|
+
*/
|
|
1684
|
+
'Credit'?: number | null;
|
|
1685
|
+
}
|
|
1669
1686
|
/**
|
|
1670
1687
|
* CRM Activities Response
|
|
1671
1688
|
*/
|
|
@@ -12214,6 +12231,36 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12214
12231
|
options: localVarRequestOptions,
|
|
12215
12232
|
};
|
|
12216
12233
|
},
|
|
12234
|
+
/**
|
|
12235
|
+
* Get 3CX Credit Status
|
|
12236
|
+
* @summary Get 3CX Credit Status
|
|
12237
|
+
* @param {*} [options] Override http request option.
|
|
12238
|
+
* @throws {RequiredError}
|
|
12239
|
+
*/
|
|
12240
|
+
getGetTcxCreditStatus: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12241
|
+
const localVarPath = `/tcx/admin/credit`;
|
|
12242
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12243
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12244
|
+
let baseOptions;
|
|
12245
|
+
if (configuration) {
|
|
12246
|
+
baseOptions = configuration.baseOptions;
|
|
12247
|
+
}
|
|
12248
|
+
|
|
12249
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12250
|
+
const localVarHeaderParameter = {} as any;
|
|
12251
|
+
const localVarQueryParameter = {} as any;
|
|
12252
|
+
|
|
12253
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
12254
|
+
|
|
12255
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12256
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12257
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12258
|
+
|
|
12259
|
+
return {
|
|
12260
|
+
url: toPathString(localVarUrlObj),
|
|
12261
|
+
options: localVarRequestOptions,
|
|
12262
|
+
};
|
|
12263
|
+
},
|
|
12217
12264
|
/**
|
|
12218
12265
|
* Get 3CX Expiring Keys
|
|
12219
12266
|
* @summary Get 3CX Expiring Keys
|
|
@@ -12299,6 +12346,18 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
12299
12346
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
|
|
12300
12347
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12301
12348
|
},
|
|
12349
|
+
/**
|
|
12350
|
+
* Get 3CX Credit Status
|
|
12351
|
+
* @summary Get 3CX Credit Status
|
|
12352
|
+
* @param {*} [options] Override http request option.
|
|
12353
|
+
* @throws {RequiredError}
|
|
12354
|
+
*/
|
|
12355
|
+
async getGetTcxCreditStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreditStatusDTO>> {
|
|
12356
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxCreditStatus(options);
|
|
12357
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12358
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxCreditStatus']?.[localVarOperationServerIndex]?.url;
|
|
12359
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12360
|
+
},
|
|
12302
12361
|
/**
|
|
12303
12362
|
* Get 3CX Expiring Keys
|
|
12304
12363
|
* @summary Get 3CX Expiring Keys
|
|
@@ -12343,6 +12402,15 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
12343
12402
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
|
|
12344
12403
|
return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
|
|
12345
12404
|
},
|
|
12405
|
+
/**
|
|
12406
|
+
* Get 3CX Credit Status
|
|
12407
|
+
* @summary Get 3CX Credit Status
|
|
12408
|
+
* @param {*} [options] Override http request option.
|
|
12409
|
+
* @throws {RequiredError}
|
|
12410
|
+
*/
|
|
12411
|
+
getGetTcxCreditStatus(options?: RawAxiosRequestConfig): AxiosPromise<CreditStatusDTO> {
|
|
12412
|
+
return localVarFp.getGetTcxCreditStatus(options).then((request) => request(axios, basePath));
|
|
12413
|
+
},
|
|
12346
12414
|
/**
|
|
12347
12415
|
* Get 3CX Expiring Keys
|
|
12348
12416
|
* @summary Get 3CX Expiring Keys
|
|
@@ -12380,6 +12448,16 @@ export class Class3CXApi extends BaseAPI {
|
|
|
12380
12448
|
return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
|
|
12381
12449
|
}
|
|
12382
12450
|
|
|
12451
|
+
/**
|
|
12452
|
+
* Get 3CX Credit Status
|
|
12453
|
+
* @summary Get 3CX Credit Status
|
|
12454
|
+
* @param {*} [options] Override http request option.
|
|
12455
|
+
* @throws {RequiredError}
|
|
12456
|
+
*/
|
|
12457
|
+
public getGetTcxCreditStatus(options?: RawAxiosRequestConfig) {
|
|
12458
|
+
return Class3CXApiFp(this.configuration).getGetTcxCreditStatus(options).then((request) => request(this.axios, this.basePath));
|
|
12459
|
+
}
|
|
12460
|
+
|
|
12383
12461
|
/**
|
|
12384
12462
|
* Get 3CX Expiring Keys
|
|
12385
12463
|
* @summary Get 3CX Expiring Keys
|
package/dist/api.d.ts
CHANGED
|
@@ -1643,6 +1643,23 @@ export interface CreditNoteModel {
|
|
|
1643
1643
|
*/
|
|
1644
1644
|
'items'?: Array<CreditNoteItemModel>;
|
|
1645
1645
|
}
|
|
1646
|
+
/**
|
|
1647
|
+
* 3CX Credit Status
|
|
1648
|
+
*/
|
|
1649
|
+
export interface CreditStatusDTO {
|
|
1650
|
+
/**
|
|
1651
|
+
* Currency Code
|
|
1652
|
+
*/
|
|
1653
|
+
'CurrencyCode'?: string | null;
|
|
1654
|
+
/**
|
|
1655
|
+
* Credit Limit
|
|
1656
|
+
*/
|
|
1657
|
+
'CreditLimit'?: number | null;
|
|
1658
|
+
/**
|
|
1659
|
+
* Credit
|
|
1660
|
+
*/
|
|
1661
|
+
'Credit'?: number | null;
|
|
1662
|
+
}
|
|
1646
1663
|
/**
|
|
1647
1664
|
* CRM Activities Response
|
|
1648
1665
|
*/
|
|
@@ -10188,6 +10205,13 @@ export declare const Class3CXApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
10188
10205
|
* @throws {RequiredError}
|
|
10189
10206
|
*/
|
|
10190
10207
|
getGetLicenceDetails: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10208
|
+
/**
|
|
10209
|
+
* Get 3CX Credit Status
|
|
10210
|
+
* @summary Get 3CX Credit Status
|
|
10211
|
+
* @param {*} [options] Override http request option.
|
|
10212
|
+
* @throws {RequiredError}
|
|
10213
|
+
*/
|
|
10214
|
+
getGetTcxCreditStatus: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10191
10215
|
/**
|
|
10192
10216
|
* Get 3CX Expiring Keys
|
|
10193
10217
|
* @summary Get 3CX Expiring Keys
|
|
@@ -10216,6 +10240,13 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
|
|
|
10216
10240
|
* @throws {RequiredError}
|
|
10217
10241
|
*/
|
|
10218
10242
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxLicenceDetailsModel>>;
|
|
10243
|
+
/**
|
|
10244
|
+
* Get 3CX Credit Status
|
|
10245
|
+
* @summary Get 3CX Credit Status
|
|
10246
|
+
* @param {*} [options] Override http request option.
|
|
10247
|
+
* @throws {RequiredError}
|
|
10248
|
+
*/
|
|
10249
|
+
getGetTcxCreditStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreditStatusDTO>>;
|
|
10219
10250
|
/**
|
|
10220
10251
|
* Get 3CX Expiring Keys
|
|
10221
10252
|
* @summary Get 3CX Expiring Keys
|
|
@@ -10244,6 +10275,13 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
|
|
|
10244
10275
|
* @throws {RequiredError}
|
|
10245
10276
|
*/
|
|
10246
10277
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel>;
|
|
10278
|
+
/**
|
|
10279
|
+
* Get 3CX Credit Status
|
|
10280
|
+
* @summary Get 3CX Credit Status
|
|
10281
|
+
* @param {*} [options] Override http request option.
|
|
10282
|
+
* @throws {RequiredError}
|
|
10283
|
+
*/
|
|
10284
|
+
getGetTcxCreditStatus(options?: RawAxiosRequestConfig): AxiosPromise<CreditStatusDTO>;
|
|
10247
10285
|
/**
|
|
10248
10286
|
* Get 3CX Expiring Keys
|
|
10249
10287
|
* @summary Get 3CX Expiring Keys
|
|
@@ -10272,6 +10310,13 @@ export declare class Class3CXApi extends BaseAPI {
|
|
|
10272
10310
|
* @throws {RequiredError}
|
|
10273
10311
|
*/
|
|
10274
10312
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TcxLicenceDetailsModel, any, {}>>;
|
|
10313
|
+
/**
|
|
10314
|
+
* Get 3CX Credit Status
|
|
10315
|
+
* @summary Get 3CX Credit Status
|
|
10316
|
+
* @param {*} [options] Override http request option.
|
|
10317
|
+
* @throws {RequiredError}
|
|
10318
|
+
*/
|
|
10319
|
+
getGetTcxCreditStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditStatusDTO, any, {}>>;
|
|
10275
10320
|
/**
|
|
10276
10321
|
* Get 3CX Expiring Keys
|
|
10277
10322
|
* @summary Get 3CX Expiring Keys
|
package/dist/api.js
CHANGED
|
@@ -4760,6 +4760,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
4760
4760
|
});
|
|
4761
4761
|
});
|
|
4762
4762
|
},
|
|
4763
|
+
/**
|
|
4764
|
+
* Get 3CX Credit Status
|
|
4765
|
+
* @summary Get 3CX Credit Status
|
|
4766
|
+
* @param {*} [options] Override http request option.
|
|
4767
|
+
* @throws {RequiredError}
|
|
4768
|
+
*/
|
|
4769
|
+
getGetTcxCreditStatus: function () {
|
|
4770
|
+
var args_1 = [];
|
|
4771
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4772
|
+
args_1[_i] = arguments[_i];
|
|
4773
|
+
}
|
|
4774
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
4775
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4776
|
+
if (options === void 0) { options = {}; }
|
|
4777
|
+
return __generator(this, function (_a) {
|
|
4778
|
+
localVarPath = "/tcx/admin/credit";
|
|
4779
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4780
|
+
if (configuration) {
|
|
4781
|
+
baseOptions = configuration.baseOptions;
|
|
4782
|
+
}
|
|
4783
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
4784
|
+
localVarHeaderParameter = {};
|
|
4785
|
+
localVarQueryParameter = {};
|
|
4786
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4787
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4788
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4789
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4790
|
+
return [2 /*return*/, {
|
|
4791
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4792
|
+
options: localVarRequestOptions,
|
|
4793
|
+
}];
|
|
4794
|
+
});
|
|
4795
|
+
});
|
|
4796
|
+
},
|
|
4763
4797
|
/**
|
|
4764
4798
|
* Get 3CX Expiring Keys
|
|
4765
4799
|
* @summary Get 3CX Expiring Keys
|
|
@@ -4863,6 +4897,28 @@ var Class3CXApiFp = function (configuration) {
|
|
|
4863
4897
|
});
|
|
4864
4898
|
});
|
|
4865
4899
|
},
|
|
4900
|
+
/**
|
|
4901
|
+
* Get 3CX Credit Status
|
|
4902
|
+
* @summary Get 3CX Credit Status
|
|
4903
|
+
* @param {*} [options] Override http request option.
|
|
4904
|
+
* @throws {RequiredError}
|
|
4905
|
+
*/
|
|
4906
|
+
getGetTcxCreditStatus: function (options) {
|
|
4907
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4908
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4909
|
+
var _a, _b, _c;
|
|
4910
|
+
return __generator(this, function (_d) {
|
|
4911
|
+
switch (_d.label) {
|
|
4912
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxCreditStatus(options)];
|
|
4913
|
+
case 1:
|
|
4914
|
+
localVarAxiosArgs = _d.sent();
|
|
4915
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4916
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxCreditStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4917
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4918
|
+
}
|
|
4919
|
+
});
|
|
4920
|
+
});
|
|
4921
|
+
},
|
|
4866
4922
|
/**
|
|
4867
4923
|
* Get 3CX Expiring Keys
|
|
4868
4924
|
* @summary Get 3CX Expiring Keys
|
|
@@ -4927,6 +4983,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
|
|
|
4927
4983
|
getGetLicenceDetails: function (key, options) {
|
|
4928
4984
|
return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
|
|
4929
4985
|
},
|
|
4986
|
+
/**
|
|
4987
|
+
* Get 3CX Credit Status
|
|
4988
|
+
* @summary Get 3CX Credit Status
|
|
4989
|
+
* @param {*} [options] Override http request option.
|
|
4990
|
+
* @throws {RequiredError}
|
|
4991
|
+
*/
|
|
4992
|
+
getGetTcxCreditStatus: function (options) {
|
|
4993
|
+
return localVarFp.getGetTcxCreditStatus(options).then(function (request) { return request(axios, basePath); });
|
|
4994
|
+
},
|
|
4930
4995
|
/**
|
|
4931
4996
|
* Get 3CX Expiring Keys
|
|
4932
4997
|
* @summary Get 3CX Expiring Keys
|
|
@@ -4968,6 +5033,16 @@ var Class3CXApi = /** @class */ (function (_super) {
|
|
|
4968
5033
|
var _this = this;
|
|
4969
5034
|
return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4970
5035
|
};
|
|
5036
|
+
/**
|
|
5037
|
+
* Get 3CX Credit Status
|
|
5038
|
+
* @summary Get 3CX Credit Status
|
|
5039
|
+
* @param {*} [options] Override http request option.
|
|
5040
|
+
* @throws {RequiredError}
|
|
5041
|
+
*/
|
|
5042
|
+
Class3CXApi.prototype.getGetTcxCreditStatus = function (options) {
|
|
5043
|
+
var _this = this;
|
|
5044
|
+
return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxCreditStatus(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5045
|
+
};
|
|
4971
5046
|
/**
|
|
4972
5047
|
* Get 3CX Expiring Keys
|
|
4973
5048
|
* @summary Get 3CX Expiring Keys
|
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
|
+
|[**getGetTcxCreditStatus**](#getgettcxcreditstatus) | **GET** /tcx/admin/credit | Get 3CX Credit Status|
|
|
8
9
|
|[**getGetTcxExpiringKeys**](#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys|
|
|
9
10
|
|[**postGetBulkLicenceDetails**](#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details|
|
|
10
11
|
|
|
@@ -62,6 +63,53 @@ No authorization required
|
|
|
62
63
|
|
|
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)
|
|
64
65
|
|
|
66
|
+
# **getGetTcxCreditStatus**
|
|
67
|
+
> CreditStatusDTO getGetTcxCreditStatus()
|
|
68
|
+
|
|
69
|
+
Get 3CX Credit Status
|
|
70
|
+
|
|
71
|
+
### Example
|
|
72
|
+
|
|
73
|
+
```typescript
|
|
74
|
+
import {
|
|
75
|
+
Class3CXApi,
|
|
76
|
+
Configuration
|
|
77
|
+
} from 'yellowgrid-api-ts';
|
|
78
|
+
|
|
79
|
+
const configuration = new Configuration();
|
|
80
|
+
const apiInstance = new Class3CXApi(configuration);
|
|
81
|
+
|
|
82
|
+
const { status, data } = await apiInstance.getGetTcxCreditStatus();
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Parameters
|
|
86
|
+
This endpoint does not have any parameters.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### Return type
|
|
90
|
+
|
|
91
|
+
**CreditStatusDTO**
|
|
92
|
+
|
|
93
|
+
### Authorization
|
|
94
|
+
|
|
95
|
+
No authorization required
|
|
96
|
+
|
|
97
|
+
### HTTP request headers
|
|
98
|
+
|
|
99
|
+
- **Content-Type**: Not defined
|
|
100
|
+
- **Accept**: application/json
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### HTTP response details
|
|
104
|
+
| Status code | Description | Response headers |
|
|
105
|
+
|-------------|-------------|------------------|
|
|
106
|
+
|**200** | 3CX Expiring Key CSV | - |
|
|
107
|
+
|**400** | Bad Request | - |
|
|
108
|
+
|**401** | Unauthorised | - |
|
|
109
|
+
|**403** | Access Denied | - |
|
|
110
|
+
|
|
111
|
+
[[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)
|
|
112
|
+
|
|
65
113
|
# **getGetTcxExpiringKeys**
|
|
66
114
|
> string getGetTcxExpiringKeys()
|
|
67
115
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# CreditStatusDTO
|
|
2
|
+
|
|
3
|
+
3CX Credit Status
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**CurrencyCode** | **string** | Currency Code | [optional] [default to undefined]
|
|
10
|
+
**CreditLimit** | **number** | Credit Limit | [optional] [default to undefined]
|
|
11
|
+
**Credit** | **number** | Credit | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { CreditStatusDTO } from 'yellowgrid-api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: CreditStatusDTO = {
|
|
19
|
+
CurrencyCode,
|
|
20
|
+
CreditLimit,
|
|
21
|
+
Credit,
|
|
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)
|