Built motion from commit (unavailable).|2.3.1
[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 _0xc958=['AddTagsToOpenchannelInteraction','../client','addTags','Request'];(function(_0x5eefac,_0x1f3278){var _0x333d38=function(_0x1b42be){while(--_0x1b42be){_0x5eefac['push'](_0x5eefac['shift']());}};_0x333d38(++_0x1f3278);}(_0xc958,0xb9));var _0x8c95=function(_0x5538c9,_0x4b33e1){_0x5538c9=_0x5538c9-0x0;var _0x44b41c=_0xc958[_0x5538c9];return _0x44b41c;};'use strict';var client=require(_0x8c95('0x0'));exports['update']=function(_0x32cc5e,_0x3f6d7a){return client['Request']('UpdateOpenchannelInteraction',{'body':_0x3f6d7a,'options':{'where':{'id':_0x32cc5e}},'log':'updateOpenchannelInteraction'});};exports[_0x8c95('0x1')]=function(_0x301ae1,_0x180dbd){return client[_0x8c95('0x2')](_0x8c95('0x3'),{'body':_0x180dbd,'options':{'where':{'id':_0x301ae1}},'log':'addTagsToChatInteraction'});};