2ca61e288276b3e584e7b76db99479c3c7f52879
[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 _0x4433=['Request','updateSmsInteraction','addTags','AddTagsToSmsInteraction','addTagsToSmsInteraction','../client'];(function(_0x46be1a,_0x17d81d){var _0x30196d=function(_0x286734){while(--_0x286734){_0x46be1a['push'](_0x46be1a['shift']());}};_0x30196d(++_0x17d81d);}(_0x4433,0xbf));var _0x3443=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x4433[_0x321bb2];return _0x9c12ed;};'use strict';var client=require(_0x3443('0x0'));exports['update']=function(_0xbe7072,_0x4815b2){return client[_0x3443('0x1')]('UpdateSmsInteraction',{'body':_0x4815b2,'options':{'where':{'id':_0xbe7072}},'log':_0x3443('0x2')});};exports[_0x3443('0x3')]=function(_0x32e2c0,_0x40ccad){return client[_0x3443('0x1')](_0x3443('0x4'),{'body':_0x40ccad,'options':{'where':{'id':_0x32e2c0}},'log':_0x3443('0x5')});};