a60b8ea0197bb891e05346b92edd04842f359b6a
[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 _0x47c7=['Request','AddTagsToSmsInteraction','../client','UpdateSmsInteraction','updateSmsInteraction'];(function(_0x59db34,_0x593726){var _0x568a53=function(_0x2bf3b4){while(--_0x2bf3b4){_0x59db34['push'](_0x59db34['shift']());}};_0x568a53(++_0x593726);}(_0x47c7,0x1ab));var _0x747c=function(_0x1bc013,_0x7771c6){_0x1bc013=_0x1bc013-0x0;var _0x55df36=_0x47c7[_0x1bc013];return _0x55df36;};'use strict';var client=require(_0x747c('0x0'));exports['update']=function(_0x1e4b3d,_0x63d85a){return client['Request'](_0x747c('0x1'),{'body':_0x63d85a,'options':{'where':{'id':_0x1e4b3d}},'log':_0x747c('0x2')});};exports['addTags']=function(_0x3313cd,_0x3c0c0){return client[_0x747c('0x3')](_0x747c('0x4'),{'body':_0x3c0c0,'options':{'where':{'id':_0x3313cd}},'log':'addTagsToSmsInteraction'});};