326c0c76dcb6a52ee29ffd9e58254c6013703ce1
[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 _0xe2bc=['Request','CreateCmHopperFinal','../client','queue'];(function(_0x248be0,_0x189220){var _0x2cafb0=function(_0x4a3e98){while(--_0x4a3e98){_0x248be0['push'](_0x248be0['shift']());}};_0x2cafb0(++_0x189220);}(_0xe2bc,0x1a6));var _0xce2b=function(_0x342700,_0x569f75){_0x342700=_0x342700-0x0;var _0x53406f=_0xe2bc[_0x342700];return _0x53406f;};'use strict';var client=require(_0xce2b('0x0'));exports['createContact']=function(_0x15775c){return function(){_0x15775c['campaign']=_0x15775c[_0xce2b('0x1')];return client[_0xce2b('0x2')](_0xce2b('0x3'),{'body':_0x15775c,'log':_0xce2b('0x3')});};};