Built motion from commit 9d0783e6.|2.6.13
[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 _0xf587=['GetCmContact','../client','createContact','Request','CreateCmContact'];(function(_0x593683,_0x2b3213){var _0x44cc39=function(_0x5f085d){while(--_0x5f085d){_0x593683['push'](_0x593683['shift']());}};_0x44cc39(++_0x2b3213);}(_0xf587,0xa1));var _0x7f58=function(_0xc5bdaa,_0x26eb39){_0xc5bdaa=_0xc5bdaa-0x0;var _0x49c1d2=_0xf587[_0xc5bdaa];return _0x49c1d2;};'use strict';var client=require(_0x7f58('0x0'));exports[_0x7f58('0x1')]=function(_0x2cf29e){return function(){return client[_0x7f58('0x2')](_0x7f58('0x3'),{'body':_0x2cf29e,'log':_0x7f58('0x3')});};};exports['getContacts']=function(_0x37b896){return function(){return client[_0x7f58('0x2')](_0x7f58('0x4'),{'options':_0x37b896,'log':_0x7f58('0x4')});};};