Built motion from commit d5e4af8c.|2.6.23
[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 _0xe292=['updateSmsInteraction','addTags','Request'];(function(_0x556fed,_0x2a39c6){var _0x1cbeaf=function(_0x1c0ff1){while(--_0x1c0ff1){_0x556fed['push'](_0x556fed['shift']());}};_0x1cbeaf(++_0x2a39c6);}(_0xe292,0x19e));var _0x2e29=function(_0x51567f,_0x1c5bd0){_0x51567f=_0x51567f-0x0;var _0x3b7f76=_0xe292[_0x51567f];return _0x3b7f76;};'use strict';var client=require('../client');exports['update']=function(_0x325ad7,_0x2f1736){return client['Request']('UpdateSmsInteraction',{'body':_0x2f1736,'options':{'where':{'id':_0x325ad7}},'log':_0x2e29('0x0')});};exports[_0x2e29('0x1')]=function(_0x4fec69,_0x59d723){return client[_0x2e29('0x2')]('AddTagsToSmsInteraction',{'body':_0x59d723,'options':{'where':{'id':_0x4fec69}},'log':'addTagsToSmsInteraction'});};