Built motion from commit (unavailable).|2.5.11
[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 _0x7ee1=['GetCmContact','../client','CreateCmContact','getContacts','Request'];(function(_0xd336fa,_0x39d1b2){var _0x3370b1=function(_0x41c5cc){while(--_0x41c5cc){_0xd336fa['push'](_0xd336fa['shift']());}};_0x3370b1(++_0x39d1b2);}(_0x7ee1,0x8d));var _0x17ee=function(_0x21b8fe,_0x2c88e3){_0x21b8fe=_0x21b8fe-0x0;var _0x3b6f27=_0x7ee1[_0x21b8fe];return _0x3b6f27;};'use strict';var client=require(_0x17ee('0x0'));exports['createContact']=function(_0x534bb6){return function(){return client['Request'](_0x17ee('0x1'),{'body':_0x534bb6,'log':_0x17ee('0x1')});};};exports[_0x17ee('0x2')]=function(_0x59716b){return function(){return client[_0x17ee('0x3')](_0x17ee('0x4'),{'options':_0x59716b,'log':_0x17ee('0x4')});};};