8c3cac50a48fd6ad705623e80d11ebb24a83bee2
[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 _0x782e=['AddTagsToSmsInteraction','UpdateSmsInteraction','updateSmsInteraction','Request'];(function(_0x3ad52b,_0x5307eb){var _0x435163=function(_0x2f0d50){while(--_0x2f0d50){_0x3ad52b['push'](_0x3ad52b['shift']());}};_0x435163(++_0x5307eb);}(_0x782e,0xb9));var _0xe782=function(_0x12d6b5,_0x3c1f4b){_0x12d6b5=_0x12d6b5-0x0;var _0x592a40=_0x782e[_0x12d6b5];return _0x592a40;};'use strict';var client=require('../client');exports['update']=function(_0x120c31,_0x15b01d){return client['Request'](_0xe782('0x0'),{'body':_0x15b01d,'options':{'where':{'id':_0x120c31}},'log':_0xe782('0x1')});};exports['addTags']=function(_0x26f960,_0x6726f){return client[_0xe782('0x2')](_0xe782('0x3'),{'body':_0x6726f,'options':{'where':{'id':_0x26f960}},'log':'addTagsToSmsInteraction'});};