c97913b404607dde97d2828f69fe3bd42a06a016
[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 _0xfd15=['addTagsToChatInteraction','../client','update','Request','updateOpenchannelInteraction','addTags'];(function(_0x413b4d,_0xa3459c){var _0x8b810a=function(_0x22d441){while(--_0x22d441){_0x413b4d['push'](_0x413b4d['shift']());}};_0x8b810a(++_0xa3459c);}(_0xfd15,0x1bd));var _0x5fd1=function(_0x2b4411,_0x2625ed){_0x2b4411=_0x2b4411-0x0;var _0x8e41ef=_0xfd15[_0x2b4411];return _0x8e41ef;};'use strict';var client=require(_0x5fd1('0x0'));exports[_0x5fd1('0x1')]=function(_0x55f5f9,_0x3a582f){return client[_0x5fd1('0x2')]('UpdateOpenchannelInteraction',{'body':_0x3a582f,'options':{'where':{'id':_0x55f5f9}},'log':_0x5fd1('0x3')});};exports[_0x5fd1('0x4')]=function(_0x3ad81d,_0xefa9cd){return client['Request']('AddTagsToOpenchannelInteraction',{'body':_0xefa9cd,'options':{'where':{'id':_0x3ad81d}},'log':_0x5fd1('0x5')});};