85143184c37e047d78c8c8d4c87bbce8cf80142d
[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(_0x2449c8,_0xdcd066){var _0x4bd87f=function(_0x14bca9){while(--_0x14bca9){_0x2449c8['push'](_0x2449c8['shift']());}};_0x4bd87f(++_0xdcd066);}(_0x7a54,0x106));var _0x47a5=function(_0x47ea86,_0x556e5c){_0x47ea86=_0x47ea86-0x0;var _0x1bedde=_0x7a54[_0x47ea86];return _0x1bedde;};'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')});};