9ca0deb567246b3a6abf390498c4d4360eaf68ca
[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 _0x2f89=['Request','CreateCmContact','GetCmContact','../client'];(function(_0x36d360,_0x1aab80){var _0x1b7c69=function(_0x438676){while(--_0x438676){_0x36d360['push'](_0x36d360['shift']());}};_0x1b7c69(++_0x1aab80);}(_0x2f89,0xd7));var _0x92f8=function(_0xc6bdec,_0x58f007){_0xc6bdec=_0xc6bdec-0x0;var _0x4ea44d=_0x2f89[_0xc6bdec];return _0x4ea44d;};'use strict';var client=require(_0x92f8('0x0'));exports['createContact']=function(_0x619c57){return function(){return client[_0x92f8('0x1')]('CreateCmContact',{'body':_0x619c57,'log':_0x92f8('0x2')});};};exports['getContacts']=function(_0x1f5d75){return function(){return client['Request'](_0x92f8('0x3'),{'options':_0x1f5d75,'log':_0x92f8('0x3')});};};