Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / faxAccount / 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 _0x89c5=['isAuthenticated','index','get','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/interactions','getInteractions','/:id/applications','getApplications','/:id/messages','getMessages','/:id/users','getAgents','post','create','addAnswer','addInteraction','/addaccountapplications','addAccountApplications','/updateaccountapplications','/:id/send','send','put','update','delete','destroy','removeDispositions','removeAgents','multer','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x3c1d7e,_0x17e708){var _0xe580c9=function(_0x13b536){while(--_0x13b536){_0x3c1d7e['push'](_0x3c1d7e['shift']());}};_0xe580c9(++_0x17e708);}(_0x89c5,0x1d9));var _0x589c=function(_0x4b9f0d,_0x41891a){_0x4b9f0d=_0x4b9f0d-0x0;var _0x194414=_0x89c5[_0x4b9f0d];return _0x194414;};'use strict';var multer=require(_0x589c('0x0'));var util=require(_0x589c('0x1'));var path=require(_0x589c('0x2'));var timeout=require(_0x589c('0x3'));var express=require(_0x589c('0x4'));var router=express[_0x589c('0x5')]();var auth=require(_0x589c('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./faxAccount.controller');router['get']('/',auth[_0x589c('0x7')](),controller[_0x589c('0x8')]);router[_0x589c('0x9')]('/describe',auth[_0x589c('0x7')](),controller[_0x589c('0xa')]);router[_0x589c('0x9')](_0x589c('0xb'),auth[_0x589c('0x7')](),controller[_0x589c('0xc')]);router[_0x589c('0x9')](_0x589c('0xd'),auth[_0x589c('0x7')](),controller[_0x589c('0xe')]);router[_0x589c('0x9')](_0x589c('0xf'),auth['isAuthenticated'](),controller[_0x589c('0x10')]);router[_0x589c('0x9')](_0x589c('0x11'),auth[_0x589c('0x7')](),controller[_0x589c('0x12')]);router[_0x589c('0x9')](_0x589c('0x13'),auth['isAuthenticated'](),controller[_0x589c('0x14')]);router[_0x589c('0x9')](_0x589c('0x15'),auth[_0x589c('0x7')](),controller[_0x589c('0x16')]);router[_0x589c('0x9')](_0x589c('0x17'),auth[_0x589c('0x7')](),controller[_0x589c('0x18')]);router[_0x589c('0x19')]('/',auth[_0x589c('0x7')](),controller[_0x589c('0x1a')]);router[_0x589c('0x19')](_0x589c('0xd'),auth[_0x589c('0x7')](),controller['addDisposition']);router['post'](_0x589c('0xf'),auth[_0x589c('0x7')](),controller[_0x589c('0x1b')]);router[_0x589c('0x19')]('/:id/interactions',auth[_0x589c('0x7')](),controller[_0x589c('0x1c')]);router[_0x589c('0x19')](_0x589c('0x13'),auth[_0x589c('0x7')](),controller['addApplications']);router[_0x589c('0x19')](_0x589c('0x1d'),auth[_0x589c('0x7')](),controller[_0x589c('0x1e')]);router[_0x589c('0x19')](_0x589c('0x1f'),auth[_0x589c('0x7')](),controller['updateAccountApplications']);router[_0x589c('0x19')](_0x589c('0x20'),auth['isAuthenticated'](),controller[_0x589c('0x21')]);router[_0x589c('0x19')](_0x589c('0x17'),auth[_0x589c('0x7')](),controller['addAgents']);router[_0x589c('0x22')]('/:id',auth[_0x589c('0x7')](),controller[_0x589c('0x23')]);router[_0x589c('0x24')](_0x589c('0xb'),auth['isAuthenticated'](),controller[_0x589c('0x25')]);router[_0x589c('0x24')]('/:id/dispositions',auth[_0x589c('0x7')](),controller[_0x589c('0x26')]);router[_0x589c('0x24')](_0x589c('0xf'),auth[_0x589c('0x7')](),controller['removeAnswers']);router[_0x589c('0x24')](_0x589c('0x17'),auth[_0x589c('0x7')](),controller[_0x589c('0x27')]);module['exports']=router;