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 _0x9c3f=['destroy','exports','util','connect-timeout','express','./saCreditNoteNumber.controller','get','index','isAuthenticated','describe','/:id','show','post','create','update','delete'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x9c3f,0x182));var _0xf9c3=function(_0x1fb242,_0x5781cf){_0x1fb242=_0x1fb242-0x0;var _0x348e39=_0x9c3f[_0x1fb242];return _0x348e39;};'use strict';var multer=require('multer');var util=require(_0xf9c3('0x0'));var path=require('path');var timeout=require(_0xf9c3('0x1'));var express=require(_0xf9c3('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xf9c3('0x3'));router[_0xf9c3('0x4')]('/',auth['isAuthenticated'](),controller[_0xf9c3('0x5')]);router[_0xf9c3('0x4')]('/describe',auth[_0xf9c3('0x6')](),controller[_0xf9c3('0x7')]);router[_0xf9c3('0x4')](_0xf9c3('0x8'),auth[_0xf9c3('0x6')](),controller[_0xf9c3('0x9')]);router[_0xf9c3('0xa')]('/',auth['isAuthenticated'](),controller[_0xf9c3('0xb')]);router['put'](_0xf9c3('0x8'),auth[_0xf9c3('0x6')](),controller[_0xf9c3('0xc')]);router[_0xf9c3('0xd')](_0xf9c3('0x8'),auth[_0xf9c3('0x6')](),controller[_0xf9c3('0xe')]);module[_0xf9c3('0xf')]=router;