a186f6168d183fd993068891b14d2de072eb4bca
[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 _0x8514=['../client','update','Request','UpdateSmsInteraction','updateSmsInteraction','addTags','addTagsToSmsInteraction'];(function(_0xf0cc11,_0x5988b8){var _0x1055da=function(_0x15b680){while(--_0x15b680){_0xf0cc11['push'](_0xf0cc11['shift']());}};_0x1055da(++_0x5988b8);}(_0x8514,0x93));var _0x4851=function(_0x157acc,_0x402f42){_0x157acc=_0x157acc-0x0;var _0x31e6bc=_0x8514[_0x157acc];return _0x31e6bc;};'use strict';var client=require(_0x4851('0x0'));exports[_0x4851('0x1')]=function(_0x1dd45e,_0xb70d2b){return client[_0x4851('0x2')](_0x4851('0x3'),{'body':_0xb70d2b,'options':{'where':{'id':_0x1dd45e}},'log':_0x4851('0x4')});};exports[_0x4851('0x5')]=function(_0x546b08,_0x5a7429){return client['Request']('AddTagsToSmsInteraction',{'body':_0x5a7429,'options':{'where':{'id':_0x546b08}},'log':_0x4851('0x6')});};