Built motion from commit (unavailable).|2.5.26
[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 _0x6d56=['../client','Request','UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction'];(function(_0x54ae02,_0x22b535){var _0x4c8a24=function(_0x12a50c){while(--_0x12a50c){_0x54ae02['push'](_0x54ae02['shift']());}};_0x4c8a24(++_0x22b535);}(_0x6d56,0xf0));var _0x66d5=function(_0x51a56b,_0x2f8350){_0x51a56b=_0x51a56b-0x0;var _0x10d3f2=_0x6d56[_0x51a56b];return _0x10d3f2;};'use strict';var client=require(_0x66d5('0x0'));exports['update']=function(_0x3ad380,_0x9e0b1){return client[_0x66d5('0x1')](_0x66d5('0x2'),{'body':_0x9e0b1,'options':{'where':{'id':_0x3ad380}},'log':_0x66d5('0x3')});};exports[_0x66d5('0x4')]=function(_0x4fc54e,_0x401129){return client[_0x66d5('0x1')](_0x66d5('0x5'),{'body':_0x401129,'options':{'where':{'id':_0x4fc54e}},'log':'addTagsToChatInteraction'});};