87e51fcfcb39b84762859942d1510d31136245c3
[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 _0x326f=['Request','CreateCmContact','getContacts','GetCmContact','../client'];(function(_0x476a6f,_0x5c14de){var _0x521553=function(_0x4011dc){while(--_0x4011dc){_0x476a6f['push'](_0x476a6f['shift']());}};_0x521553(++_0x5c14de);}(_0x326f,0xd1));var _0xf326=function(_0x2e87d1,_0x20a96d){_0x2e87d1=_0x2e87d1-0x0;var _0x274fd4=_0x326f[_0x2e87d1];return _0x274fd4;};'use strict';var client=require(_0xf326('0x0'));exports['createContact']=function(_0x5452cc){return function(){return client[_0xf326('0x1')](_0xf326('0x2'),{'body':_0x5452cc,'log':_0xf326('0x2')});};};exports[_0xf326('0x3')]=function(_0x27e8d7){return function(){return client[_0xf326('0x1')](_0xf326('0x4'),{'options':_0x27e8d7,'log':_0xf326('0x4')});};};