1ec8b13888ad72334b7b9655c820de3ba6a536f6
[motion2.git] / server / services / routing / rpc / chatInteraction.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 _0x641a=['UpdateChatInteraction','addTags','AddTagsToChatInteraction','addTagsToChatInteraction','Request'];(function(_0xf5645f,_0x6ce38a){var _0xf97ffe=function(_0x52a053){while(--_0x52a053){_0xf5645f['push'](_0xf5645f['shift']());}};_0xf97ffe(++_0x6ce38a);}(_0x641a,0x171));var _0xa641=function(_0x3c504b,_0x437693){_0x3c504b=_0x3c504b-0x0;var _0x2e5354=_0x641a[_0x3c504b];return _0x2e5354;};'use strict';var client=require('../client');exports['update']=function(_0x27b653,_0x3d9fa2){return client[_0xa641('0x0')](_0xa641('0x1'),{'body':_0x3d9fa2,'options':{'where':{'id':_0x27b653}},'log':'updateChatInteraction'});};exports[_0xa641('0x2')]=function(_0x20179e,_0x416b0c){return client[_0xa641('0x0')](_0xa641('0x3'),{'body':_0x416b0c,'options':{'where':{'id':_0x20179e}},'log':_0xa641('0x4')});};