Built motion from commit 0900f080.|2.5.45
[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 _0xb1f8=['getContacts','GetCmContact','../client','createContact','Request'];(function(_0x3c9d5f,_0x45141f){var _0x330499=function(_0x5c6bdc){while(--_0x5c6bdc){_0x3c9d5f['push'](_0x3c9d5f['shift']());}};_0x330499(++_0x45141f);}(_0xb1f8,0x156));var _0x8b1f=function(_0x1defc5,_0x32dbef){_0x1defc5=_0x1defc5-0x0;var _0x5d5a6a=_0xb1f8[_0x1defc5];return _0x5d5a6a;};'use strict';var client=require(_0x8b1f('0x0'));exports[_0x8b1f('0x1')]=function(_0x54fdbb){return function(){return client[_0x8b1f('0x2')]('CreateCmContact',{'body':_0x54fdbb,'log':'CreateCmContact'});};};exports[_0x8b1f('0x3')]=function(_0x5ac257){return function(){return client['Request'](_0x8b1f('0x4'),{'options':_0x5ac257,'log':'GetCmContact'});};};