fbd68607ab56aa070f84bdb8cf62722027626273
[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 _0x37c0=['Request','GetCmContact','../client','CreateCmContact','getContacts'];(function(_0x4787ce,_0x3f2423){var _0x19432e=function(_0x1a0ce8){while(--_0x1a0ce8){_0x4787ce['push'](_0x4787ce['shift']());}};_0x19432e(++_0x3f2423);}(_0x37c0,0x1ec));var _0x037c=function(_0x5a31b6,_0x58f421){_0x5a31b6=_0x5a31b6-0x0;var _0x1c3523=_0x37c0[_0x5a31b6];return _0x1c3523;};'use strict';var client=require(_0x037c('0x0'));exports['createContact']=function(_0x3ce222){return function(){return client['Request'](_0x037c('0x1'),{'body':_0x3ce222,'log':_0x037c('0x1')});};};exports[_0x037c('0x2')]=function(_0x2d1449){return function(){return client[_0x037c('0x3')](_0x037c('0x4'),{'options':_0x2d1449,'log':'GetCmContact'});};};