912386d8c01e4a69f3abcce547f2c094366cb45f
[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 _0x11ea=['../client','Request','UpdateSmsInteraction','updateSmsInteraction','addTags','addTagsToSmsInteraction'];(function(_0x51e347,_0x1b565a){var _0x49ab46=function(_0x5962cf){while(--_0x5962cf){_0x51e347['push'](_0x51e347['shift']());}};_0x49ab46(++_0x1b565a);}(_0x11ea,0x16e));var _0xa11e=function(_0x30cab8,_0x59c0b4){_0x30cab8=_0x30cab8-0x0;var _0x195b8b=_0x11ea[_0x30cab8];return _0x195b8b;};'use strict';var client=require(_0xa11e('0x0'));exports['update']=function(_0x234a71,_0x2b842b){return client[_0xa11e('0x1')](_0xa11e('0x2'),{'body':_0x2b842b,'options':{'where':{'id':_0x234a71}},'log':_0xa11e('0x3')});};exports[_0xa11e('0x4')]=function(_0x36c909,_0x4c5200){return client[_0xa11e('0x1')]('AddTagsToSmsInteraction',{'body':_0x4c5200,'options':{'where':{'id':_0x36c909}},'log':_0xa11e('0x5')});};