Built motion from commit c116dc8b.|2.6.30
[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 _0x125d=['../client','CreateCmContact','getContacts','Request','GetCmContact'];(function(_0x3cc9d9,_0x69ed38){var _0x1a425d=function(_0x44d109){while(--_0x44d109){_0x3cc9d9['push'](_0x3cc9d9['shift']());}};_0x1a425d(++_0x69ed38);}(_0x125d,0x73));var _0xd125=function(_0x18e239,_0x45ff28){_0x18e239=_0x18e239-0x0;var _0x45f132=_0x125d[_0x18e239];return _0x45f132;};'use strict';var client=require(_0xd125('0x0'));exports['createContact']=function(_0x164b0a){return function(){return client['Request'](_0xd125('0x1'),{'body':_0x164b0a,'log':_0xd125('0x1')});};};exports[_0xd125('0x2')]=function(_0x5502b2){return function(){return client[_0xd125('0x3')](_0xd125('0x4'),{'options':_0x5502b2,'log':_0xd125('0x4')});};};