Built motion from commit e6806ed6.|2.6.0
[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 _0x008d=['update','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client'];(function(_0x3b54dd,_0x6a1e24){var _0x3bc6cb=function(_0x2eb147){while(--_0x2eb147){_0x3b54dd['push'](_0x3b54dd['shift']());}};_0x3bc6cb(++_0x6a1e24);}(_0x008d,0x1e7));var _0xd008=function(_0x178e48,_0x3c9509){_0x178e48=_0x178e48-0x0;var _0x440d7e=_0x008d[_0x178e48];return _0x440d7e;};'use strict';var client=require(_0xd008('0x0'));exports[_0xd008('0x1')]=function(_0x5a523a,_0x54321a){return client[_0xd008('0x2')](_0xd008('0x3'),{'body':_0x54321a,'options':{'where':{'id':_0x5a523a}},'log':_0xd008('0x4')});};exports[_0xd008('0x5')]=function(_0xa168c1,_0x4ef161){return client[_0xd008('0x2')](_0xd008('0x6'),{'body':_0x4ef161,'options':{'where':{'id':_0xa168c1}},'log':_0xd008('0x7')});};