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 _0xfcb5=['/:id','isAuthenticated','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./saInvoiceNumber.controller','get','index','/describe','describe'];(function(_0x131eb6,_0x2c7b68){var _0x24344a=function(_0x5b7651){while(--_0x5b7651){_0x131eb6['push'](_0x131eb6['shift']());}};_0x24344a(++_0x2c7b68);}(_0xfcb5,0x194));var _0x5fcb=function(_0x5d44b1,_0x436217){_0x5d44b1=_0x5d44b1-0x0;var _0x409663=_0xfcb5[_0x5d44b1];return _0x409663;};'use strict';var multer=require(_0x5fcb('0x0'));var util=require(_0x5fcb('0x1'));var path=require(_0x5fcb('0x2'));var timeout=require(_0x5fcb('0x3'));var express=require(_0x5fcb('0x4'));var router=express[_0x5fcb('0x5')]();var auth=require(_0x5fcb('0x6'));var interaction=require(_0x5fcb('0x7'));var config=require(_0x5fcb('0x8'));var controller=require(_0x5fcb('0x9'));router[_0x5fcb('0xa')]('/',auth['isAuthenticated'](),controller[_0x5fcb('0xb')]);router[_0x5fcb('0xa')](_0x5fcb('0xc'),auth['isAuthenticated'](),controller[_0x5fcb('0xd')]);router[_0x5fcb('0xa')](_0x5fcb('0xe'),auth[_0x5fcb('0xf')](),controller['show']);router[_0x5fcb('0x10')]('/',auth[_0x5fcb('0xf')](),controller[_0x5fcb('0x11')]);router[_0x5fcb('0x12')](_0x5fcb('0xe'),auth[_0x5fcb('0xf')](),controller['update']);router[_0x5fcb('0x13')](_0x5fcb('0xe'),auth[_0x5fcb('0xf')](),controller[_0x5fcb('0x14')]);module[_0x5fcb('0x15')]=router;