Built motion from commit b5413ace.|2.6.9
[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 _0xe489=['UpdateSmsInteraction','updateSmsInteraction','addTags','addTagsToSmsInteraction','../client','update','Request'];(function(_0x9107f0,_0x5bf478){var _0x503e57=function(_0xc1de3d){while(--_0xc1de3d){_0x9107f0['push'](_0x9107f0['shift']());}};_0x503e57(++_0x5bf478);}(_0xe489,0x9e));var _0x9e48=function(_0x374290,_0xe17fec){_0x374290=_0x374290-0x0;var _0x1c5e0f=_0xe489[_0x374290];return _0x1c5e0f;};'use strict';var client=require(_0x9e48('0x0'));exports[_0x9e48('0x1')]=function(_0x4cc45c,_0x38c1c5){return client[_0x9e48('0x2')](_0x9e48('0x3'),{'body':_0x38c1c5,'options':{'where':{'id':_0x4cc45c}},'log':_0x9e48('0x4')});};exports[_0x9e48('0x5')]=function(_0x5f372b,_0x5f02d6){return client[_0x9e48('0x2')]('AddTagsToSmsInteraction',{'body':_0x5f02d6,'options':{'where':{'id':_0x5f372b}},'log':_0x9e48('0x6')});};