1747d0ee50816a3917ad124161d125b923f42445
[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 _0x4b41=['monitorFilename','../client','create','Request','merge'];(function(_0x67af21,_0x8aa464){var _0x3fd88b=function(_0x32d580){while(--_0x32d580){_0x67af21['push'](_0x67af21['shift']());}};_0x3fd88b(++_0x8aa464);}(_0x4b41,0x173));var _0x14b4=function(_0x177957,_0x4fd702){_0x177957=_0x177957-0x0;var _0xf39ecd=_0x4b41[_0x177957];return _0xf39ecd;};'use strict';var _=require('lodash');var client=require(_0x14b4('0x0'));exports[_0x14b4('0x1')]=function(_0x27bc57){return client[_0x14b4('0x2')]('CreateVoiceRecording',{'body':_[_0x14b4('0x3')](_0x27bc57,{'value':_0x27bc57[_0x14b4('0x4')]}),'log':'CreateVoiceRecording'});};