6d0676c85314cb83892ceb258d115680a95e0eb7
[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 _0xed75=['update','updateSmsInteraction','addTags','Request','AddTagsToSmsInteraction','addTagsToSmsInteraction'];(function(_0x2e8d69,_0x10cb80){var _0x59a844=function(_0x557e4c){while(--_0x557e4c){_0x2e8d69['push'](_0x2e8d69['shift']());}};_0x59a844(++_0x10cb80);}(_0xed75,0x11a));var _0x5ed7=function(_0x3cf989,_0x43b2a8){_0x3cf989=_0x3cf989-0x0;var _0xa1f9ef=_0xed75[_0x3cf989];return _0xa1f9ef;};'use strict';var client=require('../client');exports[_0x5ed7('0x0')]=function(_0x352f1f,_0x3284f6){return client['Request']('UpdateSmsInteraction',{'body':_0x3284f6,'options':{'where':{'id':_0x352f1f}},'log':_0x5ed7('0x1')});};exports[_0x5ed7('0x2')]=function(_0xb60bbd,_0x356468){return client[_0x5ed7('0x3')](_0x5ed7('0x4'),{'body':_0x356468,'options':{'where':{'id':_0xb60bbd}},'log':_0x5ed7('0x5')});};