Built motion from commit 753c950e.|2.5.42
[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 _0xa6a3=['getContacts','GetCmContact','Request','CreateCmContact'];(function(_0x1bb939,_0x5905e9){var _0xf8e8a6=function(_0xb86dce){while(--_0xb86dce){_0x1bb939['push'](_0x1bb939['shift']());}};_0xf8e8a6(++_0x5905e9);}(_0xa6a3,0x18e));var _0x3a6a=function(_0x129954,_0x17b156){_0x129954=_0x129954-0x0;var _0x2b40f2=_0xa6a3[_0x129954];return _0x2b40f2;};'use strict';var client=require('../client');exports['createContact']=function(_0x156ffd){return function(){return client[_0x3a6a('0x0')]('CreateCmContact',{'body':_0x156ffd,'log':_0x3a6a('0x1')});};};exports[_0x3a6a('0x2')]=function(_0x2c50ab){return function(){return client[_0x3a6a('0x0')](_0x3a6a('0x3'),{'options':_0x2c50ab,'log':'GetCmContact'});};};