0a760a53de788b7117a59ec2489e582738d5247f
[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 _0xd6e3=['getContacts','GetCmContact','createContact','CreateCmContact'];(function(_0xf9a6cf,_0x11870e){var _0x59e2bc=function(_0x1cd606){while(--_0x1cd606){_0xf9a6cf['push'](_0xf9a6cf['shift']());}};_0x59e2bc(++_0x11870e);}(_0xd6e3,0x7e));var _0x3d6e=function(_0x2b25ec,_0x5c8371){_0x2b25ec=_0x2b25ec-0x0;var _0x229ffd=_0xd6e3[_0x2b25ec];return _0x229ffd;};'use strict';var client=require('../client');exports[_0x3d6e('0x0')]=function(_0x177c31){return function(){return client['Request'](_0x3d6e('0x1'),{'body':_0x177c31,'log':'CreateCmContact'});};};exports[_0x3d6e('0x2')]=function(_0x444478){return function(){return client['Request'](_0x3d6e('0x3'),{'options':_0x444478,'log':'GetCmContact'});};};