a0852d380aeb4ba0443ee1a1538d86bc80c7c228
[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 _0x79db=['Request','CreateCmContact','getContacts','GetCmContact','../client','createContact'];(function(_0x19909d,_0x1a95df){var _0x46de6a=function(_0x2f4258){while(--_0x2f4258){_0x19909d['push'](_0x19909d['shift']());}};_0x46de6a(++_0x1a95df);}(_0x79db,0x100));var _0xb79d=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x79db[_0x17d9e3];return _0x14192d;};'use strict';var client=require(_0xb79d('0x0'));exports[_0xb79d('0x1')]=function(_0x1e17f4){return function(){return client[_0xb79d('0x2')](_0xb79d('0x3'),{'body':_0x1e17f4,'log':_0xb79d('0x3')});};};exports[_0xb79d('0x4')]=function(_0x3cd12a){return function(){return client[_0xb79d('0x2')](_0xb79d('0x5'),{'options':_0x3cd12a,'log':_0xb79d('0x5')});};};