3272d6deb8a52f96a08fd5eb280be2a7e5121eec
[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 _0x21e2=['addTagsToChatInteraction','../client','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction','AddTagsToOpenchannelInteraction'];(function(_0xef8146,_0x459c34){var _0x5a6cb0=function(_0x2f84ec){while(--_0x2f84ec){_0xef8146['push'](_0xef8146['shift']());}};_0x5a6cb0(++_0x459c34);}(_0x21e2,0x97));var _0x221e=function(_0x5f1488,_0x3788ba){_0x5f1488=_0x5f1488-0x0;var _0x290e51=_0x21e2[_0x5f1488];return _0x290e51;};'use strict';var client=require(_0x221e('0x0'));exports['update']=function(_0x4b182b,_0x4b2522){return client[_0x221e('0x1')](_0x221e('0x2'),{'body':_0x4b2522,'options':{'where':{'id':_0x4b182b}},'log':_0x221e('0x3')});};exports['addTags']=function(_0xfc5a56,_0x57280c){return client[_0x221e('0x1')](_0x221e('0x4'),{'body':_0x57280c,'options':{'where':{'id':_0xfc5a56}},'log':_0x221e('0x5')});};