7a006649261ddeee70de6b64e508610e2b5537c5
[motion2.git] / server / services / routing / rpc / openchannelInteraction.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 _0xafda=['../client','update','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction'];(function(_0x282eec,_0x53d5a8){var _0x39d87b=function(_0x550b55){while(--_0x550b55){_0x282eec['push'](_0x282eec['shift']());}};_0x39d87b(++_0x53d5a8);}(_0xafda,0x70));var _0xaafd=function(_0x1c8cc6,_0x411e5c){_0x1c8cc6=_0x1c8cc6-0x0;var _0x522936=_0xafda[_0x1c8cc6];return _0x522936;};'use strict';var client=require(_0xaafd('0x0'));exports[_0xaafd('0x1')]=function(_0x3b9d52,_0x28d651){return client[_0xaafd('0x2')](_0xaafd('0x3'),{'body':_0x28d651,'options':{'where':{'id':_0x3b9d52}},'log':_0xaafd('0x4')});};exports[_0xaafd('0x5')]=function(_0x381dcb,_0x3b0964){return client['Request'](_0xaafd('0x6'),{'body':_0x3b0964,'options':{'where':{'id':_0x381dcb}},'log':'addTagsToChatInteraction'});};