806c85ec30e1f9edad48abdd25203075b87e9828
[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 _0x7361=['GetCmContact','Request','CreateCmContact'];(function(_0xf8ebe,_0x4a8cba){var _0x11131f=function(_0x2a5d52){while(--_0x2a5d52){_0xf8ebe['push'](_0xf8ebe['shift']());}};_0x11131f(++_0x4a8cba);}(_0x7361,0x154));var _0x1736=function(_0x43f0ff,_0x3d4987){_0x43f0ff=_0x43f0ff-0x0;var _0x2ac952=_0x7361[_0x43f0ff];return _0x2ac952;};'use strict';var client=require('../client');exports['createContact']=function(_0x43b7f8){return function(){return client[_0x1736('0x0')](_0x1736('0x1'),{'body':_0x43b7f8,'log':_0x1736('0x1')});};};exports['getContacts']=function(_0x20cebf){return function(){return client[_0x1736('0x0')](_0x1736('0x2'),{'options':_0x20cebf,'log':_0x1736('0x2')});};};