35d259b9fd8d84fe9dc85b0a164a80d5fb6a935f
[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 _0xf69d=['GetCmContact','../client','createContact','Request','CreateCmContact','getContacts'];(function(_0x4df661,_0x481a9b){var _0x2ccd9c=function(_0x26c25d){while(--_0x26c25d){_0x4df661['push'](_0x4df661['shift']());}};_0x2ccd9c(++_0x481a9b);}(_0xf69d,0xd3));var _0xdf69=function(_0x380278,_0x450251){_0x380278=_0x380278-0x0;var _0x90288=_0xf69d[_0x380278];return _0x90288;};'use strict';var client=require(_0xdf69('0x0'));exports[_0xdf69('0x1')]=function(_0x32d6ba){return function(){return client[_0xdf69('0x2')](_0xdf69('0x3'),{'body':_0x32d6ba,'log':'CreateCmContact'});};};exports[_0xdf69('0x4')]=function(_0x342114){return function(){return client[_0xdf69('0x2')](_0xdf69('0x5'),{'options':_0x342114,'log':_0xdf69('0x5')});};};