Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / disposition / 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 _0x5758=['/:id','show','post','isAuthenticated','create','put','delete','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./disposition.controller','get','index'];(function(_0x2a7ad7,_0x2e21e2){var _0x3816de=function(_0x35ccd8){while(--_0x35ccd8){_0x2a7ad7['push'](_0x2a7ad7['shift']());}};_0x3816de(++_0x2e21e2);}(_0x5758,0x1e3));var _0x8575=function(_0x3c64d6,_0x2f16f1){_0x3c64d6=_0x3c64d6-0x0;var _0x29f79f=_0x5758[_0x3c64d6];return _0x29f79f;};'use strict';var multer=require(_0x8575('0x0'));var util=require(_0x8575('0x1'));var path=require(_0x8575('0x2'));var timeout=require(_0x8575('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x8575('0x4'));var interaction=require(_0x8575('0x5'));var config=require(_0x8575('0x6'));var controller=require(_0x8575('0x7'));router[_0x8575('0x8')]('/',auth['isAuthenticated'](),controller[_0x8575('0x9')]);router['get'](_0x8575('0xa'),auth['isAuthenticated'](),controller[_0x8575('0xb')]);router[_0x8575('0xc')]('/',auth[_0x8575('0xd')](),controller[_0x8575('0xe')]);router[_0x8575('0xf')](_0x8575('0xa'),auth[_0x8575('0xd')](),controller['update']);router[_0x8575('0x10')](_0x8575('0xa'),auth[_0x8575('0xd')](),controller['destroy']);module['exports']=router;