Built motion from commit (unavailable).|2.5.22
[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 _0x5162=['CreateCmContact','getContacts','Request','GetCmContact','../client'];(function(_0x1cbbd7,_0x4c7475){var _0x2b4b1f=function(_0x39c82c){while(--_0x39c82c){_0x1cbbd7['push'](_0x1cbbd7['shift']());}};_0x2b4b1f(++_0x4c7475);}(_0x5162,0x103));var _0x2516=function(_0x4ae829,_0x2c842c){_0x4ae829=_0x4ae829-0x0;var _0x256b31=_0x5162[_0x4ae829];return _0x256b31;};'use strict';var client=require(_0x2516('0x0'));exports['createContact']=function(_0x49d60f){return function(){return client['Request']('CreateCmContact',{'body':_0x49d60f,'log':_0x2516('0x1')});};};exports[_0x2516('0x2')]=function(_0x3ce7de){return function(){return client[_0x2516('0x3')](_0x2516('0x4'),{'options':_0x3ce7de,'log':_0x2516('0x4')});};};