583bc537edd44e0da639a9bb8399cdbfaeb48839
[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 _0xabda=['merge','monitorFilename','../client','create','Request','CreateVoiceRecording'];(function(_0x159747,_0x87c53){var _0x4df545=function(_0x100d23){while(--_0x100d23){_0x159747['push'](_0x159747['shift']());}};_0x4df545(++_0x87c53);}(_0xabda,0x98));var _0xaabd=function(_0x2e75c8,_0x43557b){_0x2e75c8=_0x2e75c8-0x0;var _0x4ebdd0=_0xabda[_0x2e75c8];return _0x4ebdd0;};'use strict';var _=require('lodash');var client=require(_0xaabd('0x0'));exports[_0xaabd('0x1')]=function(_0x160264){return client[_0xaabd('0x2')](_0xaabd('0x3'),{'body':_[_0xaabd('0x4')](_0x160264,{'value':_0x160264[_0xaabd('0x5')]}),'log':_0xaabd('0x3')});};