5c9abc8983a3014941e94c03af824ee89def1841
[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 _0x425d=['updateSmsInteraction','addTags','AddTagsToSmsInteraction','addTagsToSmsInteraction','../client','Request','UpdateSmsInteraction'];(function(_0x56f29c,_0x4bb59a){var _0x301b51=function(_0x42cc74){while(--_0x42cc74){_0x56f29c['push'](_0x56f29c['shift']());}};_0x301b51(++_0x4bb59a);}(_0x425d,0x1e0));var _0xd425=function(_0x1bb80c,_0x26d406){_0x1bb80c=_0x1bb80c-0x0;var _0x368f16=_0x425d[_0x1bb80c];return _0x368f16;};'use strict';var client=require(_0xd425('0x0'));exports['update']=function(_0x322866,_0x2d1eb3){return client[_0xd425('0x1')](_0xd425('0x2'),{'body':_0x2d1eb3,'options':{'where':{'id':_0x322866}},'log':_0xd425('0x3')});};exports[_0xd425('0x4')]=function(_0x47043f,_0x596be7){return client[_0xd425('0x1')](_0xd425('0x5'),{'body':_0x596be7,'options':{'where':{'id':_0x47043f}},'log':_0xd425('0x6')});};