a010445daad7d050a98fb97a32bcae7beae8a37a
[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 _0x07fa=['../client','update','UpdateSmsInteraction','updateSmsInteraction','Request','addTagsToSmsInteraction'];(function(_0x2aea9e,_0x1f587f){var _0x430b92=function(_0x416c37){while(--_0x416c37){_0x2aea9e['push'](_0x2aea9e['shift']());}};_0x430b92(++_0x1f587f);}(_0x07fa,0x17a));var _0xa07f=function(_0x8a969d,_0x339d9f){_0x8a969d=_0x8a969d-0x0;var _0x1d8dc7=_0x07fa[_0x8a969d];return _0x1d8dc7;};'use strict';var client=require(_0xa07f('0x0'));exports[_0xa07f('0x1')]=function(_0x2b0c5a,_0x15c397){return client['Request'](_0xa07f('0x2'),{'body':_0x15c397,'options':{'where':{'id':_0x2b0c5a}},'log':_0xa07f('0x3')});};exports['addTags']=function(_0x59d261,_0x4dc3f3){return client[_0xa07f('0x4')]('AddTagsToSmsInteraction',{'body':_0x4dc3f3,'options':{'where':{'id':_0x59d261}},'log':_0xa07f('0x5')});};