bdcc09535d96b35817aad369df3065efc526a558
[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 _0xd101=['CreateCmContact','getContacts','GetCmContact','../client','Request'];(function(_0x23d9dd,_0xd0cc97){var _0x178fa6=function(_0x2ea17a){while(--_0x2ea17a){_0x23d9dd['push'](_0x23d9dd['shift']());}};_0x178fa6(++_0xd0cc97);}(_0xd101,0xc1));var _0x1d10=function(_0x507240,_0xa466a4){_0x507240=_0x507240-0x0;var _0x181611=_0xd101[_0x507240];return _0x181611;};'use strict';var client=require(_0x1d10('0x0'));exports['createContact']=function(_0x2ced74){return function(){return client[_0x1d10('0x1')](_0x1d10('0x2'),{'body':_0x2ced74,'log':_0x1d10('0x2')});};};exports[_0x1d10('0x3')]=function(_0x25b425){return function(){return client[_0x1d10('0x1')](_0x1d10('0x4'),{'options':_0x25b425,'log':'GetCmContact'});};};