Built motion from commit efa66e19.|2.6.22
[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 _0x8d8c=['Request','addTags','update'];(function(_0x4b7b69,_0x3ab075){var _0x173b4c=function(_0x234d5f){while(--_0x234d5f){_0x4b7b69['push'](_0x4b7b69['shift']());}};_0x173b4c(++_0x3ab075);}(_0x8d8c,0x1a9));var _0xc8d8=function(_0x4ea413,_0x51ff3a){_0x4ea413=_0x4ea413-0x0;var _0x51cf25=_0x8d8c[_0x4ea413];return _0x51cf25;};'use strict';var client=require('../client');exports[_0xc8d8('0x0')]=function(_0x251897,_0x4a729c){return client[_0xc8d8('0x1')]('UpdateOpenchannelInteraction',{'body':_0x4a729c,'options':{'where':{'id':_0x251897}},'log':'updateOpenchannelInteraction'});};exports[_0xc8d8('0x2')]=function(_0x285120,_0x327cc2){return client[_0xc8d8('0x1')]('AddTagsToOpenchannelInteraction',{'body':_0x327cc2,'options':{'where':{'id':_0x285120}},'log':'addTagsToChatInteraction'});};