Built motion from commit (unavailable).|2.5.26
[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 _0x1613=['../client','AddTagsToSmsInteraction','addTagsToSmsInteraction'];(function(_0x2a0738,_0x3c0bc5){var _0x159679=function(_0x9c9ec7){while(--_0x9c9ec7){_0x2a0738['push'](_0x2a0738['shift']());}};_0x159679(++_0x3c0bc5);}(_0x1613,0xe1));var _0x3161=function(_0x45b4eb,_0x1eed0c){_0x45b4eb=_0x45b4eb-0x0;var _0x1a738e=_0x1613[_0x45b4eb];return _0x1a738e;};'use strict';var client=require(_0x3161('0x0'));exports['update']=function(_0x4d9a24,_0x4dedb9){return client['Request']('UpdateSmsInteraction',{'body':_0x4dedb9,'options':{'where':{'id':_0x4d9a24}},'log':'updateSmsInteraction'});};exports['addTags']=function(_0x1ffc1a,_0x4cdbba){return client['Request'](_0x3161('0x1'),{'body':_0x4cdbba,'options':{'where':{'id':_0x1ffc1a}},'log':_0x3161('0x2')});};