e55f2bf6f943c1a51c371587012e60cd81dd2ed5
[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 _0x26c2=['UpdateWhatsappInteraction','updateWhatsappInteraction','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','Request'];(function(_0x1a9d37,_0x1bf49b){var _0x2d7c27=function(_0x440c12){while(--_0x440c12){_0x1a9d37['push'](_0x1a9d37['shift']());}};_0x2d7c27(++_0x1bf49b);}(_0x26c2,0x130));var _0x226c=function(_0x47b827,_0x40b560){_0x47b827=_0x47b827-0x0;var _0x424a99=_0x26c2[_0x47b827];return _0x424a99;};'use strict';var client=require('../client');exports['update']=function(_0x54ff6f,_0x901970){return client[_0x226c('0x0')](_0x226c('0x1'),{'body':_0x901970,'options':{'where':{'id':_0x54ff6f}},'log':_0x226c('0x2')});};exports['addTags']=function(_0x2f79d3,_0x117899){return client['Request'](_0x226c('0x3'),{'body':_0x117899,'options':{'where':{'id':_0x2f79d3}},'log':_0x226c('0x4')});};