Built motion from commit (unavailable).|2.5.6
[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 _0x67ec=['/describe','show','/:id/download','post','tracked','fax','faxmessage:create','put','/:id','/:id/accept','/:id/reject','reject','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxMessage.controller','get','isAuthenticated','index'];(function(_0x3ebc5c,_0x3116dc){var _0x5a0117=function(_0x56bb78){while(--_0x56bb78){_0x3ebc5c['push'](_0x3ebc5c['shift']());}};_0x5a0117(++_0x3116dc);}(_0x67ec,0x11c));var _0xc67e=function(_0x2ff290,_0x4853bc){_0x2ff290=_0x2ff290-0x0;var _0x10d14f=_0x67ec[_0x2ff290];return _0x10d14f;};'use strict';var multer=require(_0xc67e('0x0'));var util=require(_0xc67e('0x1'));var path=require(_0xc67e('0x2'));var timeout=require(_0xc67e('0x3'));var express=require(_0xc67e('0x4'));var router=express[_0xc67e('0x5')]();var auth=require(_0xc67e('0x6'));var interaction=require(_0xc67e('0x7'));var config=require(_0xc67e('0x8'));var controller=require(_0xc67e('0x9'));router[_0xc67e('0xa')]('/',auth[_0xc67e('0xb')](),controller[_0xc67e('0xc')]);router[_0xc67e('0xa')](_0xc67e('0xd'),auth[_0xc67e('0xb')](),controller['describe']);router[_0xc67e('0xa')]('/:id',auth[_0xc67e('0xb')](),controller[_0xc67e('0xe')]);router[_0xc67e('0xa')](_0xc67e('0xf'),auth['isAuthenticated'](),controller['download']);router[_0xc67e('0x10')]('/',auth[_0xc67e('0xb')](),interaction[_0xc67e('0x11')](_0xc67e('0x12'),_0xc67e('0x13')),controller['create']);router[_0xc67e('0x14')](_0xc67e('0x15'),auth[_0xc67e('0xb')](),controller['update']);router[_0xc67e('0x14')](_0xc67e('0x16'),auth[_0xc67e('0xb')](),controller['accept']);router[_0xc67e('0x14')](_0xc67e('0x17'),auth['isAuthenticated'](),controller[_0xc67e('0x18')]);router['delete'](_0xc67e('0x15'),auth[_0xc67e('0xb')](),controller[_0xc67e('0x19')]);module[_0xc67e('0x1a')]=router;