Built motion from commit 85328c08.|2.5.50
[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 _0x78d0=['CreateCmContact','getContacts','Request','GetCmContact','../client','createContact'];(function(_0x5c7e0c,_0x7a7e3f){var _0x4c20eb=function(_0x5ea221){while(--_0x5ea221){_0x5c7e0c['push'](_0x5c7e0c['shift']());}};_0x4c20eb(++_0x7a7e3f);}(_0x78d0,0x18a));var _0x078d=function(_0x1e674b,_0xd35efc){_0x1e674b=_0x1e674b-0x0;var _0x2f48a1=_0x78d0[_0x1e674b];return _0x2f48a1;};'use strict';var client=require(_0x078d('0x0'));exports[_0x078d('0x1')]=function(_0x129166){return function(){return client['Request']('CreateCmContact',{'body':_0x129166,'log':_0x078d('0x2')});};};exports[_0x078d('0x3')]=function(_0xc00c3){return function(){return client[_0x078d('0x4')](_0x078d('0x5'),{'options':_0xc00c3,'log':_0x078d('0x5')});};};