Built motion from commit 25580385.|2.6.2
[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 _0xdf74=['getContacts','GetCmContact','createContact','Request','CreateCmContact'];(function(_0x1f8d0f,_0x321666){var _0x54c30f=function(_0x1ecccd){while(--_0x1ecccd){_0x1f8d0f['push'](_0x1f8d0f['shift']());}};_0x54c30f(++_0x321666);}(_0xdf74,0xe3));var _0x4df7=function(_0x417105,_0xc16b3f){_0x417105=_0x417105-0x0;var _0x168fd9=_0xdf74[_0x417105];return _0x168fd9;};'use strict';var client=require('../client');exports[_0x4df7('0x0')]=function(_0x2929f1){return function(){return client[_0x4df7('0x1')](_0x4df7('0x2'),{'body':_0x2929f1,'log':'CreateCmContact'});};};exports[_0x4df7('0x3')]=function(_0x5d332c){return function(){return client[_0x4df7('0x1')](_0x4df7('0x4'),{'options':_0x5d332c,'log':_0x4df7('0x4')});};};