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