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