0430eacb345ca41df55865614e29f5225f0187ca
[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 _0x5f57=['AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client','update','Request','UpdateOpenchannelInteraction','addTags'];(function(_0x24721a,_0x1ac53c){var _0x6a9880=function(_0x558dc8){while(--_0x558dc8){_0x24721a['push'](_0x24721a['shift']());}};_0x6a9880(++_0x1ac53c);}(_0x5f57,0x175));var _0x75f5=function(_0x475b06,_0x5187c7){_0x475b06=_0x475b06-0x0;var _0x41af08=_0x5f57[_0x475b06];return _0x41af08;};'use strict';var client=require(_0x75f5('0x0'));exports[_0x75f5('0x1')]=function(_0x835067,_0x39a340){return client[_0x75f5('0x2')](_0x75f5('0x3'),{'body':_0x39a340,'options':{'where':{'id':_0x835067}},'log':'updateOpenchannelInteraction'});};exports[_0x75f5('0x4')]=function(_0xa4c36e,_0x1a36dc){return client[_0x75f5('0x2')](_0x75f5('0x5'),{'body':_0x1a36dc,'options':{'where':{'id':_0xa4c36e}},'log':_0x75f5('0x6')});};