4b85b8b4ab032b828bef5ff7fa1f7e96199c8638
[motion2.git] / server / services / ami / rpc / voiceRecording.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x8311=['CreateVoiceRecording','merge','create'];(function(_0x484e36,_0x4482d8){var _0xafc85d=function(_0xaba9c8){while(--_0xaba9c8){_0x484e36['push'](_0x484e36['shift']());}};_0xafc85d(++_0x4482d8);}(_0x8311,0x9b));var _0x1831=function(_0x592b13,_0x3f3a48){_0x592b13=_0x592b13-0x0;var _0x362545=_0x8311[_0x592b13];return _0x362545;};'use strict';var _=require('lodash');var client=require('../client');exports[_0x1831('0x0')]=function(_0x741a57){return client['Request'](_0x1831('0x1'),{'body':_[_0x1831('0x2')](_0x741a57,{'value':_0x741a57['monitorFilename']}),'log':_0x1831('0x1')});};