82fb8a178c8d40c0866aa0f5c0ec7fa3a32264a3
[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 _0x723e=['getContacts','GetCmContact','createContact','Request','CreateCmContact'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x723e,0x179));var _0xe723=function(_0x2d7ec6,_0x9f52e6){_0x2d7ec6=_0x2d7ec6-0x0;var _0x50c714=_0x723e[_0x2d7ec6];return _0x50c714;};'use strict';var client=require('../client');exports[_0xe723('0x0')]=function(_0x95eab5){return function(){return client[_0xe723('0x1')](_0xe723('0x2'),{'body':_0x95eab5,'log':_0xe723('0x2')});};};exports[_0xe723('0x3')]=function(_0x39e35c){return function(){return client[_0xe723('0x1')](_0xe723('0x4'),{'options':_0x39e35c,'log':_0xe723('0x4')});};};