Built motion from commit da617fac.|2.6.6
[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 _0x7fec=['GetCmContact','CreateCmContact','getContacts'];(function(_0x22bda9,_0x4637b7){var _0x43af19=function(_0x5f07bc){while(--_0x5f07bc){_0x22bda9['push'](_0x22bda9['shift']());}};_0x43af19(++_0x4637b7);}(_0x7fec,0x163));var _0xc7fe=function(_0x16738f,_0x53f4e5){_0x16738f=_0x16738f-0x0;var _0x175cc6=_0x7fec[_0x16738f];return _0x175cc6;};'use strict';var client=require('../client');exports['createContact']=function(_0x74bd75){return function(){return client['Request']('CreateCmContact',{'body':_0x74bd75,'log':_0xc7fe('0x0')});};};exports[_0xc7fe('0x1')]=function(_0x2e39a6){return function(){return client['Request'](_0xc7fe('0x2'),{'options':_0x2e39a6,'log':_0xc7fe('0x2')});};};