Built motion from commit 44b1f254.|2.6.26
[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 _0x718e=['create','delete','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./disposition.controller','get','isAuthenticated','index','/:id','post'];(function(_0x38f147,_0xef37ac){var _0x2206da=function(_0x395c48){while(--_0x395c48){_0x38f147['push'](_0x38f147['shift']());}};_0x2206da(++_0xef37ac);}(_0x718e,0x124));var _0xe718=function(_0x20049b,_0x369c8b){_0x20049b=_0x20049b-0x0;var _0x35cc83=_0x718e[_0x20049b];return _0x35cc83;};'use strict';var multer=require(_0xe718('0x0'));var util=require(_0xe718('0x1'));var path=require('path');var timeout=require(_0xe718('0x2'));var express=require(_0xe718('0x3'));var router=express[_0xe718('0x4')]();var fs_extra=require(_0xe718('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xe718('0x6'));var config=require(_0xe718('0x7'));var controller=require(_0xe718('0x8'));router[_0xe718('0x9')]('/',auth[_0xe718('0xa')](),controller[_0xe718('0xb')]);router[_0xe718('0x9')](_0xe718('0xc'),auth[_0xe718('0xa')](),controller['show']);router[_0xe718('0xd')]('/',auth[_0xe718('0xa')](),controller[_0xe718('0xe')]);router['put'](_0xe718('0xc'),auth[_0xe718('0xa')](),controller['update']);router[_0xe718('0xf')]('/:id',auth[_0xe718('0xa')](),controller['destroy']);module[_0xe718('0x10')]=router;