Built motion from commit (unavailable).|2.5.22
[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 _0xb332=['AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','../client','UpdateWhatsappInteraction','addTags'];(function(_0x2034e0,_0x138d2c){var _0x100e04=function(_0x2d06c1){while(--_0x2d06c1){_0x2034e0['push'](_0x2034e0['shift']());}};_0x100e04(++_0x138d2c);}(_0xb332,0xd9));var _0x2b33=function(_0x1ca29f,_0x318ac5){_0x1ca29f=_0x1ca29f-0x0;var _0x576c3b=_0xb332[_0x1ca29f];return _0x576c3b;};'use strict';var client=require(_0x2b33('0x0'));exports['update']=function(_0x196261,_0x199daa){return client['Request'](_0x2b33('0x1'),{'body':_0x199daa,'options':{'where':{'id':_0x196261}},'log':'updateWhatsappInteraction'});};exports[_0x2b33('0x2')]=function(_0x4c6634,_0x34b111){return client['Request'](_0x2b33('0x3'),{'body':_0x34b111,'options':{'where':{'id':_0x4c6634}},'log':_0x2b33('0x4')});};