Built motion from commit (unavailable).|2.4.17
[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 _0xc7f3=['/:id/accept','accept','/:id/reject','reject','delete','destroy','multer','util','path','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsMessage.controller','get','/describe','describe','/:id','isAuthenticated','post','sms','smsmessage:create','create','/:id/status','put','update'];(function(_0x4b2863,_0x494899){var _0x567d67=function(_0x751f03){while(--_0x751f03){_0x4b2863['push'](_0x4b2863['shift']());}};_0x567d67(++_0x494899);}(_0xc7f3,0x164));var _0x3c7f=function(_0x5d983c,_0x57b322){_0x5d983c=_0x5d983c-0x0;var _0x45d2f8=_0xc7f3[_0x5d983c];return _0x45d2f8;};'use strict';var multer=require(_0x3c7f('0x0'));var util=require(_0x3c7f('0x1'));var path=require(_0x3c7f('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x3c7f('0x3'));var interaction=require(_0x3c7f('0x4'));var config=require(_0x3c7f('0x5'));var controller=require(_0x3c7f('0x6'));router[_0x3c7f('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x3c7f('0x7')](_0x3c7f('0x8'),auth['isAuthenticated'](),controller[_0x3c7f('0x9')]);router[_0x3c7f('0x7')](_0x3c7f('0xa'),auth[_0x3c7f('0xb')](),controller['show']);router[_0x3c7f('0xc')]('/',auth[_0x3c7f('0xb')](),interaction['tracked'](_0x3c7f('0xd'),_0x3c7f('0xe')),controller[_0x3c7f('0xf')]);router['post'](_0x3c7f('0x10'),controller['status']);router[_0x3c7f('0x11')](_0x3c7f('0xa'),auth[_0x3c7f('0xb')](),controller[_0x3c7f('0x12')]);router['put'](_0x3c7f('0x13'),auth[_0x3c7f('0xb')](),controller[_0x3c7f('0x14')]);router[_0x3c7f('0x11')](_0x3c7f('0x15'),auth[_0x3c7f('0xb')](),controller[_0x3c7f('0x16')]);router[_0x3c7f('0x17')](_0x3c7f('0xa'),auth[_0x3c7f('0xb')](),controller[_0x3c7f('0x18')]);module['exports']=router;