Built motion from commit (unavailable).|2.4.18
[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 _0xc613=['Request','addTagsToSmsInteraction','../client','UpdateSmsInteraction','updateSmsInteraction'];(function(_0x4f6400,_0x379b1b){var _0x4e447=function(_0x5766a2){while(--_0x5766a2){_0x4f6400['push'](_0x4f6400['shift']());}};_0x4e447(++_0x379b1b);}(_0xc613,0x115));var _0x3c61=function(_0x1aaa99,_0x4701f1){_0x1aaa99=_0x1aaa99-0x0;var _0x1d5c3f=_0xc613[_0x1aaa99];return _0x1d5c3f;};'use strict';var client=require(_0x3c61('0x0'));exports['update']=function(_0x55808c,_0x5cb0b3){return client['Request'](_0x3c61('0x1'),{'body':_0x5cb0b3,'options':{'where':{'id':_0x55808c}},'log':_0x3c61('0x2')});};exports['addTags']=function(_0x197158,_0x55a22a){return client[_0x3c61('0x3')]('AddTagsToSmsInteraction',{'body':_0x55a22a,'options':{'where':{'id':_0x197158}},'log':_0x3c61('0x4')});};