455d34a00e9a6bc292fb976a41a227d3ef6ebd09
[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 _0xadb8=['UpdateWhatsappInteraction','updateWhatsappInteraction','addTags','addTagsToWhatsappInteraction','Request'];(function(_0x3b6df1,_0x4ac387){var _0x542744=function(_0x30139a){while(--_0x30139a){_0x3b6df1['push'](_0x3b6df1['shift']());}};_0x542744(++_0x4ac387);}(_0xadb8,0x1d0));var _0x8adb=function(_0xd9f102,_0x5a0d28){_0xd9f102=_0xd9f102-0x0;var _0x2652e4=_0xadb8[_0xd9f102];return _0x2652e4;};'use strict';var client=require('../client');exports['update']=function(_0x412fb1,_0x5ba407){return client[_0x8adb('0x0')](_0x8adb('0x1'),{'body':_0x5ba407,'options':{'where':{'id':_0x412fb1}},'log':_0x8adb('0x2')});};exports[_0x8adb('0x3')]=function(_0x44fdf7,_0x2baedb){return client[_0x8adb('0x0')]('AddTagsToWhatsappInteraction',{'body':_0x2baedb,'options':{'where':{'id':_0x44fdf7}},'log':_0x8adb('0x4')});};