ac727207e4bd5f0a77f8fd78e081e2e88c9efdfc
[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 _0x150a=['AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client','update','Request','updateOpenchannelInteraction','addTags'];(function(_0x272ad0,_0x4af3da){var _0x4c09e9=function(_0x2d015f){while(--_0x2d015f){_0x272ad0['push'](_0x272ad0['shift']());}};_0x4c09e9(++_0x4af3da);}(_0x150a,0x1c2));var _0xa150=function(_0x50a805,_0x514091){_0x50a805=_0x50a805-0x0;var _0xb33c67=_0x150a[_0x50a805];return _0xb33c67;};'use strict';var client=require(_0xa150('0x0'));exports[_0xa150('0x1')]=function(_0x4f2784,_0x5742d6){return client[_0xa150('0x2')]('UpdateOpenchannelInteraction',{'body':_0x5742d6,'options':{'where':{'id':_0x4f2784}},'log':_0xa150('0x3')});};exports[_0xa150('0x4')]=function(_0x14e2d4,_0x47f2d7){return client[_0xa150('0x2')](_0xa150('0x5'),{'body':_0x47f2d7,'options':{'where':{'id':_0x14e2d4}},'log':_0xa150('0x6')});};