c8e601e57d26ed87ca9d24e04cf929bc7c8a2440
[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 _0xe68b=['addTagsToSmsInteraction','../client','update','Request','updateSmsInteraction','AddTagsToSmsInteraction'];(function(_0x27fc31,_0x871a8){var _0xcd2e75=function(_0x2401eb){while(--_0x2401eb){_0x27fc31['push'](_0x27fc31['shift']());}};_0xcd2e75(++_0x871a8);}(_0xe68b,0x6d));var _0xbe68=function(_0x2b8056,_0x2be43a){_0x2b8056=_0x2b8056-0x0;var _0x3746bb=_0xe68b[_0x2b8056];return _0x3746bb;};'use strict';var client=require(_0xbe68('0x0'));exports[_0xbe68('0x1')]=function(_0x313ee5,_0x289c96){return client[_0xbe68('0x2')]('UpdateSmsInteraction',{'body':_0x289c96,'options':{'where':{'id':_0x313ee5}},'log':_0xbe68('0x3')});};exports['addTags']=function(_0x386910,_0xc1ed7d){return client['Request'](_0xbe68('0x4'),{'body':_0xc1ed7d,'options':{'where':{'id':_0x386910}},'log':_0xbe68('0x5')});};