Built motion from commit 753c950e.|2.5.42
[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 _0xe41f=['addTags','Request','../client','update'];(function(_0x1a6ca1,_0x1c16f2){var _0x8dd57=function(_0x5e03af){while(--_0x5e03af){_0x1a6ca1['push'](_0x1a6ca1['shift']());}};_0x8dd57(++_0x1c16f2);}(_0xe41f,0x13e));var _0xfe41=function(_0x1c9ace,_0x73ccbe){_0x1c9ace=_0x1c9ace-0x0;var _0x250ec0=_0xe41f[_0x1c9ace];return _0x250ec0;};'use strict';var client=require(_0xfe41('0x0'));exports[_0xfe41('0x1')]=function(_0x286c6e,_0x3071fa){return client['Request']('UpdateSmsInteraction',{'body':_0x3071fa,'options':{'where':{'id':_0x286c6e}},'log':'updateSmsInteraction'});};exports[_0xfe41('0x2')]=function(_0x67a2d3,_0x2f849d){return client[_0xfe41('0x3')]('AddTagsToSmsInteraction',{'body':_0x2f849d,'options':{'where':{'id':_0x67a2d3}},'log':'addTagsToSmsInteraction'});};