c554aecbb88aa121e1390d926cda35e830a76528
[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 _0xc407=['addTagsToChatInteraction','../client','update','Request','updateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction'];(function(_0x3b5250,_0x7a0b2c){var _0xc844a1=function(_0x2fbc98){while(--_0x2fbc98){_0x3b5250['push'](_0x3b5250['shift']());}};_0xc844a1(++_0x7a0b2c);}(_0xc407,0x86));var _0x7c40=function(_0x3e478c,_0x152670){_0x3e478c=_0x3e478c-0x0;var _0x29ef89=_0xc407[_0x3e478c];return _0x29ef89;};'use strict';var client=require(_0x7c40('0x0'));exports[_0x7c40('0x1')]=function(_0x206109,_0xd577c){return client[_0x7c40('0x2')]('UpdateOpenchannelInteraction',{'body':_0xd577c,'options':{'where':{'id':_0x206109}},'log':_0x7c40('0x3')});};exports[_0x7c40('0x4')]=function(_0x30a3a2,_0x2320d4){return client[_0x7c40('0x2')](_0x7c40('0x5'),{'body':_0x2320d4,'options':{'where':{'id':_0x30a3a2}},'log':_0x7c40('0x6')});};