1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x04e9=['path','express','../../components/auth/service','../../config/environment','get','isAuthenticated','describe','/:id','post','create','put','update','delete','destroy','util'];(function(_0xa087f5,_0x34fd10){var _0x4c8806=function(_0x4b1cfe){while(--_0x4b1cfe){_0xa087f5['push'](_0xa087f5['shift']());}};_0x4c8806(++_0x34fd10);}(_0x04e9,0x158));var _0x904e=function(_0x375e93,_0x39242a){_0x375e93=_0x375e93-0x0;var _0x5192f2=_0x04e9[_0x375e93];return _0x5192f2;};'use strict';var multer=require('multer');var util=require(_0x904e('0x0'));var path=require(_0x904e('0x1'));var timeout=require('connect-timeout');var express=require(_0x904e('0x2'));var router=express['Router']();var auth=require(_0x904e('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x904e('0x4'));var controller=require('./saInvoiceNumber.controller');router[_0x904e('0x5')]('/',auth[_0x904e('0x6')](),controller['index']);router[_0x904e('0x5')]('/describe',auth['isAuthenticated'](),controller[_0x904e('0x7')]);router[_0x904e('0x5')](_0x904e('0x8'),auth[_0x904e('0x6')](),controller['show']);router[_0x904e('0x9')]('/',auth[_0x904e('0x6')](),controller[_0x904e('0xa')]);router[_0x904e('0xb')](_0x904e('0x8'),auth['isAuthenticated'](),controller[_0x904e('0xc')]);router[_0x904e('0xd')](_0x904e('0x8'),auth[_0x904e('0x6')](),controller[_0x904e('0xe')]);module['exports']=router;