29742ab39eec16a5c79f77897de06b300ac06901
[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 _0x6d46=['GetCmContact','../client','Request','CreateCmContact','getContacts'];(function(_0x3ee8b1,_0x375088){var _0x53aa77=function(_0x191971){while(--_0x191971){_0x3ee8b1['push'](_0x3ee8b1['shift']());}};_0x53aa77(++_0x375088);}(_0x6d46,0x12d));var _0x66d4=function(_0x1293fa,_0x446d6b){_0x1293fa=_0x1293fa-0x0;var _0x1dd054=_0x6d46[_0x1293fa];return _0x1dd054;};'use strict';var client=require(_0x66d4('0x0'));exports['createContact']=function(_0x181572){return function(){return client[_0x66d4('0x1')]('CreateCmContact',{'body':_0x181572,'log':_0x66d4('0x2')});};};exports[_0x66d4('0x3')]=function(_0x39703d){return function(){return client[_0x66d4('0x1')]('GetCmContact',{'options':_0x39703d,'log':_0x66d4('0x4')});};};