Built motion from commit 10af8726.|2.6.34
[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 _0xb6f1=['UpdateSmsInteraction','updateSmsInteraction','AddTagsToSmsInteraction','addTagsToSmsInteraction','../client','Request'];(function(_0x510b98,_0x4c4cbb){var _0x45e775=function(_0x29ec11){while(--_0x29ec11){_0x510b98['push'](_0x510b98['shift']());}};_0x45e775(++_0x4c4cbb);}(_0xb6f1,0x118));var _0x1b6f=function(_0x27c24e,_0x5db1c7){_0x27c24e=_0x27c24e-0x0;var _0x39004a=_0xb6f1[_0x27c24e];return _0x39004a;};'use strict';var client=require(_0x1b6f('0x0'));exports['update']=function(_0x28d590,_0x569d4d){return client[_0x1b6f('0x1')](_0x1b6f('0x2'),{'body':_0x569d4d,'options':{'where':{'id':_0x28d590}},'log':_0x1b6f('0x3')});};exports['addTags']=function(_0x2cd276,_0x58afbb){return client[_0x1b6f('0x1')](_0x1b6f('0x4'),{'body':_0x58afbb,'options':{'where':{'id':_0x2cd276}},'log':_0x1b6f('0x5')});};