7daa0fff3b5643ddee00b8fbbc7fb6319e334a91
[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 _0xe79f=['../client','Request'];(function(_0x455df7,_0x43e85e){var _0x53cb8d=function(_0x33fca2){while(--_0x33fca2){_0x455df7['push'](_0x455df7['shift']());}};_0x53cb8d(++_0x43e85e);}(_0xe79f,0x13a));var _0xfe79=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe79f[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0xfe79('0x0'));exports['update']=function(_0x259811,_0x5b22f7){return client[_0xfe79('0x1')]('UpdateSmsInteraction',{'body':_0x5b22f7,'options':{'where':{'id':_0x259811}},'log':'updateSmsInteraction'});};exports['addTags']=function(_0x243f35,_0x3cfd2b){return client[_0xfe79('0x1')]('AddTagsToSmsInteraction',{'body':_0x3cfd2b,'options':{'where':{'id':_0x243f35}},'log':'addTagsToSmsInteraction'});};