479e28d9424b92e1417f7531aed002b5a3517a57
[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 _0x15b2=['update','Request','updateWhatsappInteraction','addTags','AddTagsToWhatsappInteraction'];(function(_0x49b207,_0x408ade){var _0x2dc8fa=function(_0x150975){while(--_0x150975){_0x49b207['push'](_0x49b207['shift']());}};_0x2dc8fa(++_0x408ade);}(_0x15b2,0x145));var _0x215b=function(_0x229b99,_0xb6a166){_0x229b99=_0x229b99-0x0;var _0x13e10c=_0x15b2[_0x229b99];return _0x13e10c;};'use strict';var client=require('../client');exports[_0x215b('0x0')]=function(_0x51f311,_0x322651){return client[_0x215b('0x1')]('UpdateWhatsappInteraction',{'body':_0x322651,'options':{'where':{'id':_0x51f311}},'log':_0x215b('0x2')});};exports[_0x215b('0x3')]=function(_0x62c5ce,_0x506d00){return client['Request'](_0x215b('0x4'),{'body':_0x506d00,'options':{'where':{'id':_0x62c5ce}},'log':'addTagsToWhatsappInteraction'});};