Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / contactItemType / 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 _0x478d=['get','isAuthenticated','index','/:id','post','put','update','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./contactItemType.controller'];(function(_0x425716,_0x3e9d1c){var _0x2d39af=function(_0x1febc1){while(--_0x1febc1){_0x425716['push'](_0x425716['shift']());}};_0x2d39af(++_0x3e9d1c);}(_0x478d,0x7c));var _0xd478=function(_0x16c9f3,_0x4fe03f){_0x16c9f3=_0x16c9f3-0x0;var _0x47709f=_0x478d[_0x16c9f3];return _0x47709f;};'use strict';var multer=require(_0xd478('0x0'));var util=require(_0xd478('0x1'));var path=require(_0xd478('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xd478('0x3')]();var fs_extra=require(_0xd478('0x4'));var auth=require(_0xd478('0x5'));var interaction=require(_0xd478('0x6'));var config=require(_0xd478('0x7'));var controller=require(_0xd478('0x8'));router[_0xd478('0x9')]('/',auth[_0xd478('0xa')](),controller[_0xd478('0xb')]);router[_0xd478('0x9')](_0xd478('0xc'),auth[_0xd478('0xa')](),controller['show']);router[_0xd478('0xd')]('/',auth[_0xd478('0xa')](),controller['create']);router[_0xd478('0xe')](_0xd478('0xc'),auth['isAuthenticated'](),controller[_0xd478('0xf')]);router[_0xd478('0x10')](_0xd478('0xc'),auth[_0xd478('0xa')](),controller[_0xd478('0x11')]);module[_0xd478('0x12')]=router;