Built motion from commit f3da74b7.|2.5.36
[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 _0x6571=['GetCmContact','../client','createContact','Request','CreateCmContact','getContacts'];(function(_0x152596,_0x154e90){var _0x16e224=function(_0x4cc1cc){while(--_0x4cc1cc){_0x152596['push'](_0x152596['shift']());}};_0x16e224(++_0x154e90);}(_0x6571,0x79));var _0x1657=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0x6571[_0x4b369d];return _0x571a98;};'use strict';var client=require(_0x1657('0x0'));exports[_0x1657('0x1')]=function(_0x195dd3){return function(){return client[_0x1657('0x2')]('CreateCmContact',{'body':_0x195dd3,'log':_0x1657('0x3')});};};exports[_0x1657('0x4')]=function(_0x51dd14){return function(){return client['Request']('GetCmContact',{'options':_0x51dd14,'log':_0x1657('0x5')});};};