Built motion from commit ac06311e.|2.6.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 _0xadbc=['GetCmContact','createContact','Request','getContacts'];(function(_0x593652,_0x352d07){var _0x842dca=function(_0x40f2ab){while(--_0x40f2ab){_0x593652['push'](_0x593652['shift']());}};_0x842dca(++_0x352d07);}(_0xadbc,0x12d));var _0xcadb=function(_0x290fa7,_0x201e9b){_0x290fa7=_0x290fa7-0x0;var _0x5e46dd=_0xadbc[_0x290fa7];return _0x5e46dd;};'use strict';var client=require('../client');exports[_0xcadb('0x0')]=function(_0x23b4a7){return function(){return client[_0xcadb('0x1')]('CreateCmContact',{'body':_0x23b4a7,'log':'CreateCmContact'});};};exports[_0xcadb('0x2')]=function(_0x38434f){return function(){return client['Request'](_0xcadb('0x3'),{'options':_0x38434f,'log':'GetCmContact'});};};