Built motion from commit 00bf23f6.|2.6.16
[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 _0x37a1=['GetCmContact','Request','CreateCmContact'];(function(_0x80421f,_0x197b48){var _0x4f183a=function(_0x38dbc9){while(--_0x38dbc9){_0x80421f['push'](_0x80421f['shift']());}};_0x4f183a(++_0x197b48);}(_0x37a1,0xa9));var _0x137a=function(_0x234182,_0x475908){_0x234182=_0x234182-0x0;var _0x35544a=_0x37a1[_0x234182];return _0x35544a;};'use strict';var client=require('../client');exports['createContact']=function(_0x35f972){return function(){return client[_0x137a('0x0')](_0x137a('0x1'),{'body':_0x35f972,'log':_0x137a('0x1')});};};exports['getContacts']=function(_0x53a38c){return function(){return client[_0x137a('0x0')](_0x137a('0x2'),{'options':_0x53a38c,'log':_0x137a('0x2')});};};