Built motion from commit (unavailable).|2.5.4
[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 _0x495e=['Request','UpdateWhatsappInteraction','updateWhatsappInteraction','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','../client'];(function(_0x41933b,_0x406c99){var _0x9c273d=function(_0x50a6ac){while(--_0x50a6ac){_0x41933b['push'](_0x41933b['shift']());}};_0x9c273d(++_0x406c99);}(_0x495e,0xfb));var _0xe495=function(_0x4dc4bd,_0x490bf0){_0x4dc4bd=_0x4dc4bd-0x0;var _0x22a362=_0x495e[_0x4dc4bd];return _0x22a362;};'use strict';var client=require(_0xe495('0x0'));exports['update']=function(_0x47f8b7,_0x3d301f){return client[_0xe495('0x1')](_0xe495('0x2'),{'body':_0x3d301f,'options':{'where':{'id':_0x47f8b7}},'log':_0xe495('0x3')});};exports['addTags']=function(_0x3f119c,_0x442101){return client[_0xe495('0x1')](_0xe495('0x4'),{'body':_0x442101,'options':{'where':{'id':_0x3f119c}},'log':_0xe495('0x5')});};