yellowgrid-api-ts 3.2.200 → 3.2.201
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 +2 -0
- package/README.md +5 -0
- package/api.ts +206 -0
- package/dist/api.d.ts +100 -0
- package/dist/api.js +232 -0
- package/docs/GetCheckMacExists200Response.md +20 -0
- package/docs/MacAddressDTO.md +23 -0
- package/docs/ProvisioningApi.md +166 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -92,6 +92,7 @@ docs/FreshdeskCompanyTicketsModel.md
|
|
|
92
92
|
docs/FreshdeskTicketEntity.md
|
|
93
93
|
docs/FtpAccountsEntity.md
|
|
94
94
|
docs/GenericFileModel.md
|
|
95
|
+
docs/GetCheckMacExists200Response.md
|
|
95
96
|
docs/GetGetPrice200Response.md
|
|
96
97
|
docs/GetGetRecording200Response.md
|
|
97
98
|
docs/HostingChangeResponseModel.md
|
|
@@ -111,6 +112,7 @@ docs/ItemDiscountEntity.md
|
|
|
111
112
|
docs/ItemEntity.md
|
|
112
113
|
docs/LinkedOrderEntity.md
|
|
113
114
|
docs/MFARequiredModel.md
|
|
115
|
+
docs/MacAddressDTO.md
|
|
114
116
|
docs/MonthlyUsageModel.md
|
|
115
117
|
docs/MultiTenantChangeResponseModel.md
|
|
116
118
|
docs/MyPBXToolsApi.md
|
package/README.md
CHANGED
|
@@ -243,12 +243,15 @@ Class | Method | HTTP request | Description
|
|
|
243
243
|
*ProspectsApi* | [**getRemoveFromProspects**](docs/ProspectsApi.md#getremovefromprospects) | **GET** /accounts/prospects/{xero_id}/remove | Remove From Prospects
|
|
244
244
|
*ProspectsApi* | [**getSetCallback**](docs/ProspectsApi.md#getsetcallback) | **GET** /accounts/prospects/{xero_id}/date | Set Call Back Date
|
|
245
245
|
*ProvisioningApi* | [**deleteAddFanvilMac**](docs/ProvisioningApi.md#deleteaddfanvilmac) | **DELETE** /provisioning/fanvil/groups/{id}/macs/{mac} | Remove MAC address from DB and FDPS group
|
|
246
|
+
*ProvisioningApi* | [**deleteCheckMacExists**](docs/ProvisioningApi.md#deletecheckmacexists) | **DELETE** /admin/provisioning/fanvil/macs/{mac} |
|
|
246
247
|
*ProvisioningApi* | [**deleteDeleteFanvilGroup**](docs/ProvisioningApi.md#deletedeletefanvilgroup) | **DELETE** /provisioning/fanvil/groups/{id} | Delete group from DB and FDPS
|
|
248
|
+
*ProvisioningApi* | [**getCheckMacExists**](docs/ProvisioningApi.md#getcheckmacexists) | **GET** /admin/provisioning/fanvil/macs/{mac} |
|
|
247
249
|
*ProvisioningApi* | [**getGetFanvilEncryptionKey**](docs/ProvisioningApi.md#getgetfanvilencryptionkey) | **GET** /provisioning/fanvil/groups/{id}/macs/{mac}/key | Get group Fanvil encryption key
|
|
248
250
|
*ProvisioningApi* | [**getGetFanvilGroupMacs**](docs/ProvisioningApi.md#getgetfanvilgroupmacs) | **GET** /provisioning/fanvil/groups/{id}/macs | Get MAC addresses on group at FDPS
|
|
249
251
|
*ProvisioningApi* | [**getGetGroups**](docs/ProvisioningApi.md#getgetgroups) | **GET** /provisioning/groups | Get all provisioning groups or filter by customer ID
|
|
250
252
|
*ProvisioningApi* | [**postAddFanvilGroup**](docs/ProvisioningApi.md#postaddfanvilgroup) | **POST** /provisioning/fanvil/groups | Add group to DB and FDPS
|
|
251
253
|
*ProvisioningApi* | [**postAddFanvilMac**](docs/ProvisioningApi.md#postaddfanvilmac) | **POST** /provisioning/fanvil/groups/{id}/macs/{mac} | Add MAC address to DB and FDPS group
|
|
254
|
+
*ProvisioningApi* | [**postCreateMac**](docs/ProvisioningApi.md#postcreatemac) | **POST** /admin/provisioning/fanvil/macs |
|
|
252
255
|
*SIPTrunksApi* | [**deleteGetSipTrunk**](docs/SIPTrunksApi.md#deletegetsiptrunk) | **DELETE** /sip/trunks/{id} | Delete SIP Trunk
|
|
253
256
|
*SIPTrunksApi* | [**getCanDivert**](docs/SIPTrunksApi.md#getcandivert) | **GET** /sip/trunks/{id}/diverts/allowed | SIP Trunk Diverts Allowed
|
|
254
257
|
*SIPTrunksApi* | [**getGetAddress**](docs/SIPTrunksApi.md#getgetaddress) | **GET** /sip/trunks/{id}/address | Get SIP Trunk Address
|
|
@@ -397,6 +400,7 @@ Class | Method | HTTP request | Description
|
|
|
397
400
|
- [FreshdeskTicketEntity](docs/FreshdeskTicketEntity.md)
|
|
398
401
|
- [FtpAccountsEntity](docs/FtpAccountsEntity.md)
|
|
399
402
|
- [GenericFileModel](docs/GenericFileModel.md)
|
|
403
|
+
- [GetCheckMacExists200Response](docs/GetCheckMacExists200Response.md)
|
|
400
404
|
- [GetGetPrice200Response](docs/GetGetPrice200Response.md)
|
|
401
405
|
- [GetGetRecording200Response](docs/GetGetRecording200Response.md)
|
|
402
406
|
- [HostingChangeResponseModel](docs/HostingChangeResponseModel.md)
|
|
@@ -416,6 +420,7 @@ Class | Method | HTTP request | Description
|
|
|
416
420
|
- [ItemEntity](docs/ItemEntity.md)
|
|
417
421
|
- [LinkedOrderEntity](docs/LinkedOrderEntity.md)
|
|
418
422
|
- [MFARequiredModel](docs/MFARequiredModel.md)
|
|
423
|
+
- [MacAddressDTO](docs/MacAddressDTO.md)
|
|
419
424
|
- [MonthlyUsageModel](docs/MonthlyUsageModel.md)
|
|
420
425
|
- [MultiTenantChangeResponseModel](docs/MultiTenantChangeResponseModel.md)
|
|
421
426
|
- [NavigationModel](docs/NavigationModel.md)
|
package/api.ts
CHANGED
|
@@ -2619,6 +2619,9 @@ export interface GenericFileModel {
|
|
|
2619
2619
|
*/
|
|
2620
2620
|
'type'?: string;
|
|
2621
2621
|
}
|
|
2622
|
+
export interface GetCheckMacExists200Response {
|
|
2623
|
+
'found'?: boolean;
|
|
2624
|
+
}
|
|
2622
2625
|
export interface GetGetPrice200Response {
|
|
2623
2626
|
'price'?: number;
|
|
2624
2627
|
}
|
|
@@ -3285,6 +3288,19 @@ export interface MFARequiredModel {
|
|
|
3285
3288
|
*/
|
|
3286
3289
|
'png'?: string;
|
|
3287
3290
|
}
|
|
3291
|
+
/**
|
|
3292
|
+
* MAC Address DTO
|
|
3293
|
+
*/
|
|
3294
|
+
export interface MacAddressDTO {
|
|
3295
|
+
/**
|
|
3296
|
+
* Group ID
|
|
3297
|
+
*/
|
|
3298
|
+
'groupId'?: number;
|
|
3299
|
+
/**
|
|
3300
|
+
* MAC Address
|
|
3301
|
+
*/
|
|
3302
|
+
'macAddress'?: string;
|
|
3303
|
+
}
|
|
3288
3304
|
/**
|
|
3289
3305
|
* Monthly Contract Usage
|
|
3290
3306
|
*/
|
|
@@ -23578,6 +23594,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23578
23594
|
const localVarQueryParameter = {} as any;
|
|
23579
23595
|
|
|
23580
23596
|
|
|
23597
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23598
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23599
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23600
|
+
|
|
23601
|
+
return {
|
|
23602
|
+
url: toPathString(localVarUrlObj),
|
|
23603
|
+
options: localVarRequestOptions,
|
|
23604
|
+
};
|
|
23605
|
+
},
|
|
23606
|
+
/**
|
|
23607
|
+
* Delete a MAC address in FDPS
|
|
23608
|
+
* @param {string} mac MAC Address
|
|
23609
|
+
* @param {*} [options] Override http request option.
|
|
23610
|
+
* @throws {RequiredError}
|
|
23611
|
+
*/
|
|
23612
|
+
deleteCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23613
|
+
// verify required parameter 'mac' is not null or undefined
|
|
23614
|
+
assertParamExists('deleteCheckMacExists', 'mac', mac)
|
|
23615
|
+
const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
|
|
23616
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
23617
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23618
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23619
|
+
let baseOptions;
|
|
23620
|
+
if (configuration) {
|
|
23621
|
+
baseOptions = configuration.baseOptions;
|
|
23622
|
+
}
|
|
23623
|
+
|
|
23624
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
23625
|
+
const localVarHeaderParameter = {} as any;
|
|
23626
|
+
const localVarQueryParameter = {} as any;
|
|
23627
|
+
|
|
23628
|
+
|
|
23581
23629
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23582
23630
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23583
23631
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23611,6 +23659,39 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23611
23659
|
const localVarQueryParameter = {} as any;
|
|
23612
23660
|
|
|
23613
23661
|
|
|
23662
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23663
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23664
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23665
|
+
|
|
23666
|
+
return {
|
|
23667
|
+
url: toPathString(localVarUrlObj),
|
|
23668
|
+
options: localVarRequestOptions,
|
|
23669
|
+
};
|
|
23670
|
+
},
|
|
23671
|
+
/**
|
|
23672
|
+
* Check if a MAC address exists in FDPS
|
|
23673
|
+
* @param {string} mac MAC Address
|
|
23674
|
+
* @param {*} [options] Override http request option.
|
|
23675
|
+
* @throws {RequiredError}
|
|
23676
|
+
*/
|
|
23677
|
+
getCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23678
|
+
// verify required parameter 'mac' is not null or undefined
|
|
23679
|
+
assertParamExists('getCheckMacExists', 'mac', mac)
|
|
23680
|
+
const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
|
|
23681
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
23682
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23683
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23684
|
+
let baseOptions;
|
|
23685
|
+
if (configuration) {
|
|
23686
|
+
baseOptions = configuration.baseOptions;
|
|
23687
|
+
}
|
|
23688
|
+
|
|
23689
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23690
|
+
const localVarHeaderParameter = {} as any;
|
|
23691
|
+
const localVarQueryParameter = {} as any;
|
|
23692
|
+
|
|
23693
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23694
|
+
|
|
23614
23695
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23615
23696
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23616
23697
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23792,6 +23873,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
|
|
|
23792
23873
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23793
23874
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23794
23875
|
|
|
23876
|
+
return {
|
|
23877
|
+
url: toPathString(localVarUrlObj),
|
|
23878
|
+
options: localVarRequestOptions,
|
|
23879
|
+
};
|
|
23880
|
+
},
|
|
23881
|
+
/**
|
|
23882
|
+
* Create a MAC address in FDPS
|
|
23883
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
23884
|
+
* @param {*} [options] Override http request option.
|
|
23885
|
+
* @throws {RequiredError}
|
|
23886
|
+
*/
|
|
23887
|
+
postCreateMac: async (macAddressDTO?: MacAddressDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23888
|
+
const localVarPath = `/admin/provisioning/fanvil/macs`;
|
|
23889
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23890
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23891
|
+
let baseOptions;
|
|
23892
|
+
if (configuration) {
|
|
23893
|
+
baseOptions = configuration.baseOptions;
|
|
23894
|
+
}
|
|
23895
|
+
|
|
23896
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23897
|
+
const localVarHeaderParameter = {} as any;
|
|
23898
|
+
const localVarQueryParameter = {} as any;
|
|
23899
|
+
|
|
23900
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23901
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23902
|
+
|
|
23903
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23904
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23905
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23906
|
+
localVarRequestOptions.data = serializeDataIfNeeded(macAddressDTO, localVarRequestOptions, configuration)
|
|
23907
|
+
|
|
23795
23908
|
return {
|
|
23796
23909
|
url: toPathString(localVarUrlObj),
|
|
23797
23910
|
options: localVarRequestOptions,
|
|
@@ -23820,6 +23933,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23820
23933
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteAddFanvilMac']?.[localVarOperationServerIndex]?.url;
|
|
23821
23934
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23822
23935
|
},
|
|
23936
|
+
/**
|
|
23937
|
+
* Delete a MAC address in FDPS
|
|
23938
|
+
* @param {string} mac MAC Address
|
|
23939
|
+
* @param {*} [options] Override http request option.
|
|
23940
|
+
* @throws {RequiredError}
|
|
23941
|
+
*/
|
|
23942
|
+
async deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCheckMacExists(mac, options);
|
|
23944
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23945
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteCheckMacExists']?.[localVarOperationServerIndex]?.url;
|
|
23946
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23947
|
+
},
|
|
23823
23948
|
/**
|
|
23824
23949
|
* Delete a Fanvil provisioning group
|
|
23825
23950
|
* @summary Delete group from DB and FDPS
|
|
@@ -23833,6 +23958,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23833
23958
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteDeleteFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
23834
23959
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23835
23960
|
},
|
|
23961
|
+
/**
|
|
23962
|
+
* Check if a MAC address exists in FDPS
|
|
23963
|
+
* @param {string} mac MAC Address
|
|
23964
|
+
* @param {*} [options] Override http request option.
|
|
23965
|
+
* @throws {RequiredError}
|
|
23966
|
+
*/
|
|
23967
|
+
async getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCheckMacExists200Response>> {
|
|
23968
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCheckMacExists(mac, options);
|
|
23969
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23970
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getCheckMacExists']?.[localVarOperationServerIndex]?.url;
|
|
23971
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23972
|
+
},
|
|
23836
23973
|
/**
|
|
23837
23974
|
* Get group Fanvil encryption key
|
|
23838
23975
|
* @summary Get group Fanvil encryption key
|
|
@@ -23900,6 +24037,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
23900
24037
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilMac']?.[localVarOperationServerIndex]?.url;
|
|
23901
24038
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23902
24039
|
},
|
|
24040
|
+
/**
|
|
24041
|
+
* Create a MAC address in FDPS
|
|
24042
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
24043
|
+
* @param {*} [options] Override http request option.
|
|
24044
|
+
* @throws {RequiredError}
|
|
24045
|
+
*/
|
|
24046
|
+
async postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacAddressDTO>> {
|
|
24047
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateMac(macAddressDTO, options);
|
|
24048
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24049
|
+
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postCreateMac']?.[localVarOperationServerIndex]?.url;
|
|
24050
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24051
|
+
},
|
|
23903
24052
|
}
|
|
23904
24053
|
};
|
|
23905
24054
|
|
|
@@ -23920,6 +24069,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23920
24069
|
deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23921
24070
|
return localVarFp.deleteAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
|
|
23922
24071
|
},
|
|
24072
|
+
/**
|
|
24073
|
+
* Delete a MAC address in FDPS
|
|
24074
|
+
* @param {string} mac MAC Address
|
|
24075
|
+
* @param {*} [options] Override http request option.
|
|
24076
|
+
* @throws {RequiredError}
|
|
24077
|
+
*/
|
|
24078
|
+
deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24079
|
+
return localVarFp.deleteCheckMacExists(mac, options).then((request) => request(axios, basePath));
|
|
24080
|
+
},
|
|
23923
24081
|
/**
|
|
23924
24082
|
* Delete a Fanvil provisioning group
|
|
23925
24083
|
* @summary Delete group from DB and FDPS
|
|
@@ -23930,6 +24088,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23930
24088
|
deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23931
24089
|
return localVarFp.deleteDeleteFanvilGroup(id, options).then((request) => request(axios, basePath));
|
|
23932
24090
|
},
|
|
24091
|
+
/**
|
|
24092
|
+
* Check if a MAC address exists in FDPS
|
|
24093
|
+
* @param {string} mac MAC Address
|
|
24094
|
+
* @param {*} [options] Override http request option.
|
|
24095
|
+
* @throws {RequiredError}
|
|
24096
|
+
*/
|
|
24097
|
+
getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<GetCheckMacExists200Response> {
|
|
24098
|
+
return localVarFp.getCheckMacExists(mac, options).then((request) => request(axios, basePath));
|
|
24099
|
+
},
|
|
23933
24100
|
/**
|
|
23934
24101
|
* Get group Fanvil encryption key
|
|
23935
24102
|
* @summary Get group Fanvil encryption key
|
|
@@ -23982,6 +24149,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
23982
24149
|
postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23983
24150
|
return localVarFp.postAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
|
|
23984
24151
|
},
|
|
24152
|
+
/**
|
|
24153
|
+
* Create a MAC address in FDPS
|
|
24154
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
24155
|
+
* @param {*} [options] Override http request option.
|
|
24156
|
+
* @throws {RequiredError}
|
|
24157
|
+
*/
|
|
24158
|
+
postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<MacAddressDTO> {
|
|
24159
|
+
return localVarFp.postCreateMac(macAddressDTO, options).then((request) => request(axios, basePath));
|
|
24160
|
+
},
|
|
23985
24161
|
};
|
|
23986
24162
|
};
|
|
23987
24163
|
|
|
@@ -24001,6 +24177,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
24001
24177
|
return ProvisioningApiFp(this.configuration).deleteAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
|
|
24002
24178
|
}
|
|
24003
24179
|
|
|
24180
|
+
/**
|
|
24181
|
+
* Delete a MAC address in FDPS
|
|
24182
|
+
* @param {string} mac MAC Address
|
|
24183
|
+
* @param {*} [options] Override http request option.
|
|
24184
|
+
* @throws {RequiredError}
|
|
24185
|
+
*/
|
|
24186
|
+
public deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
|
|
24187
|
+
return ProvisioningApiFp(this.configuration).deleteCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
|
|
24188
|
+
}
|
|
24189
|
+
|
|
24004
24190
|
/**
|
|
24005
24191
|
* Delete a Fanvil provisioning group
|
|
24006
24192
|
* @summary Delete group from DB and FDPS
|
|
@@ -24012,6 +24198,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
24012
24198
|
return ProvisioningApiFp(this.configuration).deleteDeleteFanvilGroup(id, options).then((request) => request(this.axios, this.basePath));
|
|
24013
24199
|
}
|
|
24014
24200
|
|
|
24201
|
+
/**
|
|
24202
|
+
* Check if a MAC address exists in FDPS
|
|
24203
|
+
* @param {string} mac MAC Address
|
|
24204
|
+
* @param {*} [options] Override http request option.
|
|
24205
|
+
* @throws {RequiredError}
|
|
24206
|
+
*/
|
|
24207
|
+
public getCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
|
|
24208
|
+
return ProvisioningApiFp(this.configuration).getCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
|
|
24209
|
+
}
|
|
24210
|
+
|
|
24015
24211
|
/**
|
|
24016
24212
|
* Get group Fanvil encryption key
|
|
24017
24213
|
* @summary Get group Fanvil encryption key
|
|
@@ -24068,6 +24264,16 @@ export class ProvisioningApi extends BaseAPI {
|
|
|
24068
24264
|
public postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig) {
|
|
24069
24265
|
return ProvisioningApiFp(this.configuration).postAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
|
|
24070
24266
|
}
|
|
24267
|
+
|
|
24268
|
+
/**
|
|
24269
|
+
* Create a MAC address in FDPS
|
|
24270
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
24271
|
+
* @param {*} [options] Override http request option.
|
|
24272
|
+
* @throws {RequiredError}
|
|
24273
|
+
*/
|
|
24274
|
+
public postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig) {
|
|
24275
|
+
return ProvisioningApiFp(this.configuration).postCreateMac(macAddressDTO, options).then((request) => request(this.axios, this.basePath));
|
|
24276
|
+
}
|
|
24071
24277
|
}
|
|
24072
24278
|
|
|
24073
24279
|
|
package/dist/api.d.ts
CHANGED
|
@@ -2590,6 +2590,9 @@ export interface GenericFileModel {
|
|
|
2590
2590
|
*/
|
|
2591
2591
|
'type'?: string;
|
|
2592
2592
|
}
|
|
2593
|
+
export interface GetCheckMacExists200Response {
|
|
2594
|
+
'found'?: boolean;
|
|
2595
|
+
}
|
|
2593
2596
|
export interface GetGetPrice200Response {
|
|
2594
2597
|
'price'?: number;
|
|
2595
2598
|
}
|
|
@@ -3247,6 +3250,19 @@ export interface MFARequiredModel {
|
|
|
3247
3250
|
*/
|
|
3248
3251
|
'png'?: string;
|
|
3249
3252
|
}
|
|
3253
|
+
/**
|
|
3254
|
+
* MAC Address DTO
|
|
3255
|
+
*/
|
|
3256
|
+
export interface MacAddressDTO {
|
|
3257
|
+
/**
|
|
3258
|
+
* Group ID
|
|
3259
|
+
*/
|
|
3260
|
+
'groupId'?: number;
|
|
3261
|
+
/**
|
|
3262
|
+
* MAC Address
|
|
3263
|
+
*/
|
|
3264
|
+
'macAddress'?: string;
|
|
3265
|
+
}
|
|
3250
3266
|
/**
|
|
3251
3267
|
* Monthly Contract Usage
|
|
3252
3268
|
*/
|
|
@@ -15731,6 +15747,13 @@ export declare const ProvisioningApiAxiosParamCreator: (configuration?: Configur
|
|
|
15731
15747
|
* @throws {RequiredError}
|
|
15732
15748
|
*/
|
|
15733
15749
|
deleteAddFanvilMac: (id: string, mac: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15750
|
+
/**
|
|
15751
|
+
* Delete a MAC address in FDPS
|
|
15752
|
+
* @param {string} mac MAC Address
|
|
15753
|
+
* @param {*} [options] Override http request option.
|
|
15754
|
+
* @throws {RequiredError}
|
|
15755
|
+
*/
|
|
15756
|
+
deleteCheckMacExists: (mac: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15734
15757
|
/**
|
|
15735
15758
|
* Delete a Fanvil provisioning group
|
|
15736
15759
|
* @summary Delete group from DB and FDPS
|
|
@@ -15739,6 +15762,13 @@ export declare const ProvisioningApiAxiosParamCreator: (configuration?: Configur
|
|
|
15739
15762
|
* @throws {RequiredError}
|
|
15740
15763
|
*/
|
|
15741
15764
|
deleteDeleteFanvilGroup: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15765
|
+
/**
|
|
15766
|
+
* Check if a MAC address exists in FDPS
|
|
15767
|
+
* @param {string} mac MAC Address
|
|
15768
|
+
* @param {*} [options] Override http request option.
|
|
15769
|
+
* @throws {RequiredError}
|
|
15770
|
+
*/
|
|
15771
|
+
getCheckMacExists: (mac: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15742
15772
|
/**
|
|
15743
15773
|
* Get group Fanvil encryption key
|
|
15744
15774
|
* @summary Get group Fanvil encryption key
|
|
@@ -15781,6 +15811,13 @@ export declare const ProvisioningApiAxiosParamCreator: (configuration?: Configur
|
|
|
15781
15811
|
* @throws {RequiredError}
|
|
15782
15812
|
*/
|
|
15783
15813
|
postAddFanvilMac: (id: string, mac: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15814
|
+
/**
|
|
15815
|
+
* Create a MAC address in FDPS
|
|
15816
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
15817
|
+
* @param {*} [options] Override http request option.
|
|
15818
|
+
* @throws {RequiredError}
|
|
15819
|
+
*/
|
|
15820
|
+
postCreateMac: (macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15784
15821
|
};
|
|
15785
15822
|
/**
|
|
15786
15823
|
* ProvisioningApi - functional programming interface
|
|
@@ -15795,6 +15832,13 @@ export declare const ProvisioningApiFp: (configuration?: Configuration) => {
|
|
|
15795
15832
|
* @throws {RequiredError}
|
|
15796
15833
|
*/
|
|
15797
15834
|
deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
15835
|
+
/**
|
|
15836
|
+
* Delete a MAC address in FDPS
|
|
15837
|
+
* @param {string} mac MAC Address
|
|
15838
|
+
* @param {*} [options] Override http request option.
|
|
15839
|
+
* @throws {RequiredError}
|
|
15840
|
+
*/
|
|
15841
|
+
deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
15798
15842
|
/**
|
|
15799
15843
|
* Delete a Fanvil provisioning group
|
|
15800
15844
|
* @summary Delete group from DB and FDPS
|
|
@@ -15803,6 +15847,13 @@ export declare const ProvisioningApiFp: (configuration?: Configuration) => {
|
|
|
15803
15847
|
* @throws {RequiredError}
|
|
15804
15848
|
*/
|
|
15805
15849
|
deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
15850
|
+
/**
|
|
15851
|
+
* Check if a MAC address exists in FDPS
|
|
15852
|
+
* @param {string} mac MAC Address
|
|
15853
|
+
* @param {*} [options] Override http request option.
|
|
15854
|
+
* @throws {RequiredError}
|
|
15855
|
+
*/
|
|
15856
|
+
getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCheckMacExists200Response>>;
|
|
15806
15857
|
/**
|
|
15807
15858
|
* Get group Fanvil encryption key
|
|
15808
15859
|
* @summary Get group Fanvil encryption key
|
|
@@ -15845,6 +15896,13 @@ export declare const ProvisioningApiFp: (configuration?: Configuration) => {
|
|
|
15845
15896
|
* @throws {RequiredError}
|
|
15846
15897
|
*/
|
|
15847
15898
|
postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
15899
|
+
/**
|
|
15900
|
+
* Create a MAC address in FDPS
|
|
15901
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
15902
|
+
* @param {*} [options] Override http request option.
|
|
15903
|
+
* @throws {RequiredError}
|
|
15904
|
+
*/
|
|
15905
|
+
postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacAddressDTO>>;
|
|
15848
15906
|
};
|
|
15849
15907
|
/**
|
|
15850
15908
|
* ProvisioningApi - factory interface
|
|
@@ -15859,6 +15917,13 @@ export declare const ProvisioningApiFactory: (configuration?: Configuration, bas
|
|
|
15859
15917
|
* @throws {RequiredError}
|
|
15860
15918
|
*/
|
|
15861
15919
|
deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
15920
|
+
/**
|
|
15921
|
+
* Delete a MAC address in FDPS
|
|
15922
|
+
* @param {string} mac MAC Address
|
|
15923
|
+
* @param {*} [options] Override http request option.
|
|
15924
|
+
* @throws {RequiredError}
|
|
15925
|
+
*/
|
|
15926
|
+
deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
15862
15927
|
/**
|
|
15863
15928
|
* Delete a Fanvil provisioning group
|
|
15864
15929
|
* @summary Delete group from DB and FDPS
|
|
@@ -15867,6 +15932,13 @@ export declare const ProvisioningApiFactory: (configuration?: Configuration, bas
|
|
|
15867
15932
|
* @throws {RequiredError}
|
|
15868
15933
|
*/
|
|
15869
15934
|
deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
15935
|
+
/**
|
|
15936
|
+
* Check if a MAC address exists in FDPS
|
|
15937
|
+
* @param {string} mac MAC Address
|
|
15938
|
+
* @param {*} [options] Override http request option.
|
|
15939
|
+
* @throws {RequiredError}
|
|
15940
|
+
*/
|
|
15941
|
+
getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<GetCheckMacExists200Response>;
|
|
15870
15942
|
/**
|
|
15871
15943
|
* Get group Fanvil encryption key
|
|
15872
15944
|
* @summary Get group Fanvil encryption key
|
|
@@ -15909,6 +15981,13 @@ export declare const ProvisioningApiFactory: (configuration?: Configuration, bas
|
|
|
15909
15981
|
* @throws {RequiredError}
|
|
15910
15982
|
*/
|
|
15911
15983
|
postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
15984
|
+
/**
|
|
15985
|
+
* Create a MAC address in FDPS
|
|
15986
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
15987
|
+
* @param {*} [options] Override http request option.
|
|
15988
|
+
* @throws {RequiredError}
|
|
15989
|
+
*/
|
|
15990
|
+
postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<MacAddressDTO>;
|
|
15912
15991
|
};
|
|
15913
15992
|
/**
|
|
15914
15993
|
* ProvisioningApi - object-oriented interface
|
|
@@ -15923,6 +16002,13 @@ export declare class ProvisioningApi extends BaseAPI {
|
|
|
15923
16002
|
* @throws {RequiredError}
|
|
15924
16003
|
*/
|
|
15925
16004
|
deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
16005
|
+
/**
|
|
16006
|
+
* Delete a MAC address in FDPS
|
|
16007
|
+
* @param {string} mac MAC Address
|
|
16008
|
+
* @param {*} [options] Override http request option.
|
|
16009
|
+
* @throws {RequiredError}
|
|
16010
|
+
*/
|
|
16011
|
+
deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
15926
16012
|
/**
|
|
15927
16013
|
* Delete a Fanvil provisioning group
|
|
15928
16014
|
* @summary Delete group from DB and FDPS
|
|
@@ -15931,6 +16017,13 @@ export declare class ProvisioningApi extends BaseAPI {
|
|
|
15931
16017
|
* @throws {RequiredError}
|
|
15932
16018
|
*/
|
|
15933
16019
|
deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
16020
|
+
/**
|
|
16021
|
+
* Check if a MAC address exists in FDPS
|
|
16022
|
+
* @param {string} mac MAC Address
|
|
16023
|
+
* @param {*} [options] Override http request option.
|
|
16024
|
+
* @throws {RequiredError}
|
|
16025
|
+
*/
|
|
16026
|
+
getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCheckMacExists200Response, any, {}>>;
|
|
15934
16027
|
/**
|
|
15935
16028
|
* Get group Fanvil encryption key
|
|
15936
16029
|
* @summary Get group Fanvil encryption key
|
|
@@ -15973,6 +16066,13 @@ export declare class ProvisioningApi extends BaseAPI {
|
|
|
15973
16066
|
* @throws {RequiredError}
|
|
15974
16067
|
*/
|
|
15975
16068
|
postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
16069
|
+
/**
|
|
16070
|
+
* Create a MAC address in FDPS
|
|
16071
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
16072
|
+
* @param {*} [options] Override http request option.
|
|
16073
|
+
* @throws {RequiredError}
|
|
16074
|
+
*/
|
|
16075
|
+
postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MacAddressDTO, any, {}>>;
|
|
15976
16076
|
}
|
|
15977
16077
|
/**
|
|
15978
16078
|
* SIPTrunksApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -17921,6 +17921,42 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17921
17921
|
});
|
|
17922
17922
|
});
|
|
17923
17923
|
},
|
|
17924
|
+
/**
|
|
17925
|
+
* Delete a MAC address in FDPS
|
|
17926
|
+
* @param {string} mac MAC Address
|
|
17927
|
+
* @param {*} [options] Override http request option.
|
|
17928
|
+
* @throws {RequiredError}
|
|
17929
|
+
*/
|
|
17930
|
+
deleteCheckMacExists: function (mac_1) {
|
|
17931
|
+
var args_1 = [];
|
|
17932
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
17933
|
+
args_1[_i - 1] = arguments[_i];
|
|
17934
|
+
}
|
|
17935
|
+
return __awaiter(_this, __spreadArray([mac_1], args_1, true), void 0, function (mac, options) {
|
|
17936
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
17937
|
+
if (options === void 0) { options = {}; }
|
|
17938
|
+
return __generator(this, function (_a) {
|
|
17939
|
+
// verify required parameter 'mac' is not null or undefined
|
|
17940
|
+
(0, common_1.assertParamExists)('deleteCheckMacExists', 'mac', mac);
|
|
17941
|
+
localVarPath = "/admin/provisioning/fanvil/macs/{mac}"
|
|
17942
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17943
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17944
|
+
if (configuration) {
|
|
17945
|
+
baseOptions = configuration.baseOptions;
|
|
17946
|
+
}
|
|
17947
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
17948
|
+
localVarHeaderParameter = {};
|
|
17949
|
+
localVarQueryParameter = {};
|
|
17950
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17951
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17952
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17953
|
+
return [2 /*return*/, {
|
|
17954
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17955
|
+
options: localVarRequestOptions,
|
|
17956
|
+
}];
|
|
17957
|
+
});
|
|
17958
|
+
});
|
|
17959
|
+
},
|
|
17924
17960
|
/**
|
|
17925
17961
|
* Delete a Fanvil provisioning group
|
|
17926
17962
|
* @summary Delete group from DB and FDPS
|
|
@@ -17958,6 +17994,43 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17958
17994
|
});
|
|
17959
17995
|
});
|
|
17960
17996
|
},
|
|
17997
|
+
/**
|
|
17998
|
+
* Check if a MAC address exists in FDPS
|
|
17999
|
+
* @param {string} mac MAC Address
|
|
18000
|
+
* @param {*} [options] Override http request option.
|
|
18001
|
+
* @throws {RequiredError}
|
|
18002
|
+
*/
|
|
18003
|
+
getCheckMacExists: function (mac_1) {
|
|
18004
|
+
var args_1 = [];
|
|
18005
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
18006
|
+
args_1[_i - 1] = arguments[_i];
|
|
18007
|
+
}
|
|
18008
|
+
return __awaiter(_this, __spreadArray([mac_1], args_1, true), void 0, function (mac, options) {
|
|
18009
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18010
|
+
if (options === void 0) { options = {}; }
|
|
18011
|
+
return __generator(this, function (_a) {
|
|
18012
|
+
// verify required parameter 'mac' is not null or undefined
|
|
18013
|
+
(0, common_1.assertParamExists)('getCheckMacExists', 'mac', mac);
|
|
18014
|
+
localVarPath = "/admin/provisioning/fanvil/macs/{mac}"
|
|
18015
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
18016
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18017
|
+
if (configuration) {
|
|
18018
|
+
baseOptions = configuration.baseOptions;
|
|
18019
|
+
}
|
|
18020
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
18021
|
+
localVarHeaderParameter = {};
|
|
18022
|
+
localVarQueryParameter = {};
|
|
18023
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18024
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18025
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18026
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18027
|
+
return [2 /*return*/, {
|
|
18028
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18029
|
+
options: localVarRequestOptions,
|
|
18030
|
+
}];
|
|
18031
|
+
});
|
|
18032
|
+
});
|
|
18033
|
+
},
|
|
17961
18034
|
/**
|
|
17962
18035
|
* Get group Fanvil encryption key
|
|
17963
18036
|
* @summary Get group Fanvil encryption key
|
|
@@ -18154,6 +18227,42 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
18154
18227
|
});
|
|
18155
18228
|
});
|
|
18156
18229
|
},
|
|
18230
|
+
/**
|
|
18231
|
+
* Create a MAC address in FDPS
|
|
18232
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18233
|
+
* @param {*} [options] Override http request option.
|
|
18234
|
+
* @throws {RequiredError}
|
|
18235
|
+
*/
|
|
18236
|
+
postCreateMac: function (macAddressDTO_1) {
|
|
18237
|
+
var args_1 = [];
|
|
18238
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
18239
|
+
args_1[_i - 1] = arguments[_i];
|
|
18240
|
+
}
|
|
18241
|
+
return __awaiter(_this, __spreadArray([macAddressDTO_1], args_1, true), void 0, function (macAddressDTO, options) {
|
|
18242
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18243
|
+
if (options === void 0) { options = {}; }
|
|
18244
|
+
return __generator(this, function (_a) {
|
|
18245
|
+
localVarPath = "/admin/provisioning/fanvil/macs";
|
|
18246
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18247
|
+
if (configuration) {
|
|
18248
|
+
baseOptions = configuration.baseOptions;
|
|
18249
|
+
}
|
|
18250
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
18251
|
+
localVarHeaderParameter = {};
|
|
18252
|
+
localVarQueryParameter = {};
|
|
18253
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18254
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18255
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18256
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18257
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18258
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(macAddressDTO, localVarRequestOptions, configuration);
|
|
18259
|
+
return [2 /*return*/, {
|
|
18260
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18261
|
+
options: localVarRequestOptions,
|
|
18262
|
+
}];
|
|
18263
|
+
});
|
|
18264
|
+
});
|
|
18265
|
+
},
|
|
18157
18266
|
};
|
|
18158
18267
|
};
|
|
18159
18268
|
exports.ProvisioningApiAxiosParamCreator = ProvisioningApiAxiosParamCreator;
|
|
@@ -18187,6 +18296,28 @@ var ProvisioningApiFp = function (configuration) {
|
|
|
18187
18296
|
});
|
|
18188
18297
|
});
|
|
18189
18298
|
},
|
|
18299
|
+
/**
|
|
18300
|
+
* Delete a MAC address in FDPS
|
|
18301
|
+
* @param {string} mac MAC Address
|
|
18302
|
+
* @param {*} [options] Override http request option.
|
|
18303
|
+
* @throws {RequiredError}
|
|
18304
|
+
*/
|
|
18305
|
+
deleteCheckMacExists: function (mac, options) {
|
|
18306
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18307
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
18308
|
+
var _a, _b, _c;
|
|
18309
|
+
return __generator(this, function (_d) {
|
|
18310
|
+
switch (_d.label) {
|
|
18311
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteCheckMacExists(mac, options)];
|
|
18312
|
+
case 1:
|
|
18313
|
+
localVarAxiosArgs = _d.sent();
|
|
18314
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18315
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.deleteCheckMacExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18316
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
18317
|
+
}
|
|
18318
|
+
});
|
|
18319
|
+
});
|
|
18320
|
+
},
|
|
18190
18321
|
/**
|
|
18191
18322
|
* Delete a Fanvil provisioning group
|
|
18192
18323
|
* @summary Delete group from DB and FDPS
|
|
@@ -18210,6 +18341,28 @@ var ProvisioningApiFp = function (configuration) {
|
|
|
18210
18341
|
});
|
|
18211
18342
|
});
|
|
18212
18343
|
},
|
|
18344
|
+
/**
|
|
18345
|
+
* Check if a MAC address exists in FDPS
|
|
18346
|
+
* @param {string} mac MAC Address
|
|
18347
|
+
* @param {*} [options] Override http request option.
|
|
18348
|
+
* @throws {RequiredError}
|
|
18349
|
+
*/
|
|
18350
|
+
getCheckMacExists: function (mac, options) {
|
|
18351
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18352
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
18353
|
+
var _a, _b, _c;
|
|
18354
|
+
return __generator(this, function (_d) {
|
|
18355
|
+
switch (_d.label) {
|
|
18356
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCheckMacExists(mac, options)];
|
|
18357
|
+
case 1:
|
|
18358
|
+
localVarAxiosArgs = _d.sent();
|
|
18359
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18360
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.getCheckMacExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18361
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
18362
|
+
}
|
|
18363
|
+
});
|
|
18364
|
+
});
|
|
18365
|
+
},
|
|
18213
18366
|
/**
|
|
18214
18367
|
* Get group Fanvil encryption key
|
|
18215
18368
|
* @summary Get group Fanvil encryption key
|
|
@@ -18327,6 +18480,28 @@ var ProvisioningApiFp = function (configuration) {
|
|
|
18327
18480
|
});
|
|
18328
18481
|
});
|
|
18329
18482
|
},
|
|
18483
|
+
/**
|
|
18484
|
+
* Create a MAC address in FDPS
|
|
18485
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18486
|
+
* @param {*} [options] Override http request option.
|
|
18487
|
+
* @throws {RequiredError}
|
|
18488
|
+
*/
|
|
18489
|
+
postCreateMac: function (macAddressDTO, options) {
|
|
18490
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18491
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
18492
|
+
var _a, _b, _c;
|
|
18493
|
+
return __generator(this, function (_d) {
|
|
18494
|
+
switch (_d.label) {
|
|
18495
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateMac(macAddressDTO, options)];
|
|
18496
|
+
case 1:
|
|
18497
|
+
localVarAxiosArgs = _d.sent();
|
|
18498
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18499
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.postCreateMac']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18500
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
18501
|
+
}
|
|
18502
|
+
});
|
|
18503
|
+
});
|
|
18504
|
+
},
|
|
18330
18505
|
};
|
|
18331
18506
|
};
|
|
18332
18507
|
exports.ProvisioningApiFp = ProvisioningApiFp;
|
|
@@ -18347,6 +18522,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
|
18347
18522
|
deleteAddFanvilMac: function (id, mac, options) {
|
|
18348
18523
|
return localVarFp.deleteAddFanvilMac(id, mac, options).then(function (request) { return request(axios, basePath); });
|
|
18349
18524
|
},
|
|
18525
|
+
/**
|
|
18526
|
+
* Delete a MAC address in FDPS
|
|
18527
|
+
* @param {string} mac MAC Address
|
|
18528
|
+
* @param {*} [options] Override http request option.
|
|
18529
|
+
* @throws {RequiredError}
|
|
18530
|
+
*/
|
|
18531
|
+
deleteCheckMacExists: function (mac, options) {
|
|
18532
|
+
return localVarFp.deleteCheckMacExists(mac, options).then(function (request) { return request(axios, basePath); });
|
|
18533
|
+
},
|
|
18350
18534
|
/**
|
|
18351
18535
|
* Delete a Fanvil provisioning group
|
|
18352
18536
|
* @summary Delete group from DB and FDPS
|
|
@@ -18357,6 +18541,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
|
18357
18541
|
deleteDeleteFanvilGroup: function (id, options) {
|
|
18358
18542
|
return localVarFp.deleteDeleteFanvilGroup(id, options).then(function (request) { return request(axios, basePath); });
|
|
18359
18543
|
},
|
|
18544
|
+
/**
|
|
18545
|
+
* Check if a MAC address exists in FDPS
|
|
18546
|
+
* @param {string} mac MAC Address
|
|
18547
|
+
* @param {*} [options] Override http request option.
|
|
18548
|
+
* @throws {RequiredError}
|
|
18549
|
+
*/
|
|
18550
|
+
getCheckMacExists: function (mac, options) {
|
|
18551
|
+
return localVarFp.getCheckMacExists(mac, options).then(function (request) { return request(axios, basePath); });
|
|
18552
|
+
},
|
|
18360
18553
|
/**
|
|
18361
18554
|
* Get group Fanvil encryption key
|
|
18362
18555
|
* @summary Get group Fanvil encryption key
|
|
@@ -18409,6 +18602,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
|
|
|
18409
18602
|
postAddFanvilMac: function (id, mac, options) {
|
|
18410
18603
|
return localVarFp.postAddFanvilMac(id, mac, options).then(function (request) { return request(axios, basePath); });
|
|
18411
18604
|
},
|
|
18605
|
+
/**
|
|
18606
|
+
* Create a MAC address in FDPS
|
|
18607
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18608
|
+
* @param {*} [options] Override http request option.
|
|
18609
|
+
* @throws {RequiredError}
|
|
18610
|
+
*/
|
|
18611
|
+
postCreateMac: function (macAddressDTO, options) {
|
|
18612
|
+
return localVarFp.postCreateMac(macAddressDTO, options).then(function (request) { return request(axios, basePath); });
|
|
18613
|
+
},
|
|
18412
18614
|
};
|
|
18413
18615
|
};
|
|
18414
18616
|
exports.ProvisioningApiFactory = ProvisioningApiFactory;
|
|
@@ -18432,6 +18634,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
18432
18634
|
var _this = this;
|
|
18433
18635
|
return (0, exports.ProvisioningApiFp)(this.configuration).deleteAddFanvilMac(id, mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18434
18636
|
};
|
|
18637
|
+
/**
|
|
18638
|
+
* Delete a MAC address in FDPS
|
|
18639
|
+
* @param {string} mac MAC Address
|
|
18640
|
+
* @param {*} [options] Override http request option.
|
|
18641
|
+
* @throws {RequiredError}
|
|
18642
|
+
*/
|
|
18643
|
+
ProvisioningApi.prototype.deleteCheckMacExists = function (mac, options) {
|
|
18644
|
+
var _this = this;
|
|
18645
|
+
return (0, exports.ProvisioningApiFp)(this.configuration).deleteCheckMacExists(mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18646
|
+
};
|
|
18435
18647
|
/**
|
|
18436
18648
|
* Delete a Fanvil provisioning group
|
|
18437
18649
|
* @summary Delete group from DB and FDPS
|
|
@@ -18443,6 +18655,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
18443
18655
|
var _this = this;
|
|
18444
18656
|
return (0, exports.ProvisioningApiFp)(this.configuration).deleteDeleteFanvilGroup(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18445
18657
|
};
|
|
18658
|
+
/**
|
|
18659
|
+
* Check if a MAC address exists in FDPS
|
|
18660
|
+
* @param {string} mac MAC Address
|
|
18661
|
+
* @param {*} [options] Override http request option.
|
|
18662
|
+
* @throws {RequiredError}
|
|
18663
|
+
*/
|
|
18664
|
+
ProvisioningApi.prototype.getCheckMacExists = function (mac, options) {
|
|
18665
|
+
var _this = this;
|
|
18666
|
+
return (0, exports.ProvisioningApiFp)(this.configuration).getCheckMacExists(mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18667
|
+
};
|
|
18446
18668
|
/**
|
|
18447
18669
|
* Get group Fanvil encryption key
|
|
18448
18670
|
* @summary Get group Fanvil encryption key
|
|
@@ -18500,6 +18722,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
|
|
|
18500
18722
|
var _this = this;
|
|
18501
18723
|
return (0, exports.ProvisioningApiFp)(this.configuration).postAddFanvilMac(id, mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18502
18724
|
};
|
|
18725
|
+
/**
|
|
18726
|
+
* Create a MAC address in FDPS
|
|
18727
|
+
* @param {MacAddressDTO} [macAddressDTO] Mac Address
|
|
18728
|
+
* @param {*} [options] Override http request option.
|
|
18729
|
+
* @throws {RequiredError}
|
|
18730
|
+
*/
|
|
18731
|
+
ProvisioningApi.prototype.postCreateMac = function (macAddressDTO, options) {
|
|
18732
|
+
var _this = this;
|
|
18733
|
+
return (0, exports.ProvisioningApiFp)(this.configuration).postCreateMac(macAddressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18734
|
+
};
|
|
18503
18735
|
return ProvisioningApi;
|
|
18504
18736
|
}(base_1.BaseAPI));
|
|
18505
18737
|
exports.ProvisioningApi = ProvisioningApi;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# GetCheckMacExists200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**found** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { GetCheckMacExists200Response } from 'yellowgrid-api-ts';
|
|
14
|
+
|
|
15
|
+
const instance: GetCheckMacExists200Response = {
|
|
16
|
+
found,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# MacAddressDTO
|
|
2
|
+
|
|
3
|
+
MAC Address DTO
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**groupId** | **number** | Group ID | [optional] [default to undefined]
|
|
10
|
+
**macAddress** | **string** | MAC Address | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { MacAddressDTO } from 'yellowgrid-api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: MacAddressDTO = {
|
|
18
|
+
groupId,
|
|
19
|
+
macAddress,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/ProvisioningApi.md
CHANGED
|
@@ -5,12 +5,15 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**deleteAddFanvilMac**](#deleteaddfanvilmac) | **DELETE** /provisioning/fanvil/groups/{id}/macs/{mac} | Remove MAC address from DB and FDPS group|
|
|
8
|
+
|[**deleteCheckMacExists**](#deletecheckmacexists) | **DELETE** /admin/provisioning/fanvil/macs/{mac} | |
|
|
8
9
|
|[**deleteDeleteFanvilGroup**](#deletedeletefanvilgroup) | **DELETE** /provisioning/fanvil/groups/{id} | Delete group from DB and FDPS|
|
|
10
|
+
|[**getCheckMacExists**](#getcheckmacexists) | **GET** /admin/provisioning/fanvil/macs/{mac} | |
|
|
9
11
|
|[**getGetFanvilEncryptionKey**](#getgetfanvilencryptionkey) | **GET** /provisioning/fanvil/groups/{id}/macs/{mac}/key | Get group Fanvil encryption key|
|
|
10
12
|
|[**getGetFanvilGroupMacs**](#getgetfanvilgroupmacs) | **GET** /provisioning/fanvil/groups/{id}/macs | Get MAC addresses on group at FDPS|
|
|
11
13
|
|[**getGetGroups**](#getgetgroups) | **GET** /provisioning/groups | Get all provisioning groups or filter by customer ID|
|
|
12
14
|
|[**postAddFanvilGroup**](#postaddfanvilgroup) | **POST** /provisioning/fanvil/groups | Add group to DB and FDPS|
|
|
13
15
|
|[**postAddFanvilMac**](#postaddfanvilmac) | **POST** /provisioning/fanvil/groups/{id}/macs/{mac} | Add MAC address to DB and FDPS group|
|
|
16
|
+
|[**postCreateMac**](#postcreatemac) | **POST** /admin/provisioning/fanvil/macs | |
|
|
14
17
|
|
|
15
18
|
# **deleteAddFanvilMac**
|
|
16
19
|
> deleteAddFanvilMac()
|
|
@@ -69,6 +72,60 @@ No authorization required
|
|
|
69
72
|
|
|
70
73
|
[[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)
|
|
71
74
|
|
|
75
|
+
# **deleteCheckMacExists**
|
|
76
|
+
> deleteCheckMacExists()
|
|
77
|
+
|
|
78
|
+
Delete a MAC address in FDPS
|
|
79
|
+
|
|
80
|
+
### Example
|
|
81
|
+
|
|
82
|
+
```typescript
|
|
83
|
+
import {
|
|
84
|
+
ProvisioningApi,
|
|
85
|
+
Configuration
|
|
86
|
+
} from 'yellowgrid-api-ts';
|
|
87
|
+
|
|
88
|
+
const configuration = new Configuration();
|
|
89
|
+
const apiInstance = new ProvisioningApi(configuration);
|
|
90
|
+
|
|
91
|
+
let mac: string; //MAC Address (default to undefined)
|
|
92
|
+
|
|
93
|
+
const { status, data } = await apiInstance.deleteCheckMacExists(
|
|
94
|
+
mac
|
|
95
|
+
);
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Parameters
|
|
99
|
+
|
|
100
|
+
|Name | Type | Description | Notes|
|
|
101
|
+
|------------- | ------------- | ------------- | -------------|
|
|
102
|
+
| **mac** | [**string**] | MAC Address | defaults to undefined|
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### Return type
|
|
106
|
+
|
|
107
|
+
void (empty response body)
|
|
108
|
+
|
|
109
|
+
### Authorization
|
|
110
|
+
|
|
111
|
+
No authorization required
|
|
112
|
+
|
|
113
|
+
### HTTP request headers
|
|
114
|
+
|
|
115
|
+
- **Content-Type**: Not defined
|
|
116
|
+
- **Accept**: Not defined
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### HTTP response details
|
|
120
|
+
| Status code | Description | Response headers |
|
|
121
|
+
|-------------|-------------|------------------|
|
|
122
|
+
|**204** | No Response | - |
|
|
123
|
+
|**400** | Bad Request | - |
|
|
124
|
+
|**401** | Unauthorised | - |
|
|
125
|
+
|**403** | Access Denied | - |
|
|
126
|
+
|
|
127
|
+
[[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)
|
|
128
|
+
|
|
72
129
|
# **deleteDeleteFanvilGroup**
|
|
73
130
|
> deleteDeleteFanvilGroup()
|
|
74
131
|
|
|
@@ -123,6 +180,60 @@ No authorization required
|
|
|
123
180
|
|
|
124
181
|
[[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)
|
|
125
182
|
|
|
183
|
+
# **getCheckMacExists**
|
|
184
|
+
> GetCheckMacExists200Response getCheckMacExists()
|
|
185
|
+
|
|
186
|
+
Check if a MAC address exists in FDPS
|
|
187
|
+
|
|
188
|
+
### Example
|
|
189
|
+
|
|
190
|
+
```typescript
|
|
191
|
+
import {
|
|
192
|
+
ProvisioningApi,
|
|
193
|
+
Configuration
|
|
194
|
+
} from 'yellowgrid-api-ts';
|
|
195
|
+
|
|
196
|
+
const configuration = new Configuration();
|
|
197
|
+
const apiInstance = new ProvisioningApi(configuration);
|
|
198
|
+
|
|
199
|
+
let mac: string; //MAC Address (default to undefined)
|
|
200
|
+
|
|
201
|
+
const { status, data } = await apiInstance.getCheckMacExists(
|
|
202
|
+
mac
|
|
203
|
+
);
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### Parameters
|
|
207
|
+
|
|
208
|
+
|Name | Type | Description | Notes|
|
|
209
|
+
|------------- | ------------- | ------------- | -------------|
|
|
210
|
+
| **mac** | [**string**] | MAC Address | defaults to undefined|
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
### Return type
|
|
214
|
+
|
|
215
|
+
**GetCheckMacExists200Response**
|
|
216
|
+
|
|
217
|
+
### Authorization
|
|
218
|
+
|
|
219
|
+
No authorization required
|
|
220
|
+
|
|
221
|
+
### HTTP request headers
|
|
222
|
+
|
|
223
|
+
- **Content-Type**: Not defined
|
|
224
|
+
- **Accept**: application/json
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
### HTTP response details
|
|
228
|
+
| Status code | Description | Response headers |
|
|
229
|
+
|-------------|-------------|------------------|
|
|
230
|
+
|**200** | MAC Address Found | - |
|
|
231
|
+
|**400** | Bad Request | - |
|
|
232
|
+
|**401** | Unauthorised | - |
|
|
233
|
+
|**403** | Access Denied | - |
|
|
234
|
+
|
|
235
|
+
[[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)
|
|
236
|
+
|
|
126
237
|
# **getGetFanvilEncryptionKey**
|
|
127
238
|
> string getGetFanvilEncryptionKey()
|
|
128
239
|
|
|
@@ -400,3 +511,58 @@ No authorization required
|
|
|
400
511
|
|
|
401
512
|
[[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)
|
|
402
513
|
|
|
514
|
+
# **postCreateMac**
|
|
515
|
+
> MacAddressDTO postCreateMac()
|
|
516
|
+
|
|
517
|
+
Create a MAC address in FDPS
|
|
518
|
+
|
|
519
|
+
### Example
|
|
520
|
+
|
|
521
|
+
```typescript
|
|
522
|
+
import {
|
|
523
|
+
ProvisioningApi,
|
|
524
|
+
Configuration,
|
|
525
|
+
MacAddressDTO
|
|
526
|
+
} from 'yellowgrid-api-ts';
|
|
527
|
+
|
|
528
|
+
const configuration = new Configuration();
|
|
529
|
+
const apiInstance = new ProvisioningApi(configuration);
|
|
530
|
+
|
|
531
|
+
let macAddressDTO: MacAddressDTO; //Mac Address (optional)
|
|
532
|
+
|
|
533
|
+
const { status, data } = await apiInstance.postCreateMac(
|
|
534
|
+
macAddressDTO
|
|
535
|
+
);
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
### Parameters
|
|
539
|
+
|
|
540
|
+
|Name | Type | Description | Notes|
|
|
541
|
+
|------------- | ------------- | ------------- | -------------|
|
|
542
|
+
| **macAddressDTO** | **MacAddressDTO**| Mac Address | |
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
### Return type
|
|
546
|
+
|
|
547
|
+
**MacAddressDTO**
|
|
548
|
+
|
|
549
|
+
### Authorization
|
|
550
|
+
|
|
551
|
+
No authorization required
|
|
552
|
+
|
|
553
|
+
### HTTP request headers
|
|
554
|
+
|
|
555
|
+
- **Content-Type**: application/json
|
|
556
|
+
- **Accept**: application/json
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
### HTTP response details
|
|
560
|
+
| Status code | Description | Response headers |
|
|
561
|
+
|-------------|-------------|------------------|
|
|
562
|
+
|**201** | MAC Address Created | - |
|
|
563
|
+
|**400** | Bad Request | - |
|
|
564
|
+
|**401** | Unauthorised | - |
|
|
565
|
+
|**403** | Access Denied | - |
|
|
566
|
+
|
|
567
|
+
[[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)
|
|
568
|
+
|