Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / api / faxQueue / 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 _0xdac6=['multer','util','path','express','Router','fs-extra','../../config/environment','./faxQueue.controller','get','isAuthenticated','index','describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents','put','update','delete','destroy','removeTeams','removeAgents','exports'];(function(_0x2bfef7,_0x54322c){var _0x4babfd=function(_0x356366){while(--_0x356366){_0x2bfef7['push'](_0x2bfef7['shift']());}};_0x4babfd(++_0x54322c);}(_0xdac6,0x174));var _0x6dac=function(_0x1bcd24,_0x2fe246){_0x1bcd24=_0x1bcd24-0x0;var _0x125333=_0xdac6[_0x1bcd24];return _0x125333;};'use strict';var multer=require(_0x6dac('0x0'));var util=require(_0x6dac('0x1'));var path=require(_0x6dac('0x2'));var timeout=require('connect-timeout');var express=require(_0x6dac('0x3'));var router=express[_0x6dac('0x4')]();var fs_extra=require(_0x6dac('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x6dac('0x6'));var controller=require(_0x6dac('0x7'));router[_0x6dac('0x8')]('/',auth[_0x6dac('0x9')](),controller[_0x6dac('0xa')]);router[_0x6dac('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x6dac('0xb')]);router[_0x6dac('0x8')](_0x6dac('0xc'),auth[_0x6dac('0x9')](),controller[_0x6dac('0xd')]);router['get'](_0x6dac('0xe'),auth[_0x6dac('0x9')](),controller[_0x6dac('0xf')]);router[_0x6dac('0x8')](_0x6dac('0x10'),auth[_0x6dac('0x9')](),controller[_0x6dac('0x11')]);router[_0x6dac('0x8')](_0x6dac('0x12'),auth[_0x6dac('0x9')](),controller[_0x6dac('0x13')]);router[_0x6dac('0x14')]('/',auth['isAuthenticated'](),controller[_0x6dac('0x15')]);router[_0x6dac('0x14')](_0x6dac('0x10'),auth[_0x6dac('0x9')](),controller[_0x6dac('0x16')]);router[_0x6dac('0x14')](_0x6dac('0x12'),auth[_0x6dac('0x9')](),controller[_0x6dac('0x17')]);router[_0x6dac('0x18')](_0x6dac('0xc'),auth[_0x6dac('0x9')](),controller[_0x6dac('0x19')]);router[_0x6dac('0x1a')]('/:id',auth[_0x6dac('0x9')](),controller[_0x6dac('0x1b')]);router['delete'](_0x6dac('0x10'),auth['isAuthenticated'](),controller[_0x6dac('0x1c')]);router[_0x6dac('0x1a')](_0x6dac('0x12'),auth[_0x6dac('0x9')](),controller[_0x6dac('0x1d')]);module[_0x6dac('0x1e')]=router;