a7d01d511806ef31b34e81ddb414d7b117929125
[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 _0x885a=['Request','CreateCmContact','getContacts','GetCmContact','createContact'];(function(_0x519007,_0x2df75b){var _0xaa69b6=function(_0x12b868){while(--_0x12b868){_0x519007['push'](_0x519007['shift']());}};_0xaa69b6(++_0x2df75b);}(_0x885a,0x180));var _0xa885=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x885a[_0x59ee6f];return _0x4c0979;};'use strict';var client=require('../client');exports[_0xa885('0x0')]=function(_0x241b76){return function(){return client[_0xa885('0x1')](_0xa885('0x2'),{'body':_0x241b76,'log':'CreateCmContact'});};};exports[_0xa885('0x3')]=function(_0x1c41b5){return function(){return client[_0xa885('0x1')](_0xa885('0x4'),{'options':_0x1c41b5,'log':_0xa885('0x4')});};};