9eaa83a70013d32e203a27ba348f1c58d14ce696
[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 _0x7cab=['Request','UpdateSmsInteraction','updateSmsInteraction','AddTagsToSmsInteraction','addTagsToSmsInteraction','../client','update'];(function(_0x5cb3dc,_0x1e7841){var _0x435aea=function(_0x4b4044){while(--_0x4b4044){_0x5cb3dc['push'](_0x5cb3dc['shift']());}};_0x435aea(++_0x1e7841);}(_0x7cab,0x91));var _0xb7ca=function(_0x209ec9,_0x30378c){_0x209ec9=_0x209ec9-0x0;var _0x129b1b=_0x7cab[_0x209ec9];return _0x129b1b;};'use strict';var client=require(_0xb7ca('0x0'));exports[_0xb7ca('0x1')]=function(_0x246602,_0x5b0715){return client[_0xb7ca('0x2')](_0xb7ca('0x3'),{'body':_0x5b0715,'options':{'where':{'id':_0x246602}},'log':_0xb7ca('0x4')});};exports['addTags']=function(_0x37e571,_0x5014c1){return client['Request'](_0xb7ca('0x5'),{'body':_0x5014c1,'options':{'where':{'id':_0x37e571}},'log':_0xb7ca('0x6')});};