90661198a4e1fd6fe57a9fd06ebed0948f9253f4
[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 _0x27b3=['Request','CreateCmHopperFinal','../client','queue'];(function(_0x59e67e,_0x1ee9f2){var _0x372f84=function(_0x5d5769){while(--_0x5d5769){_0x59e67e['push'](_0x59e67e['shift']());}};_0x372f84(++_0x1ee9f2);}(_0x27b3,0x192));var _0x327b=function(_0x54518d,_0x129596){_0x54518d=_0x54518d-0x0;var _0x212f9b=_0x27b3[_0x54518d];return _0x212f9b;};'use strict';var client=require(_0x327b('0x0'));exports['createContact']=function(_0x136d26){return function(){_0x136d26['campaign']=_0x136d26[_0x327b('0x1')];return client[_0x327b('0x2')](_0x327b('0x3'),{'body':_0x136d26,'log':_0x327b('0x3')});};};