Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / services / ami / rpc / cmHopperFinal.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 _0x7ea0=['../client','queue','Request','CreateCmHopperFinal'];(function(_0x3b2d98,_0xaa0b26){var _0x256bf1=function(_0x1fe933){while(--_0x1fe933){_0x3b2d98['push'](_0x3b2d98['shift']());}};_0x256bf1(++_0xaa0b26);}(_0x7ea0,0x1c0));var _0x07ea=function(_0xcec8d9,_0x531e51){_0xcec8d9=_0xcec8d9-0x0;var _0x20481a=_0x7ea0[_0xcec8d9];return _0x20481a;};'use strict';var client=require(_0x07ea('0x0'));exports['createContact']=function(_0x3cbeb6){return function(){_0x3cbeb6['campaign']=_0x3cbeb6[_0x07ea('0x1')];return client[_0x07ea('0x2')](_0x07ea('0x3'),{'body':_0x3cbeb6,'log':_0x07ea('0x3')});};};