Built motion from commit da617fac.|2.6.6
[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 _0x8a8b=['Request','updateSmsInteraction','AddTagsToSmsInteraction','addTagsToSmsInteraction','../client'];(function(_0x25b0ae,_0x59c0d3){var _0x2d3853=function(_0x192314){while(--_0x192314){_0x25b0ae['push'](_0x25b0ae['shift']());}};_0x2d3853(++_0x59c0d3);}(_0x8a8b,0xae));var _0xb8a8=function(_0x5d0e50,_0x3e90eb){_0x5d0e50=_0x5d0e50-0x0;var _0x1a56ee=_0x8a8b[_0x5d0e50];return _0x1a56ee;};'use strict';var client=require(_0xb8a8('0x0'));exports['update']=function(_0x54e14e,_0x30a142){return client[_0xb8a8('0x1')]('UpdateSmsInteraction',{'body':_0x30a142,'options':{'where':{'id':_0x54e14e}},'log':_0xb8a8('0x2')});};exports['addTags']=function(_0xca9854,_0x4fe301){return client[_0xb8a8('0x1')](_0xb8a8('0x3'),{'body':_0x4fe301,'options':{'where':{'id':_0xca9854}},'log':_0xb8a8('0x4')});};