Built motion from commit e1760111.|2.6.18
[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 _0x02a7=['addTags','addTagsToWhatsappInteraction','update','Request','UpdateWhatsappInteraction','updateWhatsappInteraction'];(function(_0x5d2e25,_0x412949){var _0x3e2dc4=function(_0x53338a){while(--_0x53338a){_0x5d2e25['push'](_0x5d2e25['shift']());}};_0x3e2dc4(++_0x412949);}(_0x02a7,0x7a));var _0x702a=function(_0x2a4442,_0x2b077b){_0x2a4442=_0x2a4442-0x0;var _0x53a692=_0x02a7[_0x2a4442];return _0x53a692;};'use strict';var client=require('../client');exports[_0x702a('0x0')]=function(_0x51c09f,_0x4f12c4){return client[_0x702a('0x1')](_0x702a('0x2'),{'body':_0x4f12c4,'options':{'where':{'id':_0x51c09f}},'log':_0x702a('0x3')});};exports[_0x702a('0x4')]=function(_0x4612ca,_0x1fc26b){return client[_0x702a('0x1')]('AddTagsToWhatsappInteraction',{'body':_0x1fc26b,'options':{'where':{'id':_0x4612ca}},'log':_0x702a('0x5')});};