00a4d6720d83c5b7fd6e8703a5ba6b61d024ae05
[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 _0x7f85=['UpdateChatInteraction','updateChatInteraction','addTags','AddTagsToChatInteraction','addTagsToChatInteraction','../client','Request'];(function(_0xe0c14f,_0x2a5029){var _0x4a896a=function(_0x3e5a96){while(--_0x3e5a96){_0xe0c14f['push'](_0xe0c14f['shift']());}};_0x4a896a(++_0x2a5029);}(_0x7f85,0x17f));var _0x57f8=function(_0x7ce8a5,_0xa18e08){_0x7ce8a5=_0x7ce8a5-0x0;var _0x42d2f5=_0x7f85[_0x7ce8a5];return _0x42d2f5;};'use strict';var client=require(_0x57f8('0x0'));exports['update']=function(_0x15457e,_0x3335b5){return client[_0x57f8('0x1')](_0x57f8('0x2'),{'body':_0x3335b5,'options':{'where':{'id':_0x15457e}},'log':_0x57f8('0x3')});};exports[_0x57f8('0x4')]=function(_0x178b49,_0xc05565){return client[_0x57f8('0x1')](_0x57f8('0x5'),{'body':_0xc05565,'options':{'where':{'id':_0x178b49}},'log':_0x57f8('0x6')});};