5a91d97e860e62b701f729410efb34146224054c
[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 _0x119c=['updateSmsInteraction','addTagsToSmsInteraction','../client','update','Request'];(function(_0x9cafc9,_0xda5160){var _0x16817a=function(_0x281b7e){while(--_0x281b7e){_0x9cafc9['push'](_0x9cafc9['shift']());}};_0x16817a(++_0xda5160);}(_0x119c,0x7f));var _0xc119=function(_0x46f1a6,_0xc7a582){_0x46f1a6=_0x46f1a6-0x0;var _0x38429a=_0x119c[_0x46f1a6];return _0x38429a;};'use strict';var client=require(_0xc119('0x0'));exports[_0xc119('0x1')]=function(_0x3dc569,_0x4dde5a){return client[_0xc119('0x2')]('UpdateSmsInteraction',{'body':_0x4dde5a,'options':{'where':{'id':_0x3dc569}},'log':_0xc119('0x3')});};exports['addTags']=function(_0x15dbfc,_0x4dc696){return client[_0xc119('0x2')]('AddTagsToSmsInteraction',{'body':_0x4dc696,'options':{'where':{'id':_0x15dbfc}},'log':_0xc119('0x4')});};