572114cb2aa98b498b11578601598ed7492c1569
[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 _0xa9f2=['updateChatInteraction','addTags','AddTagsToChatInteraction','addTagsToChatInteraction','../client','Request'];(function(_0x124222,_0x24a4ca){var _0x57848e=function(_0x304256){while(--_0x304256){_0x124222['push'](_0x124222['shift']());}};_0x57848e(++_0x24a4ca);}(_0xa9f2,0x12a));var _0x2a9f=function(_0x3a7f55,_0x1029cf){_0x3a7f55=_0x3a7f55-0x0;var _0x42527c=_0xa9f2[_0x3a7f55];return _0x42527c;};'use strict';var client=require(_0x2a9f('0x0'));exports['update']=function(_0x377685,_0x4a8387){return client[_0x2a9f('0x1')]('UpdateChatInteraction',{'body':_0x4a8387,'options':{'where':{'id':_0x377685}},'log':_0x2a9f('0x2')});};exports[_0x2a9f('0x3')]=function(_0x3c8c05,_0x26452c){return client[_0x2a9f('0x1')](_0x2a9f('0x4'),{'body':_0x26452c,'options':{'where':{'id':_0x3c8c05}},'log':_0x2a9f('0x5')});};