Built motion from commit (unavailable).|2.5.7
[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 _0x6455=['GetCmContact','../client','Request','CreateCmContact','getContacts'];(function(_0x33a7e0,_0x2e2018){var _0x150409=function(_0x26e61a){while(--_0x26e61a){_0x33a7e0['push'](_0x33a7e0['shift']());}};_0x150409(++_0x2e2018);}(_0x6455,0x97));var _0x5645=function(_0x2d2550,_0x5a4629){_0x2d2550=_0x2d2550-0x0;var _0x3201d0=_0x6455[_0x2d2550];return _0x3201d0;};'use strict';var client=require(_0x5645('0x0'));exports['createContact']=function(_0x6b9a7e){return function(){return client[_0x5645('0x1')](_0x5645('0x2'),{'body':_0x6b9a7e,'log':_0x5645('0x2')});};};exports[_0x5645('0x3')]=function(_0x35c21e){return function(){return client['Request'](_0x5645('0x4'),{'options':_0x35c21e,'log':_0x5645('0x4')});};};