Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / faxMessage / 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 _0x0aae=['./faxMessage.controller','get','isAuthenticated','index','/describe','show','/:id/download','download','tracked','fax','put','/:id','update','/:id/accept','reject','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x58a4ac,_0x43fd42){var _0x545810=function(_0x308e65){while(--_0x308e65){_0x58a4ac['push'](_0x58a4ac['shift']());}};_0x545810(++_0x43fd42);}(_0x0aae,0x1dd));var _0xe0aa=function(_0x4a9900,_0x3e0400){_0x4a9900=_0x4a9900-0x0;var _0x2d7418=_0x0aae[_0x4a9900];return _0x2d7418;};'use strict';var multer=require(_0xe0aa('0x0'));var util=require(_0xe0aa('0x1'));var path=require(_0xe0aa('0x2'));var timeout=require(_0xe0aa('0x3'));var express=require(_0xe0aa('0x4'));var router=express[_0xe0aa('0x5')]();var auth=require(_0xe0aa('0x6'));var interaction=require(_0xe0aa('0x7'));var config=require(_0xe0aa('0x8'));var controller=require(_0xe0aa('0x9'));router[_0xe0aa('0xa')]('/',auth[_0xe0aa('0xb')](),controller[_0xe0aa('0xc')]);router['get'](_0xe0aa('0xd'),auth['isAuthenticated'](),controller['describe']);router[_0xe0aa('0xa')]('/:id',auth[_0xe0aa('0xb')](),controller[_0xe0aa('0xe')]);router[_0xe0aa('0xa')](_0xe0aa('0xf'),auth[_0xe0aa('0xb')](),controller[_0xe0aa('0x10')]);router['post']('/',auth[_0xe0aa('0xb')](),interaction[_0xe0aa('0x11')](_0xe0aa('0x12'),'faxmessage:create'),controller['create']);router[_0xe0aa('0x13')](_0xe0aa('0x14'),auth[_0xe0aa('0xb')](),controller[_0xe0aa('0x15')]);router[_0xe0aa('0x13')](_0xe0aa('0x16'),auth['isAuthenticated'](),controller['accept']);router[_0xe0aa('0x13')]('/:id/reject',auth[_0xe0aa('0xb')](),controller[_0xe0aa('0x17')]);router[_0xe0aa('0x18')]('/:id',auth['isAuthenticated'](),controller[_0xe0aa('0x19')]);module[_0xe0aa('0x1a')]=router;