c97914298d7ac7e43fd159873f49f98abcae8bf6
[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 _0xeb03=['createContact','Request','CreateCmContact','getContacts','GetCmContact','../client'];(function(_0x1ef0ff,_0xa2e77a){var _0xed778=function(_0x49da5b){while(--_0x49da5b){_0x1ef0ff['push'](_0x1ef0ff['shift']());}};_0xed778(++_0xa2e77a);}(_0xeb03,0xe3));var _0x3eb0=function(_0x1035c1,_0x2d8583){_0x1035c1=_0x1035c1-0x0;var _0x308d67=_0xeb03[_0x1035c1];return _0x308d67;};'use strict';var client=require(_0x3eb0('0x0'));exports[_0x3eb0('0x1')]=function(_0xe45701){return function(){return client[_0x3eb0('0x2')](_0x3eb0('0x3'),{'body':_0xe45701,'log':'CreateCmContact'});};};exports[_0x3eb0('0x4')]=function(_0x38baae){return function(){return client['Request']('GetCmContact',{'options':_0x38baae,'log':_0x3eb0('0x5')});};};