Built motion from commit 0900f080.|2.5.45
[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 _0xa93e=['addTags','Request','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','UpdateWhatsappInteraction'];(function(_0x3cbb6,_0x276033){var _0x166d5f=function(_0x2319e3){while(--_0x2319e3){_0x3cbb6['push'](_0x3cbb6['shift']());}};_0x166d5f(++_0x276033);}(_0xa93e,0x1df));var _0xea93=function(_0xd10aa0,_0x8606b4){_0xd10aa0=_0xd10aa0-0x0;var _0x11a407=_0xa93e[_0xd10aa0];return _0x11a407;};'use strict';var client=require('../client');exports['update']=function(_0x25877f,_0x302cc5){return client['Request'](_0xea93('0x0'),{'body':_0x302cc5,'options':{'where':{'id':_0x25877f}},'log':'updateWhatsappInteraction'});};exports[_0xea93('0x1')]=function(_0x5b5341,_0x5398ba){return client[_0xea93('0x2')](_0xea93('0x3'),{'body':_0x5398ba,'options':{'where':{'id':_0x5b5341}},'log':_0xea93('0x4')});};