Built motion from commit 13c3002c.|2.6.9
[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 _0x6023=['GetCmContact','../client'];(function(_0x481bf7,_0x437f69){var _0x461787=function(_0xb3bc9d){while(--_0xb3bc9d){_0x481bf7['push'](_0x481bf7['shift']());}};_0x461787(++_0x437f69);}(_0x6023,0x197));var _0x3602=function(_0x2c4be3,_0x48ee8f){_0x2c4be3=_0x2c4be3-0x0;var _0x2635f8=_0x6023[_0x2c4be3];return _0x2635f8;};'use strict';var client=require(_0x3602('0x0'));exports['createContact']=function(_0x4c95f7){return function(){return client['Request']('CreateCmContact',{'body':_0x4c95f7,'log':'CreateCmContact'});};};exports['getContacts']=function(_0x4ef145){return function(){return client['Request'](_0x3602('0x1'),{'options':_0x4ef145,'log':'GetCmContact'});};};