Built motion from commit 5b761a7b.|2.5.36
[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 _0xafe6=['Request','UpdateSmsInteraction','AddTagsToSmsInteraction','addTagsToSmsInteraction','../client','update'];(function(_0x53f37f,_0xfb0b18){var _0x2fe5f8=function(_0x76ef2d){while(--_0x76ef2d){_0x53f37f['push'](_0x53f37f['shift']());}};_0x2fe5f8(++_0xfb0b18);}(_0xafe6,0xac));var _0x6afe=function(_0x3da41e,_0x180f12){_0x3da41e=_0x3da41e-0x0;var _0x52d8d1=_0xafe6[_0x3da41e];return _0x52d8d1;};'use strict';var client=require(_0x6afe('0x0'));exports[_0x6afe('0x1')]=function(_0x4e052d,_0x59a85d){return client[_0x6afe('0x2')](_0x6afe('0x3'),{'body':_0x59a85d,'options':{'where':{'id':_0x4e052d}},'log':'updateSmsInteraction'});};exports['addTags']=function(_0x40d720,_0x176f85){return client[_0x6afe('0x2')](_0x6afe('0x4'),{'body':_0x176f85,'options':{'where':{'id':_0x40d720}},'log':_0x6afe('0x5')});};