f81fb30d93d7d92d42ec9168cdf1a32c2eeb1a21
[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 _0x9dc0=['CreateVoiceRecording','merge','monitorFilename','../client','create'];(function(_0x363ef8,_0x4ecb1a){var _0x148822=function(_0x232634){while(--_0x232634){_0x363ef8['push'](_0x363ef8['shift']());}};_0x148822(++_0x4ecb1a);}(_0x9dc0,0x10c));var _0x09dc=function(_0x872b02,_0x4f4458){_0x872b02=_0x872b02-0x0;var _0x1a6b24=_0x9dc0[_0x872b02];return _0x1a6b24;};'use strict';var _=require('lodash');var client=require(_0x09dc('0x0'));exports[_0x09dc('0x1')]=function(_0x21e696){return client['Request'](_0x09dc('0x2'),{'body':_[_0x09dc('0x3')](_0x21e696,{'value':_0x21e696[_0x09dc('0x4')]}),'log':'CreateVoiceRecording'});};