|
|
@ -239,6 +239,17 @@ var generatePayload = function (operationCode, operationData, deviceList) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
case "FILE_TRANSFER":
|
|
|
|
|
|
|
|
operationType = operationTypeConstants["PROFILE"];
|
|
|
|
|
|
|
|
payload = {
|
|
|
|
|
|
|
|
"operation": {
|
|
|
|
|
|
|
|
"fileLocation": operationData["fileLocation"],
|
|
|
|
|
|
|
|
"ftpUserName": operationData["ftpUserName"],
|
|
|
|
|
|
|
|
"ftpPassword": operationData["ftpPassword"],
|
|
|
|
|
|
|
|
"fileName": operationData["fileName"]
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
break;
|
|
|
|
case androidOperationConstants["ENCRYPT_STORAGE_OPERATION_CODE"]:
|
|
|
|
case androidOperationConstants["ENCRYPT_STORAGE_OPERATION_CODE"]:
|
|
|
|
operationType = operationTypeConstants["PROFILE"];
|
|
|
|
operationType = operationTypeConstants["PROFILE"];
|
|
|
|
payload = {
|
|
|
|
payload = {
|
|
|
@ -434,4 +445,4 @@ var androidOperationConstants = {
|
|
|
|
"APPLICATION_OPERATION_CODE": "APP-RESTRICTION",
|
|
|
|
"APPLICATION_OPERATION_CODE": "APP-RESTRICTION",
|
|
|
|
"SYSTEM_UPDATE_POLICY_CODE": "SYSTEM_UPDATE_POLICY",
|
|
|
|
"SYSTEM_UPDATE_POLICY_CODE": "SYSTEM_UPDATE_POLICY",
|
|
|
|
"KIOSK_APPS_CODE": "KIOSK_APPS"
|
|
|
|
"KIOSK_APPS_CODE": "KIOSK_APPS"
|
|
|
|
};
|
|
|
|
};
|
|
|
|