Built motion from commit (unavailable).|2.4.21
[motion2.git] / server / api / faxInteraction / 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 _0xc9b4=['get','isAuthenticated','index','/describe','describe','/:id','show','/:id/messages','getMessages','/:id/download','download','create','post','addMessage','/:id/tags','fax','faxinteraction:addtags','addTags','put','tracked','update','delete','faxinteraction:destroy','destroy','removeTags','exports','multer','util','path','express','Router','../../components/auth/service','../../config/environment','./faxInteraction.controller'];(function(_0x458a03,_0x44c176){var _0x166d83=function(_0x1c5d98){while(--_0x1c5d98){_0x458a03['push'](_0x458a03['shift']());}};_0x166d83(++_0x44c176);}(_0xc9b4,0xa2));var _0x4c9b=function(_0x3d78d7,_0x44acea){_0x3d78d7=_0x3d78d7-0x0;var _0x4b6784=_0xc9b4[_0x3d78d7];return _0x4b6784;};'use strict';var multer=require(_0x4c9b('0x0'));var util=require(_0x4c9b('0x1'));var path=require(_0x4c9b('0x2'));var timeout=require('connect-timeout');var express=require(_0x4c9b('0x3'));var router=express[_0x4c9b('0x4')]();var auth=require(_0x4c9b('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x4c9b('0x6'));var controller=require(_0x4c9b('0x7'));router[_0x4c9b('0x8')]('/',auth[_0x4c9b('0x9')](),controller[_0x4c9b('0xa')]);router[_0x4c9b('0x8')](_0x4c9b('0xb'),auth[_0x4c9b('0x9')](),controller[_0x4c9b('0xc')]);router[_0x4c9b('0x8')](_0x4c9b('0xd'),auth[_0x4c9b('0x9')](),controller[_0x4c9b('0xe')]);router[_0x4c9b('0x8')](_0x4c9b('0xf'),auth[_0x4c9b('0x9')](),controller[_0x4c9b('0x10')]);router[_0x4c9b('0x8')](_0x4c9b('0x11'),auth[_0x4c9b('0x9')](),controller[_0x4c9b('0x12')]);router['post']('/',auth[_0x4c9b('0x9')](),controller[_0x4c9b('0x13')]);router[_0x4c9b('0x14')](_0x4c9b('0xf'),auth[_0x4c9b('0x9')](),controller[_0x4c9b('0x15')]);router[_0x4c9b('0x14')](_0x4c9b('0x16'),auth[_0x4c9b('0x9')](),interaction['tracked'](_0x4c9b('0x17'),_0x4c9b('0x18')),controller[_0x4c9b('0x19')]);router[_0x4c9b('0x1a')]('/:id',auth[_0x4c9b('0x9')](),interaction[_0x4c9b('0x1b')](_0x4c9b('0x17'),'faxinteraction:update'),controller[_0x4c9b('0x1c')]);router[_0x4c9b('0x1d')](_0x4c9b('0xd'),auth[_0x4c9b('0x9')](),interaction['tracked'](_0x4c9b('0x17'),_0x4c9b('0x1e')),controller[_0x4c9b('0x1f')]);router['delete'](_0x4c9b('0x16'),auth[_0x4c9b('0x9')](),controller[_0x4c9b('0x20')]);module[_0x4c9b('0x21')]=router;