Built motion from commit fe909640.|2.6.8
[motion2.git] / server / services / routing / rpc / whatsappInteraction.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 _0x8ad5=['AddTagsToWhatsappInteraction','../client','update','updateWhatsappInteraction','addTags','Request'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x8ad5,0xf1));var _0x58ad=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x8ad5[_0x2dafbe];return _0x58a45a;};'use strict';var client=require(_0x58ad('0x0'));exports[_0x58ad('0x1')]=function(_0x114e73,_0x263210){return client['Request']('UpdateWhatsappInteraction',{'body':_0x263210,'options':{'where':{'id':_0x114e73}},'log':_0x58ad('0x2')});};exports[_0x58ad('0x3')]=function(_0x223e54,_0x22aba9){return client[_0x58ad('0x4')](_0x58ad('0x5'),{'body':_0x22aba9,'options':{'where':{'id':_0x223e54}},'log':'addTagsToWhatsappInteraction'});};