Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / intDeskField / 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 _0x85f8=['Router','fs-extra','../../components/auth/service','../../config/environment','./intDeskField.controller','get','index','/:id','isAuthenticated','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x302c0a,_0x4f5393){var _0x2af80c=function(_0x4530f6){while(--_0x4530f6){_0x302c0a['push'](_0x302c0a['shift']());}};_0x2af80c(++_0x4f5393);}(_0x85f8,0xd7));var _0x885f=function(_0x3f8007,_0x517e5f){_0x3f8007=_0x3f8007-0x0;var _0x3af9fc=_0x85f8[_0x3f8007];return _0x3af9fc;};'use strict';var multer=require(_0x885f('0x0'));var util=require(_0x885f('0x1'));var path=require(_0x885f('0x2'));var timeout=require(_0x885f('0x3'));var express=require(_0x885f('0x4'));var router=express[_0x885f('0x5')]();var fs_extra=require(_0x885f('0x6'));var auth=require(_0x885f('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x885f('0x8'));var controller=require(_0x885f('0x9'));router[_0x885f('0xa')]('/',auth['isAuthenticated'](),controller[_0x885f('0xb')]);router[_0x885f('0xa')](_0x885f('0xc'),auth[_0x885f('0xd')](),controller[_0x885f('0xe')]);router[_0x885f('0xf')]('/',auth[_0x885f('0xd')](),controller[_0x885f('0x10')]);router[_0x885f('0x11')](_0x885f('0xc'),auth[_0x885f('0xd')](),controller[_0x885f('0x12')]);router[_0x885f('0x13')](_0x885f('0xc'),auth['isAuthenticated'](),controller[_0x885f('0x14')]);module[_0x885f('0x15')]=router;