yellowgrid-api-ts 3.2.176-dev.0 → 3.2.177-dev.0
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 +4 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +8 -0
- package/api.ts +346 -0
- package/dist/api.d.ts +176 -0
- package/dist/api.js +379 -0
- package/dist/models/UserGroupEnum.d.ts +5 -0
- package/dist/models/UserGroupEnum.js +5 -0
- package/docs/Class3CXApi.md +96 -0
- package/docs/CreditStatusDTO.md +25 -0
- package/docs/GetCheckMacExists200Response.md +20 -0
- package/docs/MacAddressDTO.md +23 -0
- package/docs/PartnerDTO.md +2 -0
- package/docs/PricingApi.md +4 -4
- package/docs/ProvisioningApi.md +158 -0
- package/models/UserGroupEnum.ts +5 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.gitignore
|
|
2
2
|
.npmignore
|
|
3
|
+
.openapi-generator-ignore
|
|
3
4
|
README.md
|
|
4
5
|
api.ts
|
|
5
6
|
base.ts
|
|
@@ -56,6 +57,7 @@ docs/CreditNoteItemDTO.md
|
|
|
56
57
|
docs/CreditNoteItemEntity.md
|
|
57
58
|
docs/CreditNoteItemModel.md
|
|
58
59
|
docs/CreditNoteModel.md
|
|
60
|
+
docs/CreditStatusDTO.md
|
|
59
61
|
docs/CrmActivitiesResponseDTO.md
|
|
60
62
|
docs/CrmActivityDTO.md
|
|
61
63
|
docs/CrmContactDTO.md
|
|
@@ -89,6 +91,7 @@ docs/FreshdeskCompanyTicketsModel.md
|
|
|
89
91
|
docs/FreshdeskTicketEntity.md
|
|
90
92
|
docs/FtpAccountsEntity.md
|
|
91
93
|
docs/GenericFileModel.md
|
|
94
|
+
docs/GetCheckMacExists200Response.md
|
|
92
95
|
docs/GetGetPrice200Response.md
|
|
93
96
|
docs/GetGetRecording200Response.md
|
|
94
97
|
docs/HostingChangeResponseModel.md
|
|
@@ -108,6 +111,7 @@ docs/ItemDiscountEntity.md
|
|
|
108
111
|
docs/ItemEntity.md
|
|
109
112
|
docs/LinkedOrderEntity.md
|
|
110
113
|
docs/MFARequiredModel.md
|
|
114
|
+
docs/MacAddressDTO.md
|
|
111
115
|
docs/MonthlyUsageModel.md
|
|
112
116
|
docs/MultiTenantChangeResponseModel.md
|
|
113
117
|
docs/MyPBXToolsApi.md
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.23.0
|
package/README.md
CHANGED
|
@@ -102,7 +102,9 @@ 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
|
|
107
|
+
*Class3CXApi* | [**getGetTcxPartners**](docs/Class3CXApi.md#getgettcxpartners) | **GET** /tcx/admin/partners | Get 3CX Partners
|
|
106
108
|
*Class3CXApi* | [**postGetBulkLicenceDetails**](docs/Class3CXApi.md#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details
|
|
107
109
|
*Class3CXInstallationWizardApi* | [**deleteAddExtensions**](docs/Class3CXInstallationWizardApi.md#deleteaddextensions) | **DELETE** /tcx/wizards/extensions | Delete 3CX Installation Wizard Extensions
|
|
108
110
|
*Class3CXInstallationWizardApi* | [**deleteAddNumbers**](docs/Class3CXInstallationWizardApi.md#deleteaddnumbers) | **DELETE** /tcx/wizards/numbers | Delete 3CX Installation Wizard Numbers
|
|
@@ -240,12 +242,15 @@ Class | Method | HTTP request | Description
|
|
|
240
242
|
*ProspectsApi* | [**getRemoveFromProspects**](docs/ProspectsApi.md#getremovefromprospects) | **GET** /accounts/prospects/{xero_id}/remove | Remove From Prospects
|
|
241
243
|
*ProspectsApi* | [**getSetCallback**](docs/ProspectsApi.md#getsetcallback) | **GET** /accounts/prospects/{xero_id}/date | Set Call Back Date
|
|
242
244
|
*ProvisioningApi* | [**deleteAddFanvilMac**](docs/ProvisioningApi.md#deleteaddfanvilmac) | **DELETE** /provisioning/fanvil/groups/{id}/macs/{mac} | Remove MAC address from DB and FDPS group
|
|
245
|
+
*ProvisioningApi* | [**deleteCheckMacExists**](docs/ProvisioningApi.md#deletecheckmacexists) | **DELETE** /admin/provisioning/fanvil/macs/{mac} |
|
|
243
246
|
*ProvisioningApi* | [**deleteDeleteFanvilGroup**](docs/ProvisioningApi.md#deletedeletefanvilgroup) | **DELETE** /provisioning/fanvil/groups/{id} | Delete group from DB and FDPS
|
|
247
|
+
*ProvisioningApi* | [**getCheckMacExists**](docs/ProvisioningApi.md#getcheckmacexists) | **GET** /admin/provisioning/fanvil/macs/{mac} |
|
|
244
248
|
*ProvisioningApi* | [**getGetFanvilEncryptionKey**](docs/ProvisioningApi.md#getgetfanvilencryptionkey) | **GET** /provisioning/fanvil/groups/{id}/macs/{mac}/key | Get group Fanvil encryption key
|
|
245
249
|
*ProvisioningApi* | [**getGetFanvilGroupMacs**](docs/ProvisioningApi.md#getgetfanvilgroupmacs) | **GET** /provisioning/fanvil/groups/{id}/macs | Get MAC addresses on group at FDPS
|
|
246
250
|
*ProvisioningApi* | [**getGetGroups**](docs/ProvisioningApi.md#getgetgroups) | **GET** /provisioning/groups | Get all provisioning groups or filter by customer ID
|
|
247
251
|
*ProvisioningApi* | [**postAddFanvilGroup**](docs/ProvisioningApi.md#postaddfanvilgroup) | **POST** /provisioning/fanvil/groups | Add group to DB and FDPS
|
|
248
252
|
*ProvisioningApi* | [**postAddFanvilMac**](docs/ProvisioningApi.md#postaddfanvilmac) | **POST** /provisioning/fanvil/groups/{id}/macs/{mac} | Add MAC address to DB and FDPS group
|
|
253
|
+
*ProvisioningApi* | [**postCreateMac**](docs/ProvisioningApi.md#postcreatemac) | **POST** /admin/provisioning/fanvil/macs/ |
|
|
249
254
|
*SIPTrunksApi* | [**deleteGetSipTrunk**](docs/SIPTrunksApi.md#deletegetsiptrunk) | **DELETE** /sip/trunks/{id} | Delete SIP Trunk
|
|
250
255
|
*SIPTrunksApi* | [**getCanDivert**](docs/SIPTrunksApi.md#getcandivert) | **GET** /sip/trunks/{id}/diverts/allowed | SIP Trunk Diverts Allowed
|
|
251
256
|
*SIPTrunksApi* | [**getGetAddress**](docs/SIPTrunksApi.md#getgetaddress) | **GET** /sip/trunks/{id}/address | Get SIP Trunk Address
|
|
@@ -359,6 +364,7 @@ Class | Method | HTTP request | Description
|
|
|
359
364
|
- [CreditNoteItemEntity](docs/CreditNoteItemEntity.md)
|
|
360
365
|
- [CreditNoteItemModel](docs/CreditNoteItemModel.md)
|
|
361
366
|
- [CreditNoteModel](docs/CreditNoteModel.md)
|
|
367
|
+
- [CreditStatusDTO](docs/CreditStatusDTO.md)
|
|
362
368
|
- [CrmActivitiesResponseDTO](docs/CrmActivitiesResponseDTO.md)
|
|
363
369
|
- [CrmActivityDTO](docs/CrmActivityDTO.md)
|
|
364
370
|
- [CrmContactDTO](docs/CrmContactDTO.md)
|
|
@@ -392,6 +398,7 @@ Class | Method | HTTP request | Description
|
|
|
392
398
|
- [FreshdeskTicketEntity](docs/FreshdeskTicketEntity.md)
|
|
393
399
|
- [FtpAccountsEntity](docs/FtpAccountsEntity.md)
|
|
394
400
|
- [GenericFileModel](docs/GenericFileModel.md)
|
|
401
|
+
- [GetCheckMacExists200Response](docs/GetCheckMacExists200Response.md)
|
|
395
402
|
- [GetGetPrice200Response](docs/GetGetPrice200Response.md)
|
|
396
403
|
- [GetGetRecording200Response](docs/GetGetRecording200Response.md)
|
|
397
404
|
- [HostingChangeResponseModel](docs/HostingChangeResponseModel.md)
|
|
@@ -411,6 +418,7 @@ Class | Method | HTTP request | Description
|
|
|
411
418
|
- [ItemEntity](docs/ItemEntity.md)
|
|
412
419
|
- [LinkedOrderEntity](docs/LinkedOrderEntity.md)
|
|
413
420
|
- [MFARequiredModel](docs/MFARequiredModel.md)
|
|
421
|
+
- [MacAddressDTO](docs/MacAddressDTO.md)
|
|
414
422
|
- [MonthlyUsageModel](docs/MonthlyUsageModel.md)
|
|
415
423
|
- [MultiTenantChangeResponseModel](docs/MultiTenantChangeResponseModel.md)
|
|
416
424
|
- [NavigationModel](docs/NavigationModel.md)
|
package/api.ts
CHANGED
|
@@ -748,6 +748,7 @@ export const AdminUserModelPermissionsEnum = {
|
|
|
748
748
|
Privileged: 'Privileged',
|
|
749
749
|
Development: 'Development',
|
|
750
750
|
Finance: 'Finance',
|
|
751
|
+
Telesales: 'Telesales',
|
|
751
752
|
} as const;
|
|
752
753
|
|
|
753
754
|
export type AdminUserModelPermissionsEnum = typeof AdminUserModelPermissionsEnum[keyof typeof AdminUserModelPermissionsEnum];
|
|
@@ -1666,6 +1667,23 @@ export interface CreditNoteModel {
|
|
|
1666
1667
|
*/
|
|
1667
1668
|
'items'?: Array<CreditNoteItemModel>;
|
|
1668
1669
|
}
|
|
1670
|
+
/**
|
|
1671
|
+
* 3CX Credit Status
|
|
1672
|
+
*/
|
|
1673
|
+
export interface CreditStatusDTO {
|
|
1674
|
+
/**
|
|
1675
|
+
* Currency Code
|
|
1676
|
+
*/
|
|
1677
|
+
'CurrencyCode'?: string | null;
|
|
1678
|
+
/**
|
|
1679
|
+
* Credit Limit
|
|
1680
|
+
*/
|
|
1681
|
+
'CreditLimit'?: number | null;
|
|
1682
|
+
/**
|
|
1683
|
+
* Credit
|
|
1684
|
+
*/
|
|
1685
|
+
'Credit'?: number | null;
|
|
1686
|
+
}
|
|
1669
1687
|
/**
|
|
1670
1688
|
* CRM Activities Response
|
|
1671
1689
|
*/
|
|
@@ -2579,6 +2597,9 @@ export interface GenericFileModel {
|
|
|
2579
2597
|
*/
|
|
2580
2598
|
'type'?: string;
|
|
2581
2599
|
}
|
|
2600
|
+
export interface GetCheckMacExists200Response {
|
|
2601
|
+
'found'?: boolean;
|
|
2602
|
+
}
|
|
2582
2603
|
export interface GetGetPrice200Response {
|
|
2583
2604
|
'price'?: number;
|
|
2584
2605
|
}
|
|
@@ -3245,6 +3266,19 @@ export interface MFARequiredModel {
|
|
|
3245
3266
|
*/
|
|
3246
3267
|
'png'?: string;
|
|
3247
3268
|
}
|
|
3269
|
+
/**
|
|
3270
|
+
* MAC Address DTO
|
|
3271
|
+
*/
|
|
3272
|
+
export interface MacAddressDTO {
|
|
3273
|
+
/**
|
|
3274
|
+
* Group ID
|
|
3275
|
+
*/
|
|
3276
|
+
'groupId'?: number;
|
|
3277
|
+
/**
|
|
3278
|
+
* MAC Address
|
|
3279
|
+
*/
|
|
3280
|
+
'macAddress'?: string;
|
|
3281
|
+
}
|
|
3248
3282
|
/**
|
|
3249
3283
|
* Monthly Contract Usage
|
|
3250
3284
|
*/
|
|
@@ -4355,6 +4389,10 @@ export interface PartnerDTO {
|
|
|
4355
4389
|
* Aligned
|
|
4356
4390
|
*/
|
|
4357
4391
|
'aligned'?: boolean;
|
|
4392
|
+
/**
|
|
4393
|
+
* Customer
|
|
4394
|
+
*/
|
|
4395
|
+
'customer'?: AccountSummaryDTO | null;
|
|
4358
4396
|
}
|
|
4359
4397
|
export interface PatchUpdateAccountCnameRequest {
|
|
4360
4398
|
/**
|
|
@@ -12222,6 +12260,36 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12222
12260
|
options: localVarRequestOptions,
|
|
12223
12261
|
};
|
|
12224
12262
|
},
|
|
12263
|
+
/**
|
|
12264
|
+
* Get 3CX Credit Status
|
|
12265
|
+
* @summary Get 3CX Credit Status
|
|
12266
|
+
* @param {*} [options] Override http request option.
|
|
12267
|
+
* @throws {RequiredError}
|
|
12268
|
+
*/
|
|
12269
|
+
getGetTcxCreditStatus: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12270
|
+
const localVarPath = `/tcx/admin/credit`;
|
|
12271
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12272
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12273
|
+
let baseOptions;
|
|
12274
|
+
if (configuration) {
|
|
12275
|
+
baseOptions = configuration.baseOptions;
|
|
12276
|
+
}
|
|
12277
|
+
|
|
12278
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12279
|
+
const localVarHeaderParameter = {} as any;
|
|
12280
|
+
const localVarQueryParameter = {} as any;
|
|
12281
|
+
|
|
12282
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
12283
|
+
|
|
12284
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12285
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12286
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12287
|
+
|
|
12288
|
+
return {
|
|
12289
|
+
url: toPathString(localVarUrlObj),
|
|
12290
|
+
options: localVarRequestOptions,
|
|
12291
|
+
};
|
|
12292
|
+
},
|
|
12225
12293
|
/**
|
|
12226
12294
|
* Get 3CX Expiring Keys
|
|
12227
12295
|
* @summary Get 3CX Expiring Keys
|
|
@@ -12252,6 +12320,36 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12252
12320
|
options: localVarRequestOptions,
|
|
12253
12321
|
};
|
|
12254
12322
|
},
|
|
12323
|
+
/**
|
|
12324
|
+
* Get 3CX Partners
|
|
12325
|
+
* @summary Get 3CX Partners
|
|
12326
|
+
* @param {*} [options] Override http request option.
|
|
12327
|
+
* @throws {RequiredError}
|
|
12328
|
+
*/
|
|
12329
|
+
getGetTcxPartners: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12330
|
+
const localVarPath = `/tcx/admin/partners`;
|
|
12331
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12332
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12333
|
+
let baseOptions;
|
|
12334
|
+
if (configuration) {
|
|
12335
|
+
baseOptions = configuration.baseOptions;
|
|
12336
|
+
}
|
|
12337
|
+
|
|
12338
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12339
|
+
const localVarHeaderParameter = {} as any;
|
|
12340
|
+
const localVarQueryParameter = {} as any;
|
|
12341
|
+
|
|
12342
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
12343
|
+
|
|
12344
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12345
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12346
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12347
|
+
|
|
12348
|
+
return {
|
|
12349
|
+
url: toPathString(localVarUrlObj),
|
|
12350
|
+
options: localVarRequestOptions,
|
|
12351
|
+
};
|
|
12352
|
+
},
|
|
12255
12353
|
/**
|
|
12256
12354
|
* Get Bulk 3CX Licence Details
|
|
12257
12355
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -12307,6 +12405,18 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
12307
12405
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
|
|
12308
12406
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12309
12407
|
},
|
|
12408
|
+
/**
|
|
12409
|
+
* Get 3CX Credit Status
|
|
12410
|
+
* @summary Get 3CX Credit Status
|
|
12411
|
+
* @param {*} [options] Override http request option.
|
|
12412
|
+
* @throws {RequiredError}
|
|
12413
|
+
*/
|
|
12414
|
+
async getGetTcxCreditStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreditStatusDTO>> {
|
|
12415
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxCreditStatus(options);
|
|
12416
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12417
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxCreditStatus']?.[localVarOperationServerIndex]?.url;
|
|
12418
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12419
|
+
},
|
|
12310
12420
|
/**
|
|
12311
12421
|
* Get 3CX Expiring Keys
|
|
12312
12422
|
* @summary Get 3CX Expiring Keys
|
|
@@ -12319,6 +12429,18 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
12319
12429
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxExpiringKeys']?.[localVarOperationServerIndex]?.url;
|
|
12320
12430
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12321
12431
|
},
|
|
12432
|
+
/**
|
|
12433
|
+
* Get 3CX Partners
|
|
12434
|
+
* @summary Get 3CX Partners
|
|
12435
|
+
* @param {*} [options] Override http request option.
|
|
12436
|
+
* @throws {RequiredError}
|
|
12437
|
+
*/
|
|
12438
|
+
async getGetTcxPartners(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PartnerDTO>>> {
|
|
12439
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxPartners(options);
|
|
12440
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12441
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxPartners']?.[localVarOperationServerIndex]?.url;
|
|
12442
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12443
|
+
},
|
|
12322
12444
|
/**
|
|
12323
12445
|
* Get Bulk 3CX Licence Details
|
|
12324
12446
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -12351,6 +12473,15 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
12351
12473
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
|
|
12352
12474
|
return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
|
|
12353
12475
|
},
|
|
12476
|
+
/**
|
|
12477
|
+
* Get 3CX Credit Status
|
|
12478
|
+
* @summary Get 3CX Credit Status
|
|
12479
|
+
* @param {*} [options] Override http request option.
|
|
12480
|
+
* @throws {RequiredError}
|
|
12481
|
+
*/
|
|
12482
|
+
getGetTcxCreditStatus(options?: RawAxiosRequestConfig): AxiosPromise<CreditStatusDTO> {
|
|
12483
|
+
return localVarFp.getGetTcxCreditStatus(options).then((request) => request(axios, basePath));
|
|
12484
|
+
},
|
|
12354
12485
|
/**
|
|
12355
12486
|
* Get 3CX Expiring Keys
|
|
12356
12487
|
* @summary Get 3CX Expiring Keys
|
|
@@ -12360,6 +12491,15 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
12360
12491
|
getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
12361
12492
|
return localVarFp.getGetTcxExpiringKeys(options).then((request) => request(axios, basePath));
|
|
12362
12493
|
},
|
|
12494
|
+
/**
|
|
12495
|
+
* Get 3CX Partners
|
|
12496
|
+
* @summary Get 3CX Partners
|
|
12497
|
+
* @param {*} [options] Override http request option.
|
|
12498
|
+
* @throws {RequiredError}
|
|
12499
|
+
*/
|
|
12500
|
+
getGetTcxPartners(options?: RawAxiosRequestConfig): AxiosPromise<Array<PartnerDTO>> {
|
|
12501
|
+
return localVarFp.getGetTcxPartners(options).then((request) => request(axios, basePath));
|
|
12502
|
+
},
|
|
12363
12503
|
/**
|
|
12364
12504
|
* Get Bulk 3CX Licence Details
|
|
12365
12505
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -12388,6 +12528,16 @@ export class Class3CXApi extends BaseAPI {
|
|
|
12388
12528
|
return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
|
|
12389
12529
|
}
|
|
12390
12530
|
|
|
12531
|
+
/**
|
|
12532
|
+
* Get 3CX Credit Status
|
|
12533
|
+
* @summary Get 3CX Credit Status
|
|
12534
|
+
* @param {*} [options] Override http request option.
|
|
12535
|
+
* @throws {RequiredError}
|
|
12536
|
+
*/
|
|
12537
|
+
public getGetTcxCreditStatus(options?: RawAxiosRequestConfig) {
|
|
12538
|
+
return Class3CXApiFp(this.configuration).getGetTcxCreditStatus(options).then((request) => request(this.axios, this.basePath));
|
|
12539
|
+
}
|
|
12540
|
+
|
|
12391
12541
|
/**
|
|
12392
12542
|
* Get 3CX Expiring Keys
|
|
12393
12543
|
* @summary Get 3CX Expiring Keys
|
|
@@ -12398,6 +12548,16 @@ export class Class3CXApi extends BaseAPI {
|
|
|
12398
12548
|
return Class3CXApiFp(this.configuration).getGetTcxExpiringKeys(options).then((request) => request(this.axios, this.basePath));
|
|
12399
12549
|
}
|
|
12400
12550
|
|
|
12551
|
+
/**
|
|
12552
|
+
* Get 3CX Partners
|
|
12553
|
+
* @summary Get 3CX Partners
|
|
12554
|
+
* @param {*} [options] Override http request option.
|
|
12555
|
+
* @throws {RequiredError}
|
|
12556
|
+
*/
|
|
12557
|
+
public getGetTcxPartners(options?: RawAxiosRequestConfig) {
|
|
12558
|
+
return Class3CXApiFp(this.configuration).getGetTcxPartners(options).then((request) => request(this.axios, this.basePath));
|
|
12559
|
+
}
|
|
12560
|
+
|
|
12401
12561
|
/**
|
|
12402
12562
|
* Get Bulk 3CX Licence Details
|
|
12403
12563
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -22127,6 +22287,7 @@ export const GetGetPriceListTypeEnum = {
|
|
|
22127
22287
|
Sms: 'SMS',
|
|
22128
22288
|
SipTrunks: 'SIP Trunks',
|
|
22129
22289
|
CrmIntegrations: 'CRM Integrations',
|
|
22290
|
+
Jedware: 'Jedware',
|
|
22130
22291
|
} as const;
|
|
22131
22292
|
export type GetGetPriceListTypeEnum = typeof GetGetPriceListTypeEnum[keyof typeof GetGetPriceListTypeEnum];
|
|
22132
22293
|
export const GetGetPriceListFormatEnum = {
|
|
@@ -22170,6 +22331,7 @@ export const PostSendPriceListTypeEnum = {
|
|
|
22170
22331
|
Sms: 'SMS',
|
|
22171
22332
|
SipTrunks: 'SIP Trunks',
|
|
22172
22333
|
CrmIntegrations: 'CRM Integrations',
|
|
22334
|
+
Jedware: 'Jedware',
|
|
22173
22335
|
} as const;
|
|
22174
22336
|
export type PostSendPriceListTypeEnum = typeof PostSendPriceListTypeEnum[keyof typeof PostSendPriceListTypeEnum];
|
|
22175
22337
|
export const PostSendPriceListFormatEnum = {
|
|
@@ -23298,6 +23460,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23298
23460
|
const localVarQueryParameter = {} as any;
|
|
23299
23461
|
|
|
23300
23462
|
|
|
23463
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23464
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23465
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23466
|
+
|
|
23467
|
+
return {
|
|
23468
|
+
url: toPathString(localVarUrlObj),
|
|
23469
|
+
options: localVarRequestOptions,
|
|
23470
|
+
};
|
|
23471
|
+
},
|
|
23472
|
+
/**
|
|
23473
|
+
* Delete a MAC address in FDPS
|
|
23474
|
+
* @param {string} mac MAC Address
|
|
23475
|
+
* @param {*} [options] Override http request option.
|
|
23476
|
+
* @throws {RequiredError}
|
|
23477
|
+
*/
|
|
23478
|
+
deleteCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23479
|
+
// verify required parameter 'mac' is not null or undefined
|
|
23480
|
+
assertParamExists('deleteCheckMacExists', 'mac', mac)
|
|
23481
|
+
const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
|
|
23482
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
23483
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23484
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23485
|
+
let baseOptions;
|
|
23486
|
+
if (configuration) {
|
|
23487
|
+
baseOptions = configuration.baseOptions;
|
|
23488
|
+
}
|
|
23489
|
+
|
|
23490
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
23491
|
+
const localVarHeaderParameter = {} as any;
|
|
23492
|
+
const localVarQueryParameter = {} as any;
|
|
23493
|
+
|
|
23494
|
+
|
|
23301
23495
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23302
23496
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23303
23497
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23331,6 +23525,39 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23331
23525
|
const localVarQueryParameter = {} as any;
|
|
23332
23526
|
|
|
23333
23527
|
|
|
23528
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23529
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23530
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23531
|
+
|
|
23532
|
+
return {
|
|
23533
|
+
url: toPathString(localVarUrlObj),
|
|
23534
|
+
options: localVarRequestOptions,
|
|
23535
|
+
};
|
|
23536
|
+
},
|
|
23537
|
+
/**
|
|
23538
|
+
* Check if a MAC address exists in FDPS
|
|
23539
|
+
* @param {string} mac MAC Address
|
|
23540
|
+
* @param {*} [options] Override http request option.
|
|
23541
|
+
* @throws {RequiredError}
|
|
23542
|
+
*/
|
|
23543
|
+
getCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23544
|
+
// verify required parameter 'mac' is not null or undefined
|
|
23545
|
+
assertParamExists('getCheckMacExists', 'mac', mac)
|
|
23546
|
+
const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
|
|
23547
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
23548
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23549
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23550
|
+
let baseOptions;
|
|
23551
|
+
if (configuration) {
|
|
23552
|
+
baseOptions = configuration.baseOptions;
|
|
23553
|
+
}
|
|
23554
|
+
|
|
23555
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23556
|
+
const localVarHeaderParameter = {} as any;
|
|
23557
|
+
const localVarQueryParameter = {} as any;
|
|
23558
|
+
|
|
23559
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23560
|
+
|
|
23334
23561
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23335
23562
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23336
23563
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23508,6 +23735,35 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23508
23735
|
const localVarQueryParameter = {} as any;
|
|
23509
23736
|
|
|
23510
23737
|
|
|
23738
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23739
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23740
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23741
|
+
|
|
23742
|
+
return {
|
|
23743
|
+
url: toPathString(localVarUrlObj),
|
|
23744
|
+
options: localVarRequestOptions,
|
|
23745
|
+
};
|
|
23746
|
+
},
|
|
23747
|
+
/**
|
|
23748
|
+
* Create a MAC address in FDPS
|
|
23749
|
+
* @param {*} [options] Override http request option.
|
|
23750
|
+
* @throws {RequiredError}
|
|
23751
|
+
*/
|
|
23752
|
+
postCreateMac: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23753
|
+
const localVarPath = `/admin/provisioning/fanvil/macs/`;
|
|
23754
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23755
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23756
|
+
let baseOptions;
|
|
23757
|
+
if (configuration) {
|
|
23758
|
+
baseOptions = configuration.baseOptions;
|
|
23759
|
+
}
|
|
23760
|
+
|
|
23761
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23762
|
+
const localVarHeaderParameter = {} as any;
|
|
23763
|
+
const localVarQueryParameter = {} as any;
|
|
23764
|
+
|
|
23765
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23766
|
+
|
|
23511
23767
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23512
23768
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23513
23769
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23540,6 +23796,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23540
23796
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteAddFanvilMac']?.[localVarOperationServerIndex]?.url;
|
|
23541
23797
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23542
23798
|
},
|
|
23799
|
+
/**
|
|
23800
|
+
* Delete a MAC address in FDPS
|
|
23801
|
+
* @param {string} mac MAC Address
|
|
23802
|
+
* @param {*} [options] Override http request option.
|
|
23803
|
+
* @throws {RequiredError}
|
|
23804
|
+
*/
|
|
23805
|
+
async deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23806
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCheckMacExists(mac, options);
|
|
23807
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23808
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteCheckMacExists']?.[localVarOperationServerIndex]?.url;
|
|
23809
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23810
|
+
},
|
|
23543
23811
|
/**
|
|
23544
23812
|
* Delete a Fanvil provisioning group
|
|
23545
23813
|
* @summary Delete group from DB and FDPS
|
|
@@ -23553,6 +23821,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23553
23821
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteDeleteFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
23554
23822
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23555
23823
|
},
|
|
23824
|
+
/**
|
|
23825
|
+
* Check if a MAC address exists in FDPS
|
|
23826
|
+
* @param {string} mac MAC Address
|
|
23827
|
+
* @param {*} [options] Override http request option.
|
|
23828
|
+
* @throws {RequiredError}
|
|
23829
|
+
*/
|
|
23830
|
+
async getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCheckMacExists200Response>> {
|
|
23831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCheckMacExists(mac, options);
|
|
23832
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23833
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getCheckMacExists']?.[localVarOperationServerIndex]?.url;
|
|
23834
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23835
|
+
},
|
|
23556
23836
|
/**
|
|
23557
23837
|
* Get group Fanvil encryption key
|
|
23558
23838
|
* @summary Get group Fanvil encryption key
|
|
@@ -23620,6 +23900,17 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23620
23900
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilMac']?.[localVarOperationServerIndex]?.url;
|
|
23621
23901
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23622
23902
|
},
|
|
23903
|
+
/**
|
|
23904
|
+
* Create a MAC address in FDPS
|
|
23905
|
+
* @param {*} [options] Override http request option.
|
|
23906
|
+
* @throws {RequiredError}
|
|
23907
|
+
*/
|
|
23908
|
+
async postCreateMac(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacAddressDTO>> {
|
|
23909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateMac(options);
|
|
23910
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23911
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postCreateMac']?.[localVarOperationServerIndex]?.url;
|
|
23912
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23913
|
+
},
|
|
23623
23914
|
}
|
|
23624
23915
|
};
|
|
23625
23916
|
|
|
@@ -23640,6 +23931,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23640
23931
|
deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23641
23932
|
return localVarFp.deleteAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
|
|
23642
23933
|
},
|
|
23934
|
+
/**
|
|
23935
|
+
* Delete a MAC address in FDPS
|
|
23936
|
+
* @param {string} mac MAC Address
|
|
23937
|
+
* @param {*} [options] Override http request option.
|
|
23938
|
+
* @throws {RequiredError}
|
|
23939
|
+
*/
|
|
23940
|
+
deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23941
|
+
return localVarFp.deleteCheckMacExists(mac, options).then((request) => request(axios, basePath));
|
|
23942
|
+
},
|
|
23643
23943
|
/**
|
|
23644
23944
|
* Delete a Fanvil provisioning group
|
|
23645
23945
|
* @summary Delete group from DB and FDPS
|
|
@@ -23650,6 +23950,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23650
23950
|
deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23651
23951
|
return localVarFp.deleteDeleteFanvilGroup(id, options).then((request) => request(axios, basePath));
|
|
23652
23952
|
},
|
|
23953
|
+
/**
|
|
23954
|
+
* Check if a MAC address exists in FDPS
|
|
23955
|
+
* @param {string} mac MAC Address
|
|
23956
|
+
* @param {*} [options] Override http request option.
|
|
23957
|
+
* @throws {RequiredError}
|
|
23958
|
+
*/
|
|
23959
|
+
getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<GetCheckMacExists200Response> {
|
|
23960
|
+
return localVarFp.getCheckMacExists(mac, options).then((request) => request(axios, basePath));
|
|
23961
|
+
},
|
|
23653
23962
|
/**
|
|
23654
23963
|
* Get group Fanvil encryption key
|
|
23655
23964
|
* @summary Get group Fanvil encryption key
|
|
@@ -23702,6 +24011,14 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23702
24011
|
postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23703
24012
|
return localVarFp.postAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
|
|
23704
24013
|
},
|
|
24014
|
+
/**
|
|
24015
|
+
* Create a MAC address in FDPS
|
|
24016
|
+
* @param {*} [options] Override http request option.
|
|
24017
|
+
* @throws {RequiredError}
|
|
24018
|
+
*/
|
|
24019
|
+
postCreateMac(options?: RawAxiosRequestConfig): AxiosPromise<MacAddressDTO> {
|
|
24020
|
+
return localVarFp.postCreateMac(options).then((request) => request(axios, basePath));
|
|
24021
|
+
},
|
|
23705
24022
|
};
|
|
23706
24023
|
};
|
|
23707
24024
|
|
|
@@ -23721,6 +24038,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
23721
24038
|
return ProvisioningApiFp(this.configuration).deleteAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
|
|
23722
24039
|
}
|
|
23723
24040
|
|
|
24041
|
+
/**
|
|
24042
|
+
* Delete a MAC address in FDPS
|
|
24043
|
+
* @param {string} mac MAC Address
|
|
24044
|
+
* @param {*} [options] Override http request option.
|
|
24045
|
+
* @throws {RequiredError}
|
|
24046
|
+
*/
|
|
24047
|
+
public deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
|
|
24048
|
+
return ProvisioningApiFp(this.configuration).deleteCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
|
|
24049
|
+
}
|
|
24050
|
+
|
|
23724
24051
|
/**
|
|
23725
24052
|
* Delete a Fanvil provisioning group
|
|
23726
24053
|
* @summary Delete group from DB and FDPS
|
|
@@ -23732,6 +24059,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
23732
24059
|
return ProvisioningApiFp(this.configuration).deleteDeleteFanvilGroup(id, options).then((request) => request(this.axios, this.basePath));
|
|
23733
24060
|
}
|
|
23734
24061
|
|
|
24062
|
+
/**
|
|
24063
|
+
* Check if a MAC address exists in FDPS
|
|
24064
|
+
* @param {string} mac MAC Address
|
|
24065
|
+
* @param {*} [options] Override http request option.
|
|
24066
|
+
* @throws {RequiredError}
|
|
24067
|
+
*/
|
|
24068
|
+
public getCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
|
|
24069
|
+
return ProvisioningApiFp(this.configuration).getCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
|
|
24070
|
+
}
|
|
24071
|
+
|
|
23735
24072
|
/**
|
|
23736
24073
|
* Get group Fanvil encryption key
|
|
23737
24074
|
* @summary Get group Fanvil encryption key
|
|
@@ -23788,6 +24125,15 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
23788
24125
|
public postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig) {
|
|
23789
24126
|
return ProvisioningApiFp(this.configuration).postAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
|
|
23790
24127
|
}
|
|
24128
|
+
|
|
24129
|
+
/**
|
|
24130
|
+
* Create a MAC address in FDPS
|
|
24131
|
+
* @param {*} [options] Override http request option.
|
|
24132
|
+
* @throws {RequiredError}
|
|
24133
|
+
*/
|
|
24134
|
+
public postCreateMac(options?: RawAxiosRequestConfig) {
|
|
24135
|
+
return ProvisioningApiFp(this.configuration).postCreateMac(options).then((request) => request(this.axios, this.basePath));
|
|
24136
|
+
}
|
|
23791
24137
|
}
|
|
23792
24138
|
|
|
23793
24139
|
|