c253c9b180da8756fb748e82f11fb7bc8cce8698
[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 _0x4819=['createContact','Request','CreateCmContact','getContacts','GetCmContact'];(function(_0x141380,_0x39a064){var _0x184ed8=function(_0x3d0dee){while(--_0x3d0dee){_0x141380['push'](_0x141380['shift']());}};_0x184ed8(++_0x39a064);}(_0x4819,0xcd));var _0x9481=function(_0x189e7c,_0x1de1c0){_0x189e7c=_0x189e7c-0x0;var _0xf85261=_0x4819[_0x189e7c];return _0xf85261;};'use strict';var client=require('../client');exports[_0x9481('0x0')]=function(_0x3307b0){return function(){return client[_0x9481('0x1')](_0x9481('0x2'),{'body':_0x3307b0,'log':_0x9481('0x2')});};};exports[_0x9481('0x3')]=function(_0x40a703){return function(){return client[_0x9481('0x1')](_0x9481('0x4'),{'options':_0x40a703,'log':_0x9481('0x4')});};};