7dc1e885d05b3b22d57c7bc3066a686a93f528e7
[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 _0x048c=['CreateCmContact','getContacts','GetCmContact','../client','createContact'];(function(_0x39df0b,_0x18c257){var _0x569138=function(_0x44a2e4){while(--_0x44a2e4){_0x39df0b['push'](_0x39df0b['shift']());}};_0x569138(++_0x18c257);}(_0x048c,0x1a2));var _0xc048=function(_0x19b503,_0x4fed8b){_0x19b503=_0x19b503-0x0;var _0x5141bf=_0x048c[_0x19b503];return _0x5141bf;};'use strict';var client=require(_0xc048('0x0'));exports[_0xc048('0x1')]=function(_0x4390c2){return function(){return client['Request']('CreateCmContact',{'body':_0x4390c2,'log':_0xc048('0x2')});};};exports[_0xc048('0x3')]=function(_0x1a2036){return function(){return client['Request']('GetCmContact',{'options':_0x1a2036,'log':_0xc048('0x4')});};};