Built motion from commit 0415ced0.|2.6.28
[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 _0x6b4c=['path','connect-timeout','express','Router','../../components/auth/service','./disposition.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','util'];(function(_0x13280b,_0x5caf51){var _0x32fd67=function(_0x2f4c73){while(--_0x2f4c73){_0x13280b['push'](_0x13280b['shift']());}};_0x32fd67(++_0x5caf51);}(_0x6b4c,0xc6));var _0xc6b4=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6b4c[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xc6b4('0x0'));var util=require(_0xc6b4('0x1'));var path=require(_0xc6b4('0x2'));var timeout=require(_0xc6b4('0x3'));var express=require(_0xc6b4('0x4'));var router=express[_0xc6b4('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xc6b4('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xc6b4('0x7'));router[_0xc6b4('0x8')]('/',auth[_0xc6b4('0x9')](),controller[_0xc6b4('0xa')]);router[_0xc6b4('0x8')](_0xc6b4('0xb'),auth['isAuthenticated'](),controller[_0xc6b4('0xc')]);router[_0xc6b4('0xd')]('/',auth[_0xc6b4('0x9')](),controller[_0xc6b4('0xe')]);router[_0xc6b4('0xf')](_0xc6b4('0xb'),auth[_0xc6b4('0x9')](),controller[_0xc6b4('0x10')]);router[_0xc6b4('0x11')](_0xc6b4('0xb'),auth[_0xc6b4('0x9')](),controller[_0xc6b4('0x12')]);module[_0xc6b4('0x13')]=router;