Built motion from commit (unavailable).|2.5.10
[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 _0x514f=['/describe','isAuthenticated','describe','/:id','show','post','sms','smsmessage:create','create','/:id/status','status','update','put','/:id/accept','accept','/:id/reject','reject','delete','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsMessage.controller','get'];(function(_0x1c80e7,_0x5d4e6){var _0x4dcf41=function(_0xfd264f){while(--_0xfd264f){_0x1c80e7['push'](_0x1c80e7['shift']());}};_0x4dcf41(++_0x5d4e6);}(_0x514f,0x6a));var _0xf514=function(_0x353990,_0xf70062){_0x353990=_0x353990-0x0;var _0xf3724=_0x514f[_0x353990];return _0xf3724;};'use strict';var multer=require(_0xf514('0x0'));var util=require(_0xf514('0x1'));var path=require('path');var timeout=require(_0xf514('0x2'));var express=require(_0xf514('0x3'));var router=express[_0xf514('0x4')]();var auth=require(_0xf514('0x5'));var interaction=require(_0xf514('0x6'));var config=require(_0xf514('0x7'));var controller=require(_0xf514('0x8'));router[_0xf514('0x9')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xf514('0xa'),auth[_0xf514('0xb')](),controller[_0xf514('0xc')]);router[_0xf514('0x9')](_0xf514('0xd'),auth[_0xf514('0xb')](),controller[_0xf514('0xe')]);router[_0xf514('0xf')]('/',auth[_0xf514('0xb')](),interaction['tracked'](_0xf514('0x10'),_0xf514('0x11')),controller[_0xf514('0x12')]);router[_0xf514('0xf')](_0xf514('0x13'),controller[_0xf514('0x14')]);router['put'](_0xf514('0xd'),auth['isAuthenticated'](),controller[_0xf514('0x15')]);router[_0xf514('0x16')](_0xf514('0x17'),auth[_0xf514('0xb')](),controller[_0xf514('0x18')]);router[_0xf514('0x16')](_0xf514('0x19'),auth[_0xf514('0xb')](),controller[_0xf514('0x1a')]);router[_0xf514('0x1b')]('/:id',auth['isAuthenticated'](),controller[_0xf514('0x1c')]);module['exports']=router;