2720a4283c9e587d48618e504c6373a6118af672
[motion2.git] / server / services / routing / rpc / smsInteraction.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 _0x02ef=['addTags','AddTagsToSmsInteraction','../client','Request','UpdateSmsInteraction'];(function(_0x508276,_0x56c804){var _0xfc4c3=function(_0x52a106){while(--_0x52a106){_0x508276['push'](_0x508276['shift']());}};_0xfc4c3(++_0x56c804);}(_0x02ef,0x11a));var _0xf02e=function(_0xce5934,_0x34cbbb){_0xce5934=_0xce5934-0x0;var _0x6cf803=_0x02ef[_0xce5934];return _0x6cf803;};'use strict';var client=require(_0xf02e('0x0'));exports['update']=function(_0x3c6866,_0x4ba323){return client[_0xf02e('0x1')](_0xf02e('0x2'),{'body':_0x4ba323,'options':{'where':{'id':_0x3c6866}},'log':'updateSmsInteraction'});};exports[_0xf02e('0x3')]=function(_0x4783f7,_0x1edc1c){return client[_0xf02e('0x1')](_0xf02e('0x4'),{'body':_0x1edc1c,'options':{'where':{'id':_0x4783f7}},'log':'addTagsToSmsInteraction'});};