Built motion from commit (unavailable).|2.4.17
[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 _0x2cf5=['show','post','create','update','delete','destroy','exports','multer','util','connect-timeout','Router','../../components/auth/service','./disposition.controller','get','isAuthenticated','index','/:id'];(function(_0x5bb90b,_0x48a1ae){var _0x547113=function(_0x510d91){while(--_0x510d91){_0x5bb90b['push'](_0x5bb90b['shift']());}};_0x547113(++_0x48a1ae);}(_0x2cf5,0x19f));var _0x52cf=function(_0x541826,_0x48396d){_0x541826=_0x541826-0x0;var _0x2f8f74=_0x2cf5[_0x541826];return _0x2f8f74;};'use strict';var multer=require(_0x52cf('0x0'));var util=require(_0x52cf('0x1'));var path=require('path');var timeout=require(_0x52cf('0x2'));var express=require('express');var router=express[_0x52cf('0x3')]();var auth=require(_0x52cf('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x52cf('0x5'));router[_0x52cf('0x6')]('/',auth[_0x52cf('0x7')](),controller[_0x52cf('0x8')]);router[_0x52cf('0x6')](_0x52cf('0x9'),auth[_0x52cf('0x7')](),controller[_0x52cf('0xa')]);router[_0x52cf('0xb')]('/',auth[_0x52cf('0x7')](),controller[_0x52cf('0xc')]);router['put'](_0x52cf('0x9'),auth[_0x52cf('0x7')](),controller[_0x52cf('0xd')]);router[_0x52cf('0xe')]('/:id',auth[_0x52cf('0x7')](),controller[_0x52cf('0xf')]);module[_0x52cf('0x10')]=router;