Built motion from commit (unavailable).|2.5.4
[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 _0xe35d=['get','isAuthenticated','index','show','post','create','/:id','update','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./disposition.controller'];(function(_0x58b571,_0x585a32){var _0x32f892=function(_0x5ab55e){while(--_0x5ab55e){_0x58b571['push'](_0x58b571['shift']());}};_0x32f892(++_0x585a32);}(_0xe35d,0xd5));var _0xde35=function(_0x5edfc5,_0x1563ab){_0x5edfc5=_0x5edfc5-0x0;var _0x35a64a=_0xe35d[_0x5edfc5];return _0x35a64a;};'use strict';var multer=require(_0xde35('0x0'));var util=require(_0xde35('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xde35('0x2'));var router=express[_0xde35('0x3')]();var auth=require(_0xde35('0x4'));var interaction=require(_0xde35('0x5'));var config=require(_0xde35('0x6'));var controller=require(_0xde35('0x7'));router[_0xde35('0x8')]('/',auth[_0xde35('0x9')](),controller[_0xde35('0xa')]);router[_0xde35('0x8')]('/:id',auth[_0xde35('0x9')](),controller[_0xde35('0xb')]);router[_0xde35('0xc')]('/',auth[_0xde35('0x9')](),controller[_0xde35('0xd')]);router['put'](_0xde35('0xe'),auth[_0xde35('0x9')](),controller[_0xde35('0xf')]);router['delete'](_0xde35('0xe'),auth[_0xde35('0x9')](),controller['destroy']);module[_0xde35('0x10')]=router;