Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / api / cmContactHasItem / 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 _0x2c54=['/:id','isAuthenticated','show','post','create','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get'];(function(_0x535406,_0x50261b){var _0x40fa36=function(_0x2ea21f){while(--_0x2ea21f){_0x535406['push'](_0x535406['shift']());}};_0x40fa36(++_0x50261b);}(_0x2c54,0x136));var _0x42c5=function(_0x13d934,_0x2a8f43){_0x13d934=_0x13d934-0x0;var _0x2c2d5d=_0x2c54[_0x13d934];return _0x2c2d5d;};'use strict';var multer=require(_0x42c5('0x0'));var util=require(_0x42c5('0x1'));var path=require(_0x42c5('0x2'));var timeout=require('connect-timeout');var express=require(_0x42c5('0x3'));var router=express[_0x42c5('0x4')]();var fs_extra=require(_0x42c5('0x5'));var auth=require(_0x42c5('0x6'));var interaction=require(_0x42c5('0x7'));var config=require(_0x42c5('0x8'));var controller=require('./cmContactHasItem.controller');router[_0x42c5('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x42c5('0x9')](_0x42c5('0xa'),auth[_0x42c5('0xb')](),controller[_0x42c5('0xc')]);router[_0x42c5('0xd')]('/',auth[_0x42c5('0xb')](),controller[_0x42c5('0xe')]);router[_0x42c5('0xf')](_0x42c5('0xa'),auth[_0x42c5('0xb')](),controller[_0x42c5('0x10')]);router[_0x42c5('0x11')](_0x42c5('0xa'),auth[_0x42c5('0xb')](),controller[_0x42c5('0x12')]);module[_0x42c5('0x13')]=router;