Built motion from commit b5996064.|2.6.21
[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 _0x0fe0=['getContacts','GetCmContact','../client','createContact','Request','CreateCmContact'];(function(_0xe2f0f,_0x4a3965){var _0x1183f2=function(_0x30dbdf){while(--_0x30dbdf){_0xe2f0f['push'](_0xe2f0f['shift']());}};_0x1183f2(++_0x4a3965);}(_0x0fe0,0x1c4));var _0x00fe=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x0fe0[_0x20a584];return _0x4b41a8;};'use strict';var client=require(_0x00fe('0x0'));exports[_0x00fe('0x1')]=function(_0x4fb44f){return function(){return client[_0x00fe('0x2')](_0x00fe('0x3'),{'body':_0x4fb44f,'log':'CreateCmContact'});};};exports[_0x00fe('0x4')]=function(_0x68525c){return function(){return client[_0x00fe('0x2')](_0x00fe('0x5'),{'options':_0x68525c,'log':_0x00fe('0x5')});};};