Built motion from commit 43538d75.|2.5.35
[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 _0xf2b2=['update','Request','UpdateOpenchannelInteraction','AddTagsToOpenchannelInteraction','addTagsToChatInteraction'];(function(_0x28022b,_0x308d6b){var _0x3e4167=function(_0x26bda4){while(--_0x26bda4){_0x28022b['push'](_0x28022b['shift']());}};_0x3e4167(++_0x308d6b);}(_0xf2b2,0x122));var _0x2f2b=function(_0x5887c1,_0x2004c6){_0x5887c1=_0x5887c1-0x0;var _0x2a08bd=_0xf2b2[_0x5887c1];return _0x2a08bd;};'use strict';var client=require('../client');exports[_0x2f2b('0x0')]=function(_0x485c34,_0x5e10da){return client[_0x2f2b('0x1')](_0x2f2b('0x2'),{'body':_0x5e10da,'options':{'where':{'id':_0x485c34}},'log':'updateOpenchannelInteraction'});};exports['addTags']=function(_0x4e3c64,_0x367eca){return client[_0x2f2b('0x1')](_0x2f2b('0x3'),{'body':_0x367eca,'options':{'where':{'id':_0x4e3c64}},'log':_0x2f2b('0x4')});};