Built motion from commit (unavailable).|2.5.28
[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 _0x5d58=['getContacts','Request','GetCmContact','CreateCmContact'];(function(_0x11e9e7,_0xe11738){var _0x204748=function(_0x51a3de){while(--_0x51a3de){_0x11e9e7['push'](_0x11e9e7['shift']());}};_0x204748(++_0xe11738);}(_0x5d58,0x187));var _0x85d5=function(_0x17fbaf,_0x47fb8f){_0x17fbaf=_0x17fbaf-0x0;var _0x50eb79=_0x5d58[_0x17fbaf];return _0x50eb79;};'use strict';var client=require('../client');exports['createContact']=function(_0x5e2da7){return function(){return client['Request']('CreateCmContact',{'body':_0x5e2da7,'log':_0x85d5('0x0')});};};exports[_0x85d5('0x1')]=function(_0x53ca58){return function(){return client[_0x85d5('0x2')](_0x85d5('0x3'),{'options':_0x53ca58,'log':'GetCmContact'});};};