2fdfd344fa177a2b6e1538cecbd4a396c12e1e70
[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 _0x6921=['Request','AddTagsToSmsInteraction','addTagsToSmsInteraction','update','UpdateSmsInteraction','updateSmsInteraction'];(function(_0x37cba1,_0x5b6cc7){var _0x4ea4c9=function(_0x15564e){while(--_0x15564e){_0x37cba1['push'](_0x37cba1['shift']());}};_0x4ea4c9(++_0x5b6cc7);}(_0x6921,0x1d1));var _0x1692=function(_0x458d59,_0x201d8d){_0x458d59=_0x458d59-0x0;var _0x213c63=_0x6921[_0x458d59];return _0x213c63;};'use strict';var client=require('../client');exports[_0x1692('0x0')]=function(_0x566deb,_0x30ea90){return client['Request'](_0x1692('0x1'),{'body':_0x30ea90,'options':{'where':{'id':_0x566deb}},'log':_0x1692('0x2')});};exports['addTags']=function(_0x3995b3,_0x577497){return client[_0x1692('0x3')](_0x1692('0x4'),{'body':_0x577497,'options':{'where':{'id':_0x3995b3}},'log':_0x1692('0x5')});};