2f94c58df1a4a86efcddc72e8aaa50c3325f440d
[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 _0xda19=['getContacts','Request','GetCmContact','createContact','CreateCmContact'];(function(_0x58b14b,_0x5ab912){var _0x5aec73=function(_0x43cdc1){while(--_0x43cdc1){_0x58b14b['push'](_0x58b14b['shift']());}};_0x5aec73(++_0x5ab912);}(_0xda19,0xd5));var _0x9da1=function(_0x4c5202,_0x35c30f){_0x4c5202=_0x4c5202-0x0;var _0x38dd6b=_0xda19[_0x4c5202];return _0x38dd6b;};'use strict';var client=require('../client');exports[_0x9da1('0x0')]=function(_0x430d39){return function(){return client['Request'](_0x9da1('0x1'),{'body':_0x430d39,'log':'CreateCmContact'});};};exports[_0x9da1('0x2')]=function(_0x4c9c86){return function(){return client[_0x9da1('0x3')](_0x9da1('0x4'),{'options':_0x4c9c86,'log':_0x9da1('0x4')});};};