c50d39a42da4efe9bc4da280800cb5c8d0faa030
[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 _0xe799=['UpdateSmsInteraction','addTags','AddTagsToSmsInteraction','../client','Request'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0xe799,0x170));var _0x9e79=function(_0x40a9aa,_0x42f92c){_0x40a9aa=_0x40a9aa-0x0;var _0x4e974c=_0xe799[_0x40a9aa];return _0x4e974c;};'use strict';var client=require(_0x9e79('0x0'));exports['update']=function(_0x3308ba,_0x59bc90){return client[_0x9e79('0x1')](_0x9e79('0x2'),{'body':_0x59bc90,'options':{'where':{'id':_0x3308ba}},'log':'updateSmsInteraction'});};exports[_0x9e79('0x3')]=function(_0x3f0a4f,_0x809ffd){return client['Request'](_0x9e79('0x4'),{'body':_0x809ffd,'options':{'where':{'id':_0x3f0a4f}},'log':'addTagsToSmsInteraction'});};