mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Adding ios operation endpoint changes - UI
This commit is contained in:
parent
a9d00964d2
commit
d97c67804b
@ -115,8 +115,8 @@ var operationModule = function () {
|
|||||||
var featureMap = {
|
var featureMap = {
|
||||||
"DEVICE_LOCK": "lock",
|
"DEVICE_LOCK": "lock",
|
||||||
"VPN": "vpn",
|
"VPN": "vpn",
|
||||||
"PER_APP_VPN": "perappvpn",
|
"PER_APP_VPN": "per-app-vpn",
|
||||||
"APP_TO_PER_APP_VPN_MAPPING": "apptoperappvpnmapping",
|
"APP_TO_PER_APP_VPN_MAPPING": "app-to-per-app-vpn-mapping",
|
||||||
"RING": "ring",
|
"RING": "ring",
|
||||||
"LOCATION": "location",
|
"LOCATION": "location",
|
||||||
"NOTIFICATION": "notification",
|
"NOTIFICATION": "notification",
|
||||||
@ -124,12 +124,12 @@ var operationModule = function () {
|
|||||||
"RESTRICTION": "restriction",
|
"RESTRICTION": "restriction",
|
||||||
"CELLULAR": "cellular",
|
"CELLULAR": "cellular",
|
||||||
"WIFI": "wifi",
|
"WIFI": "wifi",
|
||||||
"INSTALL_STORE_APPLICATION": "storeapplication",
|
"INSTALL_STORE_APPLICATION": "store-application",
|
||||||
"INSTALL_ENTERPRISE_APPLICATION": "enterpriseapplication",
|
"INSTALL_ENTERPRISE_APPLICATION": "enterprise-application",
|
||||||
"REMOVE_APPLICATION": "removeapplication",
|
"REMOVE_APPLICATION": "remove-application",
|
||||||
"ENTERPRISE_WIPE": "enterprisewipe"
|
"ENTERPRISE_WIPE": "enterprise-wipe"
|
||||||
};
|
};
|
||||||
return "/ios/operation/" + featureMap[operationCode];
|
return "/api/device-mgt/ios/v1.0/admin/devices/" + featureMap[operationCode];
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user