d1e5638f507417e83bca09b1bd5e5ebd28e02b4c
[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 _0xfc65=['CreateCmHopperFinal','../client','campaign','queue','Request'];(function(_0x5a6744,_0x144876){var _0xff7177=function(_0x4b3e10){while(--_0x4b3e10){_0x5a6744['push'](_0x5a6744['shift']());}};_0xff7177(++_0x144876);}(_0xfc65,0x1e1));var _0x5fc6=function(_0x56dd34,_0x10898e){_0x56dd34=_0x56dd34-0x0;var _0x2a99ac=_0xfc65[_0x56dd34];return _0x2a99ac;};'use strict';var client=require(_0x5fc6('0x0'));exports['createContact']=function(_0x5807aa){return function(){_0x5807aa[_0x5fc6('0x1')]=_0x5807aa[_0x5fc6('0x2')];return client[_0x5fc6('0x3')](_0x5fc6('0x4'),{'body':_0x5807aa,'log':_0x5fc6('0x4')});};};