c8cf5c1f6adab64eac21a9ef8c1f957c2bcc0977
[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 _0x98f0=['addTagsToChatInteraction','update','Request','updateOpenchannelInteraction','addTags'];(function(_0x44c7a2,_0x449be7){var _0x3efc90=function(_0x114726){while(--_0x114726){_0x44c7a2['push'](_0x44c7a2['shift']());}};_0x3efc90(++_0x449be7);}(_0x98f0,0x137));var _0x098f=function(_0x5cd63e,_0x2c3e55){_0x5cd63e=_0x5cd63e-0x0;var _0x3760df=_0x98f0[_0x5cd63e];return _0x3760df;};'use strict';var client=require('../client');exports[_0x098f('0x0')]=function(_0x12669a,_0x3f7e09){return client[_0x098f('0x1')]('UpdateOpenchannelInteraction',{'body':_0x3f7e09,'options':{'where':{'id':_0x12669a}},'log':_0x098f('0x2')});};exports[_0x098f('0x3')]=function(_0x4e38be,_0x21c2dd){return client[_0x098f('0x1')]('AddTagsToOpenchannelInteraction',{'body':_0x21c2dd,'options':{'where':{'id':_0x4e38be}},'log':_0x098f('0x4')});};