Built motion from commit ffdca78c.|2.6.24
[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 _0x4a81=['update','updateSmsInteraction','addTagsToSmsInteraction','../client'];(function(_0x5f1da0,_0x8f384d){var _0x5d478=function(_0x589b2e){while(--_0x589b2e){_0x5f1da0['push'](_0x5f1da0['shift']());}};_0x5d478(++_0x8f384d);}(_0x4a81,0x1b7));var _0x14a8=function(_0x34d833,_0x5a1094){_0x34d833=_0x34d833-0x0;var _0x1f0122=_0x4a81[_0x34d833];return _0x1f0122;};'use strict';var client=require(_0x14a8('0x0'));exports[_0x14a8('0x1')]=function(_0x3a301f,_0x104041){return client['Request']('UpdateSmsInteraction',{'body':_0x104041,'options':{'where':{'id':_0x3a301f}},'log':_0x14a8('0x2')});};exports['addTags']=function(_0x39c3d4,_0x3363f8){return client['Request']('AddTagsToSmsInteraction',{'body':_0x3363f8,'options':{'where':{'id':_0x39c3d4}},'log':_0x14a8('0x3')});};