f95fea4635c478061a89120395be4b88396fbd31
[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 _0xc598=['../client','CreateCmContact','GetCmContact'];(function(_0x55617b,_0x3838c5){var _0x4b0d40=function(_0xfdd0f1){while(--_0xfdd0f1){_0x55617b['push'](_0x55617b['shift']());}};_0x4b0d40(++_0x3838c5);}(_0xc598,0xd5));var _0x8c59=function(_0x4e5cdf,_0x55b58b){_0x4e5cdf=_0x4e5cdf-0x0;var _0x121234=_0xc598[_0x4e5cdf];return _0x121234;};'use strict';var client=require(_0x8c59('0x0'));exports['createContact']=function(_0xc843ce){return function(){return client['Request'](_0x8c59('0x1'),{'body':_0xc843ce,'log':'CreateCmContact'});};};exports['getContacts']=function(_0xb48a0a){return function(){return client['Request'](_0x8c59('0x2'),{'options':_0xb48a0a,'log':_0x8c59('0x2')});};};