f7be554841dac31f3e89f8e63471edba76b42180
[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 _0x55d2=['addTags','AddTagsToSmsInteraction','addTagsToSmsInteraction','Request','UpdateSmsInteraction','updateSmsInteraction'];(function(_0x3f6171,_0x27fd22){var _0x4850d6=function(_0x54b65b){while(--_0x54b65b){_0x3f6171['push'](_0x3f6171['shift']());}};_0x4850d6(++_0x27fd22);}(_0x55d2,0x9f));var _0x255d=function(_0x210574,_0x243237){_0x210574=_0x210574-0x0;var _0x123ad9=_0x55d2[_0x210574];return _0x123ad9;};'use strict';var client=require('../client');exports['update']=function(_0x37e1c7,_0x1bd891){return client[_0x255d('0x0')](_0x255d('0x1'),{'body':_0x1bd891,'options':{'where':{'id':_0x37e1c7}},'log':_0x255d('0x2')});};exports[_0x255d('0x3')]=function(_0x57cbc1,_0x44e16c){return client[_0x255d('0x0')](_0x255d('0x4'),{'body':_0x44e16c,'options':{'where':{'id':_0x57cbc1}},'log':_0x255d('0x5')});};