d9b017d7703fe461406a7e99050a055c9f3ab137
[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 _0x7da7=['createContact','CreateCmContact','getContacts','Request','GetCmContact','../client'];(function(_0x3207aa,_0xe86a72){var _0x51758f=function(_0x9ff790){while(--_0x9ff790){_0x3207aa['push'](_0x3207aa['shift']());}};_0x51758f(++_0xe86a72);}(_0x7da7,0x10d));var _0x77da=function(_0x178668,_0x1ec300){_0x178668=_0x178668-0x0;var _0x26107d=_0x7da7[_0x178668];return _0x26107d;};'use strict';var client=require(_0x77da('0x0'));exports[_0x77da('0x1')]=function(_0x16ad6e){return function(){return client['Request']('CreateCmContact',{'body':_0x16ad6e,'log':_0x77da('0x2')});};};exports[_0x77da('0x3')]=function(_0x4f60c3){return function(){return client[_0x77da('0x4')](_0x77da('0x5'),{'options':_0x4f60c3,'log':'GetCmContact'});};};