Built motion from commit e0fa946e.|2.6.5
[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 _0x379e=['addTags','addTagsToSmsInteraction','../client','Request','UpdateSmsInteraction','updateSmsInteraction'];(function(_0x2a2370,_0x375a9b){var _0x1c94c1=function(_0x3b8891){while(--_0x3b8891){_0x2a2370['push'](_0x2a2370['shift']());}};_0x1c94c1(++_0x375a9b);}(_0x379e,0x104));var _0xe379=function(_0x51f26e,_0x40a834){_0x51f26e=_0x51f26e-0x0;var _0xaff02c=_0x379e[_0x51f26e];return _0xaff02c;};'use strict';var client=require(_0xe379('0x0'));exports['update']=function(_0x565eb4,_0x4bbe70){return client[_0xe379('0x1')](_0xe379('0x2'),{'body':_0x4bbe70,'options':{'where':{'id':_0x565eb4}},'log':_0xe379('0x3')});};exports[_0xe379('0x4')]=function(_0x3db31a,_0x475418){return client[_0xe379('0x1')]('AddTagsToSmsInteraction',{'body':_0x475418,'options':{'where':{'id':_0x3db31a}},'log':_0xe379('0x5')});};