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 _0x94df=['Router','../../components/interaction/service','../../config/environment','./saJobOrder.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','update','delete','/:id','multer','util','path','connect-timeout','express'];(function(_0x178e48,_0x3c9509){var _0x440d7e=function(_0xc2f8a0){while(--_0xc2f8a0){_0x178e48['push'](_0x178e48['shift']());}};_0x440d7e(++_0x3c9509);}(_0x94df,0xa3));var _0xf94d=function(_0x1cb462,_0x54479f){_0x1cb462=_0x1cb462-0x0;var _0x15a774=_0x94df[_0x1cb462];return _0x15a774;};'use strict';var multer=require(_0xf94d('0x0'));var util=require(_0xf94d('0x1'));var path=require(_0xf94d('0x2'));var timeout=require(_0xf94d('0x3'));var express=require(_0xf94d('0x4'));var router=express[_0xf94d('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xf94d('0x6'));var config=require(_0xf94d('0x7'));var controller=require(_0xf94d('0x8'));router[_0xf94d('0x9')]('/',auth[_0xf94d('0xa')](),controller[_0xf94d('0xb')]);router[_0xf94d('0x9')](_0xf94d('0xc'),auth[_0xf94d('0xa')](),controller[_0xf94d('0xd')]);router[_0xf94d('0x9')]('/:id',auth[_0xf94d('0xa')](),controller[_0xf94d('0xe')]);router[_0xf94d('0xf')]('/',auth[_0xf94d('0xa')](),controller[_0xf94d('0x10')]);router[_0xf94d('0x11')]('/:id',auth[_0xf94d('0xa')](),controller[_0xf94d('0x12')]);router[_0xf94d('0x13')](_0xf94d('0x14'),auth[_0xf94d('0xa')](),controller['destroy']);module['exports']=router;