Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / services / ami / rpc / cmContact.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 _0xd99b=['Request','CreateCmContact','getContacts','GetCmContact','../client'];(function(_0x5b5675,_0x290459){var _0x135411=function(_0x3778f8){while(--_0x3778f8){_0x5b5675['push'](_0x5b5675['shift']());}};_0x135411(++_0x290459);}(_0xd99b,0x10d));var _0xbd99=function(_0x57a65e,_0x33a406){_0x57a65e=_0x57a65e-0x0;var _0x3cfaf8=_0xd99b[_0x57a65e];return _0x3cfaf8;};'use strict';var client=require(_0xbd99('0x0'));exports['createContact']=function(_0x3689b5){return function(){return client[_0xbd99('0x1')](_0xbd99('0x2'),{'body':_0x3689b5,'log':_0xbd99('0x2')});};};exports[_0xbd99('0x3')]=function(_0x5ab2fa){return function(){return client[_0xbd99('0x1')]('GetCmContact',{'options':_0x5ab2fa,'log':_0xbd99('0x4')});};};