Built motion from commit (unavailable).|2.4.4
[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 _0x5789=['UpdateOpenchannelInteraction','updateOpenchannelInteraction','AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client','Request'];(function(_0x301773,_0x172fe2){var _0x2ad458=function(_0x3a5d6a){while(--_0x3a5d6a){_0x301773['push'](_0x301773['shift']());}};_0x2ad458(++_0x172fe2);}(_0x5789,0x112));var _0x9578=function(_0x1a1cba,_0x484fc1){_0x1a1cba=_0x1a1cba-0x0;var _0x54d849=_0x5789[_0x1a1cba];return _0x54d849;};'use strict';var client=require(_0x9578('0x0'));exports['update']=function(_0x45779c,_0xd3c0e9){return client[_0x9578('0x1')](_0x9578('0x2'),{'body':_0xd3c0e9,'options':{'where':{'id':_0x45779c}},'log':_0x9578('0x3')});};exports['addTags']=function(_0x12fb97,_0x23bcb0){return client['Request'](_0x9578('0x4'),{'body':_0x23bcb0,'options':{'where':{'id':_0x12fb97}},'log':_0x9578('0x5')});};