Built motion from commit 3c2ce842.|2.6.31
[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 _0x292c=['../client','Request','UpdateWhatsappInteraction','updateWhatsappInteraction','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction'];(function(_0x59c2e3,_0x254882){var _0x111701=function(_0x49da99){while(--_0x49da99){_0x59c2e3['push'](_0x59c2e3['shift']());}};_0x111701(++_0x254882);}(_0x292c,0x66));var _0xc292=function(_0x3acee8,_0x5f3924){_0x3acee8=_0x3acee8-0x0;var _0x5046cc=_0x292c[_0x3acee8];return _0x5046cc;};'use strict';var client=require(_0xc292('0x0'));exports['update']=function(_0x286dcb,_0x379366){return client[_0xc292('0x1')](_0xc292('0x2'),{'body':_0x379366,'options':{'where':{'id':_0x286dcb}},'log':_0xc292('0x3')});};exports['addTags']=function(_0x1f14f9,_0x536154){return client['Request'](_0xc292('0x4'),{'body':_0x536154,'options':{'where':{'id':_0x1f14f9}},'log':_0xc292('0x5')});};