8b77bf6c21de18c15eaf2c4c675fd226bfd37e02
[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 _0x0f78=['CreateCmContact','GetCmContact','Request'];(function(_0x53997f,_0x4a612f){var _0x3ba4a=function(_0x444b5d){while(--_0x444b5d){_0x53997f['push'](_0x53997f['shift']());}};_0x3ba4a(++_0x4a612f);}(_0x0f78,0x1d9));var _0x80f7=function(_0x23e416,_0x25419e){_0x23e416=_0x23e416-0x0;var _0x599196=_0x0f78[_0x23e416];return _0x599196;};'use strict';var client=require('../client');exports['createContact']=function(_0x5d51ac){return function(){return client[_0x80f7('0x0')](_0x80f7('0x1'),{'body':_0x5d51ac,'log':_0x80f7('0x1')});};};exports['getContacts']=function(_0x5473f8){return function(){return client[_0x80f7('0x0')]('GetCmContact',{'options':_0x5473f8,'log':_0x80f7('0x2')});};};