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 _0xcce8=['isAuthenticated','index','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./saUnitMeasure.controller','get'];(function(_0x2f6247,_0x2e65d7){var _0xbb49f9=function(_0x22aff5){while(--_0x22aff5){_0x2f6247['push'](_0x2f6247['shift']());}};_0xbb49f9(++_0x2e65d7);}(_0xcce8,0x1c5));var _0x8cce=function(_0x26f84d,_0x2b9785){_0x26f84d=_0x26f84d-0x0;var _0x430fc6=_0xcce8[_0x26f84d];return _0x430fc6;};'use strict';var multer=require(_0x8cce('0x0'));var util=require(_0x8cce('0x1'));var path=require(_0x8cce('0x2'));var timeout=require(_0x8cce('0x3'));var express=require(_0x8cce('0x4'));var router=express['Router']();var auth=require(_0x8cce('0x5'));var interaction=require(_0x8cce('0x6'));var config=require('../../config/environment');var controller=require(_0x8cce('0x7'));router[_0x8cce('0x8')]('/',auth[_0x8cce('0x9')](),controller[_0x8cce('0xa')]);router[_0x8cce('0x8')](_0x8cce('0xb'),auth['isAuthenticated'](),controller[_0x8cce('0xc')]);router[_0x8cce('0x8')](_0x8cce('0xd'),auth[_0x8cce('0x9')](),controller['show']);router[_0x8cce('0xe')]('/',auth[_0x8cce('0x9')](),controller[_0x8cce('0xf')]);router[_0x8cce('0x10')](_0x8cce('0xd'),auth[_0x8cce('0x9')](),controller[_0x8cce('0x11')]);router[_0x8cce('0x12')](_0x8cce('0xd'),auth[_0x8cce('0x9')](),controller[_0x8cce('0x13')]);module[_0x8cce('0x14')]=router;