Built motion from commit 511216ff.|2.6.34
[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 _0x2045=['CreateCmContact','getContacts','GetCmContact','Request'];(function(_0x314009,_0x228147){var _0x8c8955=function(_0x3ca44b){while(--_0x3ca44b){_0x314009['push'](_0x314009['shift']());}};_0x8c8955(++_0x228147);}(_0x2045,0x177));var _0x5204=function(_0x3b9c71,_0x52bd2f){_0x3b9c71=_0x3b9c71-0x0;var _0x419087=_0x2045[_0x3b9c71];return _0x419087;};'use strict';var client=require('../client');exports['createContact']=function(_0x349c4d){return function(){return client[_0x5204('0x0')](_0x5204('0x1'),{'body':_0x349c4d,'log':_0x5204('0x1')});};};exports[_0x5204('0x2')]=function(_0x420041){return function(){return client[_0x5204('0x0')](_0x5204('0x3'),{'options':_0x420041,'log':'GetCmContact'});};};