b0ca8ce3567c3c86c6fbc6b875297d438edc72b1
[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 _0x7a54=['create','Request','CreateVoiceRecording','monitorFilename','lodash','../client'];(function(_0x32bc88,_0x3e3bbb){var _0x5cc2f1=function(_0x22a810){while(--_0x22a810){_0x32bc88['push'](_0x32bc88['shift']());}};_0x5cc2f1(++_0x3e3bbb);}(_0x7a54,0x106));var _0x47a5=function(_0x4ac5cb,_0x472ef5){_0x4ac5cb=_0x4ac5cb-0x0;var _0x139448=_0x7a54[_0x4ac5cb];return _0x139448;};'use strict';var _=require(_0x47a5('0x0'));var client=require(_0x47a5('0x1'));exports[_0x47a5('0x2')]=function(_0x58157c){return client[_0x47a5('0x3')](_0x47a5('0x4'),{'body':_['merge'](_0x58157c,{'value':_0x58157c[_0x47a5('0x5')]}),'log':_0x47a5('0x4')});};