Built motion from commit f16df95f.|2.5.40
[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 _0x6597=['../client','update','Request','updateSmsInteraction','AddTagsToSmsInteraction','addTagsToSmsInteraction'];(function(_0x13660a,_0x11c555){var _0x148774=function(_0x22a7ec){while(--_0x22a7ec){_0x13660a['push'](_0x13660a['shift']());}};_0x148774(++_0x11c555);}(_0x6597,0x16e));var _0x7659=function(_0x2aa97d,_0x3f609e){_0x2aa97d=_0x2aa97d-0x0;var _0x55682b=_0x6597[_0x2aa97d];return _0x55682b;};'use strict';var client=require(_0x7659('0x0'));exports[_0x7659('0x1')]=function(_0x2720d8,_0x5c67e8){return client[_0x7659('0x2')]('UpdateSmsInteraction',{'body':_0x5c67e8,'options':{'where':{'id':_0x2720d8}},'log':_0x7659('0x3')});};exports['addTags']=function(_0x5e96ed,_0x576e8b){return client[_0x7659('0x2')](_0x7659('0x4'),{'body':_0x576e8b,'options':{'where':{'id':_0x5e96ed}},'log':_0x7659('0x5')});};