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 _0x184c=['describe','/:id','post','create','update','delete','destroy','exports','multer','util','connect-timeout','express','../../components/auth/service','../../config/environment','./saProductOrder.controller','isAuthenticated','index'];(function(_0x5bec6f,_0x26e692){var _0x35b36d=function(_0xedfdcb){while(--_0xedfdcb){_0x5bec6f['push'](_0x5bec6f['shift']());}};_0x35b36d(++_0x26e692);}(_0x184c,0xf6));var _0xc184=function(_0x4d8f39,_0x43bb6b){_0x4d8f39=_0x4d8f39-0x0;var _0x6b7969=_0x184c[_0x4d8f39];return _0x6b7969;};'use strict';var multer=require(_0xc184('0x0'));var util=require(_0xc184('0x1'));var path=require('path');var timeout=require(_0xc184('0x2'));var express=require(_0xc184('0x3'));var router=express['Router']();var auth=require(_0xc184('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xc184('0x5'));var controller=require(_0xc184('0x6'));router['get']('/',auth[_0xc184('0x7')](),controller[_0xc184('0x8')]);router['get']('/describe',auth[_0xc184('0x7')](),controller[_0xc184('0x9')]);router['get'](_0xc184('0xa'),auth['isAuthenticated'](),controller['show']);router[_0xc184('0xb')]('/',auth[_0xc184('0x7')](),controller[_0xc184('0xc')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xc184('0xd')]);router[_0xc184('0xe')](_0xc184('0xa'),auth[_0xc184('0x7')](),controller[_0xc184('0xf')]);module[_0xc184('0x10')]=router;