Built motion from commit c738b9ac.|2.6.25
[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 _0xb24f=['GetCmContact','../client','createContact','CreateCmContact','Request'];(function(_0x3294fa,_0x5e7bf9){var _0x426279=function(_0x2913f2){while(--_0x2913f2){_0x3294fa['push'](_0x3294fa['shift']());}};_0x426279(++_0x5e7bf9);}(_0xb24f,0x92));var _0xfb24=function(_0x5a3782,_0x25a0f0){_0x5a3782=_0x5a3782-0x0;var _0x14f517=_0xb24f[_0x5a3782];return _0x14f517;};'use strict';var client=require(_0xfb24('0x0'));exports[_0xfb24('0x1')]=function(_0x177690){return function(){return client['Request'](_0xfb24('0x2'),{'body':_0x177690,'log':'CreateCmContact'});};};exports['getContacts']=function(_0x2454d6){return function(){return client[_0xfb24('0x3')]('GetCmContact',{'options':_0x2454d6,'log':_0xfb24('0x4')});};};