Built motion from commit (unavailable).|2.5.29
[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 _0x402f=['addTags','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','../client','UpdateWhatsappInteraction','updateWhatsappInteraction'];(function(_0x1d3176,_0x48f78b){var _0x284232=function(_0x5edc17){while(--_0x5edc17){_0x1d3176['push'](_0x1d3176['shift']());}};_0x284232(++_0x48f78b);}(_0x402f,0x6f));var _0xf402=function(_0x450a7e,_0x39ca8b){_0x450a7e=_0x450a7e-0x0;var _0x42c4c4=_0x402f[_0x450a7e];return _0x42c4c4;};'use strict';var client=require(_0xf402('0x0'));exports['update']=function(_0x15798b,_0x567587){return client['Request'](_0xf402('0x1'),{'body':_0x567587,'options':{'where':{'id':_0x15798b}},'log':_0xf402('0x2')});};exports[_0xf402('0x3')]=function(_0x4a52b8,_0x246c5f){return client['Request'](_0xf402('0x4'),{'body':_0x246c5f,'options':{'where':{'id':_0x4a52b8}},'log':_0xf402('0x5')});};