Built motion from commit fa4c4286.|2.6.29
[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 _0xbc1f=['CreateCmContact','getContacts','GetCmContact','../client','Request'];(function(_0xbb6084,_0x1612c1){var _0x2db4f0=function(_0x59048){while(--_0x59048){_0xbb6084['push'](_0xbb6084['shift']());}};_0x2db4f0(++_0x1612c1);}(_0xbc1f,0x102));var _0xfbc1=function(_0x4c7bd2,_0x16e29c){_0x4c7bd2=_0x4c7bd2-0x0;var _0x7f07d9=_0xbc1f[_0x4c7bd2];return _0x7f07d9;};'use strict';var client=require(_0xfbc1('0x0'));exports['createContact']=function(_0x3fe050){return function(){return client[_0xfbc1('0x1')](_0xfbc1('0x2'),{'body':_0x3fe050,'log':_0xfbc1('0x2')});};};exports[_0xfbc1('0x3')]=function(_0x384b23){return function(){return client[_0xfbc1('0x1')](_0xfbc1('0x4'),{'options':_0x384b23,'log':_0xfbc1('0x4')});};};