Built motion from commit (unavailable).|2.5.3
[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 _0x06de=['ShowCmContact','Request','CreateCmContact'];(function(_0x2cacd9,_0x135d8d){var _0x40fa73=function(_0x4f7013){while(--_0x4f7013){_0x2cacd9['push'](_0x2cacd9['shift']());}};_0x40fa73(++_0x135d8d);}(_0x06de,0xca));var _0xe06d=function(_0x5a5aca,_0x368fbb){_0x5a5aca=_0x5a5aca-0x0;var _0x1cb523=_0x06de[_0x5a5aca];return _0x1cb523;};'use strict';var client=require('../client');exports['createContact']=function(_0x32c0b1){return function(){return client[_0xe06d('0x0')]('CreateCmContact',{'body':_0x32c0b1,'log':_0xe06d('0x1')});};};exports['showContact']=function(_0x394b62){return function(){return client[_0xe06d('0x0')](_0xe06d('0x2'),{'options':_0x394b62,'log':_0xe06d('0x2')});};};