Built motion from commit (unavailable).|2.5.21
[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(_0x33f233,_0x3accbd){var _0x3c6090=function(_0x34b9e7){while(--_0x34b9e7){_0x33f233['push'](_0x33f233['shift']());}};_0x3c6090(++_0x3accbd);}(_0x495e,0xfb));var _0xe495=function(_0x512f81,_0x4a7986){_0x512f81=_0x512f81-0x0;var _0xa15099=_0x495e[_0x512f81];return _0xa15099;};'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')});};