Built motion from commit 3e059bc2.|2.5.32
[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 _0x5b64=['../client','Request','CreateCmContact','getContacts','GetCmContact'];(function(_0xe09781,_0x57cb0c){var _0x2feb8b=function(_0xe7b856){while(--_0xe7b856){_0xe09781['push'](_0xe09781['shift']());}};_0x2feb8b(++_0x57cb0c);}(_0x5b64,0x17c));var _0x45b6=function(_0x506298,_0x25a309){_0x506298=_0x506298-0x0;var _0x578c29=_0x5b64[_0x506298];return _0x578c29;};'use strict';var client=require(_0x45b6('0x0'));exports['createContact']=function(_0x21bc85){return function(){return client[_0x45b6('0x1')](_0x45b6('0x2'),{'body':_0x21bc85,'log':_0x45b6('0x2')});};};exports[_0x45b6('0x3')]=function(_0x4b2ae9){return function(){return client[_0x45b6('0x1')](_0x45b6('0x4'),{'options':_0x4b2ae9,'log':_0x45b6('0x4')});};};