01a61b4434e93faffe7dc15c64335def55af2ff1
[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 _0x5b7e=['UpdateOpenchannelInteraction','updateOpenchannelInteraction','addTags','addTagsToChatInteraction','update','Request'];(function(_0x16f215,_0x403e45){var _0x290d9c=function(_0x53325b){while(--_0x53325b){_0x16f215['push'](_0x16f215['shift']());}};_0x290d9c(++_0x403e45);}(_0x5b7e,0x1ae));var _0xe5b7=function(_0x4362d5,_0x1c20a6){_0x4362d5=_0x4362d5-0x0;var _0x5daade=_0x5b7e[_0x4362d5];return _0x5daade;};'use strict';var client=require('../client');exports[_0xe5b7('0x0')]=function(_0x1787cf,_0x442a0d){return client[_0xe5b7('0x1')](_0xe5b7('0x2'),{'body':_0x442a0d,'options':{'where':{'id':_0x1787cf}},'log':_0xe5b7('0x3')});};exports[_0xe5b7('0x4')]=function(_0x172c55,_0xfac015){return client['Request']('AddTagsToOpenchannelInteraction',{'body':_0xfac015,'options':{'where':{'id':_0x172c55}},'log':_0xe5b7('0x5')});};