Built motion from commit cb845558.|2.6.34
[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 _0x8ace=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueue.controller','get','isAuthenticated','index','/describe','/:id','show','/:id/members','getMembers','getTeams','getAgents','create','post','/:id/teams','addTeams','/:id/users','addAgents','delete','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x5038e3,_0x29855b){var _0x593c8d=function(_0x41c341){while(--_0x41c341){_0x5038e3['push'](_0x5038e3['shift']());}};_0x593c8d(++_0x29855b);}(_0x8ace,0x1bc));var _0xe8ac=function(_0x4684af,_0x34880f){_0x4684af=_0x4684af-0x0;var _0x3bb413=_0x8ace[_0x4684af];return _0x3bb413;};'use strict';var multer=require(_0xe8ac('0x0'));var util=require(_0xe8ac('0x1'));var path=require(_0xe8ac('0x2'));var timeout=require(_0xe8ac('0x3'));var express=require(_0xe8ac('0x4'));var router=express[_0xe8ac('0x5')]();var fs_extra=require(_0xe8ac('0x6'));var auth=require(_0xe8ac('0x7'));var interaction=require(_0xe8ac('0x8'));var config=require(_0xe8ac('0x9'));var controller=require(_0xe8ac('0xa'));router[_0xe8ac('0xb')]('/',auth[_0xe8ac('0xc')](),controller[_0xe8ac('0xd')]);router['get'](_0xe8ac('0xe'),auth[_0xe8ac('0xc')](),controller['describe']);router['get'](_0xe8ac('0xf'),auth['isAuthenticated'](),controller[_0xe8ac('0x10')]);router[_0xe8ac('0xb')](_0xe8ac('0x11'),auth[_0xe8ac('0xc')](),controller[_0xe8ac('0x12')]);router[_0xe8ac('0xb')]('/:id/teams',auth[_0xe8ac('0xc')](),controller[_0xe8ac('0x13')]);router[_0xe8ac('0xb')]('/:id/users',auth[_0xe8ac('0xc')](),controller[_0xe8ac('0x14')]);router['post']('/',auth[_0xe8ac('0xc')](),controller[_0xe8ac('0x15')]);router[_0xe8ac('0x16')](_0xe8ac('0x17'),auth[_0xe8ac('0xc')](),controller[_0xe8ac('0x18')]);router[_0xe8ac('0x16')](_0xe8ac('0x19'),auth[_0xe8ac('0xc')](),controller[_0xe8ac('0x1a')]);router['put'](_0xe8ac('0xf'),auth[_0xe8ac('0xc')](),controller['update']);router[_0xe8ac('0x1b')](_0xe8ac('0xf'),auth[_0xe8ac('0xc')](),controller[_0xe8ac('0x1c')]);router[_0xe8ac('0x1b')](_0xe8ac('0x17'),auth['isAuthenticated'](),controller['removeTeams']);router['delete'](_0xe8ac('0x19'),auth[_0xe8ac('0xc')](),controller['removeAgents']);module[_0xe8ac('0x1d')]=router;