Built motion from commit (unavailable).|2.4.8
[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 _0x51d9=['update','UpdateOpenchannelInteraction','Request','AddTagsToOpenchannelInteraction'];(function(_0x5b5104,_0x11aea2){var _0x479c37=function(_0x53ab36){while(--_0x53ab36){_0x5b5104['push'](_0x5b5104['shift']());}};_0x479c37(++_0x11aea2);}(_0x51d9,0x164));var _0x951d=function(_0x1b2927,_0x13c72a){_0x1b2927=_0x1b2927-0x0;var _0x7f8cad=_0x51d9[_0x1b2927];return _0x7f8cad;};'use strict';var client=require('../client');exports[_0x951d('0x0')]=function(_0x9b4ee9,_0x1863a7){return client['Request'](_0x951d('0x1'),{'body':_0x1863a7,'options':{'where':{'id':_0x9b4ee9}},'log':'updateOpenchannelInteraction'});};exports['addTags']=function(_0x5be10a,_0x58e25f){return client[_0x951d('0x2')](_0x951d('0x3'),{'body':_0x58e25f,'options':{'where':{'id':_0x5be10a}},'log':'addTagsToChatInteraction'});};