07f7ce0b8480b88f8d9913360a8ed94b93d8b033
[motion2.git] / server / api / smsMessage / index.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 _0x10ff=['/:id/reject','reject','delete','destroy','exports','multer','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsMessage.controller','get','isAuthenticated','index','/describe','/:id','post','sms','smsmessage:create','/:id/status','status','update','/:id/accept','accept','put'];(function(_0x4947e3,_0x21f2ee){var _0x1911e5=function(_0x193c1b){while(--_0x193c1b){_0x4947e3['push'](_0x4947e3['shift']());}};_0x1911e5(++_0x21f2ee);}(_0x10ff,0x1b5));var _0xf10f=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0x10ff[_0x4a9fb1];return _0x348672;};'use strict';var multer=require(_0xf10f('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xf10f('0x1'));var express=require(_0xf10f('0x2'));var router=express['Router']();var fs_extra=require(_0xf10f('0x3'));var auth=require(_0xf10f('0x4'));var interaction=require(_0xf10f('0x5'));var config=require(_0xf10f('0x6'));var controller=require(_0xf10f('0x7'));router[_0xf10f('0x8')]('/',auth[_0xf10f('0x9')](),controller[_0xf10f('0xa')]);router[_0xf10f('0x8')](_0xf10f('0xb'),auth['isAuthenticated'](),controller['describe']);router['get'](_0xf10f('0xc'),auth[_0xf10f('0x9')](),controller['show']);router[_0xf10f('0xd')]('/',auth[_0xf10f('0x9')](),interaction['tracked'](_0xf10f('0xe'),_0xf10f('0xf')),controller['create']);router[_0xf10f('0xd')](_0xf10f('0x10'),controller[_0xf10f('0x11')]);router['put'](_0xf10f('0xc'),auth['isAuthenticated'](),controller[_0xf10f('0x12')]);router['put'](_0xf10f('0x13'),auth[_0xf10f('0x9')](),controller[_0xf10f('0x14')]);router[_0xf10f('0x15')](_0xf10f('0x16'),auth['isAuthenticated'](),controller[_0xf10f('0x17')]);router[_0xf10f('0x18')](_0xf10f('0xc'),auth[_0xf10f('0x9')](),controller[_0xf10f('0x19')]);module[_0xf10f('0x1a')]=router;