08e2dee3e4c56ddc52d95fd6a2d1d661bdc343a9
[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 _0x3784=['updateSmsInteraction','addTags','../client','update','Request'];(function(_0x4d8ed9,_0x2ae284){var _0x1e2140=function(_0x9cca89){while(--_0x9cca89){_0x4d8ed9['push'](_0x4d8ed9['shift']());}};_0x1e2140(++_0x2ae284);}(_0x3784,0x16f));var _0x4378=function(_0x233620,_0x337f8a){_0x233620=_0x233620-0x0;var _0x836f02=_0x3784[_0x233620];return _0x836f02;};'use strict';var client=require(_0x4378('0x0'));exports[_0x4378('0x1')]=function(_0x3fb086,_0x145ab7){return client[_0x4378('0x2')]('UpdateSmsInteraction',{'body':_0x145ab7,'options':{'where':{'id':_0x3fb086}},'log':_0x4378('0x3')});};exports[_0x4378('0x4')]=function(_0x13c237,_0x9f63f4){return client['Request']('AddTagsToSmsInteraction',{'body':_0x9f63f4,'options':{'where':{'id':_0x13c237}},'log':'addTagsToSmsInteraction'});};