92362c6036bdd62fc99b0eb5b29e697f02149009
[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(_0xcab034,_0x57b43b){var _0x4a8d4a=function(_0x58427c){while(--_0x58427c){_0xcab034['push'](_0xcab034['shift']());}};_0x4a8d4a(++_0x57b43b);}(_0x7a54,0x106));var _0x47a5=function(_0x1e1de6,_0x4f4cf9){_0x1e1de6=_0x1e1de6-0x0;var _0x2ff233=_0x7a54[_0x1e1de6];return _0x2ff233;};'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')});};