e255177b6f08eba39a6140c8d91814caeba4ba0d
[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 _0x231c=['Request','addTags','addTagsToSmsInteraction','../client','update'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x231c,0x134));var _0xc231=function(_0x27cbcd,_0x64c787){_0x27cbcd=_0x27cbcd-0x0;var _0x6b32ba=_0x231c[_0x27cbcd];return _0x6b32ba;};'use strict';var client=require(_0xc231('0x0'));exports[_0xc231('0x1')]=function(_0x1555e5,_0x3a6fcc){return client[_0xc231('0x2')]('UpdateSmsInteraction',{'body':_0x3a6fcc,'options':{'where':{'id':_0x1555e5}},'log':'updateSmsInteraction'});};exports[_0xc231('0x3')]=function(_0x206bcc,_0x54019c){return client['Request']('AddTagsToSmsInteraction',{'body':_0x54019c,'options':{'where':{'id':_0x206bcc}},'log':_0xc231('0x4')});};