0cf675a35b17990959e92a9dba845fbae4f52f51
[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 _0x873c=['../client','CreateCmContact','getContacts','Request','GetCmContact'];(function(_0x2c9a11,_0x44e8af){var _0x2cd3aa=function(_0x71e93){while(--_0x71e93){_0x2c9a11['push'](_0x2c9a11['shift']());}};_0x2cd3aa(++_0x44e8af);}(_0x873c,0x104));var _0xc873=function(_0x529595,_0x2fcbc0){_0x529595=_0x529595-0x0;var _0x382a36=_0x873c[_0x529595];return _0x382a36;};'use strict';var client=require(_0xc873('0x0'));exports['createContact']=function(_0x59ef45){return function(){return client['Request'](_0xc873('0x1'),{'body':_0x59ef45,'log':_0xc873('0x1')});};};exports[_0xc873('0x2')]=function(_0xffcf0a){return function(){return client[_0xc873('0x3')](_0xc873('0x4'),{'options':_0xffcf0a,'log':_0xc873('0x4')});};};