Built motion from commit (unavailable).|2.2.0
[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 _0xad97=['Request','UpdateSmsInteraction','updateSmsInteraction','addTags','addTagsToSmsInteraction'];(function(_0x2979e6,_0xfba8d1){var _0x57b810=function(_0x81b44f){while(--_0x81b44f){_0x2979e6['push'](_0x2979e6['shift']());}};_0x57b810(++_0xfba8d1);}(_0xad97,0xdc));var _0x7ad9=function(_0x54e3f6,_0x4a43a8){_0x54e3f6=_0x54e3f6-0x0;var _0x3d490a=_0xad97[_0x54e3f6];return _0x3d490a;};'use strict';var client=require('../client');exports['update']=function(_0x316cfe,_0x5e0967){return client[_0x7ad9('0x0')](_0x7ad9('0x1'),{'body':_0x5e0967,'options':{'where':{'id':_0x316cfe}},'log':_0x7ad9('0x2')});};exports[_0x7ad9('0x3')]=function(_0x456082,_0x1e9d7c){return client['Request']('AddTagsToSmsInteraction',{'body':_0x1e9d7c,'options':{'where':{'id':_0x456082}},'log':_0x7ad9('0x4')});};