ea373e1add19314a99d113f703c7673566290489
[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 _0x0309=['Request','GetCmContact','../client','CreateCmContact','getContacts'];(function(_0x1b1035,_0x4fc0dc){var _0x123216=function(_0x5e820f){while(--_0x5e820f){_0x1b1035['push'](_0x1b1035['shift']());}};_0x123216(++_0x4fc0dc);}(_0x0309,0x165));var _0x9030=function(_0x443706,_0x5b05ac){_0x443706=_0x443706-0x0;var _0xf5750=_0x0309[_0x443706];return _0xf5750;};'use strict';var client=require(_0x9030('0x0'));exports['createContact']=function(_0x19fdcc){return function(){return client['Request'](_0x9030('0x1'),{'body':_0x19fdcc,'log':_0x9030('0x1')});};};exports[_0x9030('0x2')]=function(_0x4236be){return function(){return client[_0x9030('0x3')](_0x9030('0x4'),{'options':_0x4236be,'log':_0x9030('0x4')});};};