d3e6ad556826cf20a3641d86ab33492854776a8b
[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 _0xc8ef=['Request','CreateVoiceRecording','../client'];(function(_0x5dc441,_0x2fd3a1){var _0x3a3f06=function(_0x144bb6){while(--_0x144bb6){_0x5dc441['push'](_0x5dc441['shift']());}};_0x3a3f06(++_0x2fd3a1);}(_0xc8ef,0x6e));var _0xfc8e=function(_0x122096,_0x60c295){_0x122096=_0x122096-0x0;var _0x3d1966=_0xc8ef[_0x122096];return _0x3d1966;};'use strict';var _=require('lodash');var client=require(_0xfc8e('0x0'));exports['create']=function(_0xfee995){return client[_0xfc8e('0x1')]('CreateVoiceRecording',{'body':_['merge'](_0xfee995,{'value':_0xfee995['monitorFilename']}),'log':_0xfc8e('0x2')});};