adc6c9efedef252e05140f4407db0511418227cb
[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 _0xd393=['addTags','AddTagsToOpenchannelInteraction','../client','update','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction'];(function(_0x12f8b5,_0x5b6d8b){var _0x1b07da=function(_0x82723c){while(--_0x82723c){_0x12f8b5['push'](_0x12f8b5['shift']());}};_0x1b07da(++_0x5b6d8b);}(_0xd393,0xe2));var _0x3d39=function(_0x3fd034,_0x1ecd9c){_0x3fd034=_0x3fd034-0x0;var _0x1af6d1=_0xd393[_0x3fd034];return _0x1af6d1;};'use strict';var client=require(_0x3d39('0x0'));exports[_0x3d39('0x1')]=function(_0x1650c2,_0x4ec509){return client[_0x3d39('0x2')](_0x3d39('0x3'),{'body':_0x4ec509,'options':{'where':{'id':_0x1650c2}},'log':_0x3d39('0x4')});};exports[_0x3d39('0x5')]=function(_0x45179a,_0x50882f){return client[_0x3d39('0x2')](_0x3d39('0x6'),{'body':_0x50882f,'options':{'where':{'id':_0x45179a}},'log':'addTagsToChatInteraction'});};