Built motion from commit db94841.|2.5.3
[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 _0x3189=['../client','update','Request','UpdateWhatsappInteraction','addTags','AddTagsToWhatsappInteraction'];(function(_0x34ef08,_0x3490fc){var _0x161a4f=function(_0x47f7a1){while(--_0x47f7a1){_0x34ef08['push'](_0x34ef08['shift']());}};_0x161a4f(++_0x3490fc);}(_0x3189,0xae));var _0x9318=function(_0x1df5db,_0x4bc198){_0x1df5db=_0x1df5db-0x0;var _0x2c79dd=_0x3189[_0x1df5db];return _0x2c79dd;};'use strict';var client=require(_0x9318('0x0'));exports[_0x9318('0x1')]=function(_0x4d5650,_0x402f32){return client[_0x9318('0x2')](_0x9318('0x3'),{'body':_0x402f32,'options':{'where':{'id':_0x4d5650}},'log':'updateWhatsappInteraction'});};exports[_0x9318('0x4')]=function(_0x4ed87f,_0x53a864){return client[_0x9318('0x2')](_0x9318('0x5'),{'body':_0x53a864,'options':{'where':{'id':_0x4ed87f}},'log':'addTagsToWhatsappInteraction'});};