ed4d103d775f6a3be713f3c12457c2a2afb87dcc
[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 _0x43b1=['update','Request','updateWhatsappInteraction','addTags','AddTagsToWhatsappInteraction','../client'];(function(_0xfbc402,_0x5185fb){var _0x331507=function(_0x49db27){while(--_0x49db27){_0xfbc402['push'](_0xfbc402['shift']());}};_0x331507(++_0x5185fb);}(_0x43b1,0x7d));var _0x143b=function(_0x1b802b,_0x2094c8){_0x1b802b=_0x1b802b-0x0;var _0x31057a=_0x43b1[_0x1b802b];return _0x31057a;};'use strict';var client=require(_0x143b('0x0'));exports[_0x143b('0x1')]=function(_0x426f2c,_0x4c0b11){return client[_0x143b('0x2')]('UpdateWhatsappInteraction',{'body':_0x4c0b11,'options':{'where':{'id':_0x426f2c}},'log':_0x143b('0x3')});};exports[_0x143b('0x4')]=function(_0x223e86,_0x1552bc){return client[_0x143b('0x2')](_0x143b('0x5'),{'body':_0x1552bc,'options':{'where':{'id':_0x223e86}},'log':'addTagsToWhatsappInteraction'});};