b7b195ffd551e0103306f0fcf907c5286d4c208e
[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 _0x6f47=['CreateCmContact','getContacts','Request','GetCmContact','createContact'];(function(_0x1b658,_0x344b6a){var _0x1d17e5=function(_0x1fae07){while(--_0x1fae07){_0x1b658['push'](_0x1b658['shift']());}};_0x1d17e5(++_0x344b6a);}(_0x6f47,0xc7));var _0x76f4=function(_0x487b0c,_0x14ff74){_0x487b0c=_0x487b0c-0x0;var _0x1adbdc=_0x6f47[_0x487b0c];return _0x1adbdc;};'use strict';var client=require('../client');exports[_0x76f4('0x0')]=function(_0x94765d){return function(){return client['Request'](_0x76f4('0x1'),{'body':_0x94765d,'log':'CreateCmContact'});};};exports[_0x76f4('0x2')]=function(_0x47d3e1){return function(){return client[_0x76f4('0x3')](_0x76f4('0x4'),{'options':_0x47d3e1,'log':_0x76f4('0x4')});};};