7091922aa1a7b4005fe62681b201689c2207a932
[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 _0x9de5=['Request','UpdateSmsInteraction','updateSmsInteraction','../client','update'];(function(_0x32a19a,_0x18b1a1){var _0x337938=function(_0x5b1e31){while(--_0x5b1e31){_0x32a19a['push'](_0x32a19a['shift']());}};_0x337938(++_0x18b1a1);}(_0x9de5,0xbc));var _0x59de=function(_0x3f21fc,_0x1679a3){_0x3f21fc=_0x3f21fc-0x0;var _0x39f462=_0x9de5[_0x3f21fc];return _0x39f462;};'use strict';var client=require(_0x59de('0x0'));exports[_0x59de('0x1')]=function(_0x91ec8e,_0x1ae200){return client[_0x59de('0x2')](_0x59de('0x3'),{'body':_0x1ae200,'options':{'where':{'id':_0x91ec8e}},'log':_0x59de('0x4')});};exports['addTags']=function(_0x5babe7,_0x39aeb8){return client['Request']('AddTagsToSmsInteraction',{'body':_0x39aeb8,'options':{'where':{'id':_0x5babe7}},'log':'addTagsToSmsInteraction'});};