Built motion from commit (unavailable).|2.5.24
[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 _0xde77=['../client','Request','UpdateSmsInteraction','updateSmsInteraction','addTags','addTagsToSmsInteraction'];(function(_0x4d20e5,_0x1b5ec9){var _0x43d453=function(_0x558e57){while(--_0x558e57){_0x4d20e5['push'](_0x4d20e5['shift']());}};_0x43d453(++_0x1b5ec9);}(_0xde77,0x12c));var _0x7de7=function(_0x50de87,_0x58edaa){_0x50de87=_0x50de87-0x0;var _0x27ee31=_0xde77[_0x50de87];return _0x27ee31;};'use strict';var client=require(_0x7de7('0x0'));exports['update']=function(_0x2391ef,_0x1be2a3){return client[_0x7de7('0x1')](_0x7de7('0x2'),{'body':_0x1be2a3,'options':{'where':{'id':_0x2391ef}},'log':_0x7de7('0x3')});};exports[_0x7de7('0x4')]=function(_0xb5a417,_0x101226){return client[_0x7de7('0x1')]('AddTagsToSmsInteraction',{'body':_0x101226,'options':{'where':{'id':_0xb5a417}},'log':_0x7de7('0x5')});};