54fee39a6367d48a32451681f90a655d49474760
[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 _0xbd54=['UpdateSmsInteraction','updateSmsInteraction','addTags','Request','AddTagsToSmsInteraction','addTagsToSmsInteraction'];(function(_0x2db19a,_0x24d5a7){var _0x2b8e39=function(_0x459a4d){while(--_0x459a4d){_0x2db19a['push'](_0x2db19a['shift']());}};_0x2b8e39(++_0x24d5a7);}(_0xbd54,0x12c));var _0x4bd5=function(_0x4a4d88,_0x2be95a){_0x4a4d88=_0x4a4d88-0x0;var _0x479329=_0xbd54[_0x4a4d88];return _0x479329;};'use strict';var client=require('../client');exports['update']=function(_0x916c6,_0x1cb0fb){return client['Request'](_0x4bd5('0x0'),{'body':_0x1cb0fb,'options':{'where':{'id':_0x916c6}},'log':_0x4bd5('0x1')});};exports[_0x4bd5('0x2')]=function(_0x2c048d,_0x165d5d){return client[_0x4bd5('0x3')](_0x4bd5('0x4'),{'body':_0x165d5d,'options':{'where':{'id':_0x2c048d}},'log':_0x4bd5('0x5')});};