Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / smsDisposition / 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 _0xf105=['show','post','create','put','update','delete','destroy','multer','util','path','express','Router','../../components/auth/service','../../config/environment','get','/:id','isAuthenticated'];(function(_0x58d690,_0x5a792e){var _0x3faf59=function(_0xba78ae){while(--_0xba78ae){_0x58d690['push'](_0x58d690['shift']());}};_0x3faf59(++_0x5a792e);}(_0xf105,0x1b0));var _0x5f10=function(_0x3f2aca,_0x255314){_0x3f2aca=_0x3f2aca-0x0;var _0x1316b7=_0xf105[_0x3f2aca];return _0x1316b7;};'use strict';var multer=require(_0x5f10('0x0'));var util=require(_0x5f10('0x1'));var path=require(_0x5f10('0x2'));var express=require(_0x5f10('0x3'));var router=express[_0x5f10('0x4')]();var auth=require(_0x5f10('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x5f10('0x6'));var controller=require('./smsDisposition.controller');router[_0x5f10('0x7')](_0x5f10('0x8'),auth[_0x5f10('0x9')](),controller[_0x5f10('0xa')]);router[_0x5f10('0xb')]('/',auth[_0x5f10('0x9')](),controller[_0x5f10('0xc')]);router[_0x5f10('0xd')]('/:id',auth[_0x5f10('0x9')](),controller[_0x5f10('0xe')]);router[_0x5f10('0xf')](_0x5f10('0x8'),auth[_0x5f10('0x9')](),controller[_0x5f10('0x10')]);module['exports']=router;