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 _0x12e2=['./disposition.controller','isAuthenticated','index','get','/:id','show','post','create','put','update','destroy','exports','multer','util','path','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x2dc2bf,_0x445916){var _0x5d1be8=function(_0x9577bd){while(--_0x9577bd){_0x2dc2bf['push'](_0x2dc2bf['shift']());}};_0x5d1be8(++_0x445916);}(_0x12e2,0xd2));var _0x212e=function(_0x3a2c0a,_0x396f6d){_0x3a2c0a=_0x3a2c0a-0x0;var _0x28d1e7=_0x12e2[_0x3a2c0a];return _0x28d1e7;};'use strict';var multer=require(_0x212e('0x0'));var util=require(_0x212e('0x1'));var path=require(_0x212e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x212e('0x3'));var interaction=require(_0x212e('0x4'));var config=require(_0x212e('0x5'));var controller=require(_0x212e('0x6'));router['get']('/',auth[_0x212e('0x7')](),controller[_0x212e('0x8')]);router[_0x212e('0x9')](_0x212e('0xa'),auth[_0x212e('0x7')](),controller[_0x212e('0xb')]);router[_0x212e('0xc')]('/',auth[_0x212e('0x7')](),controller[_0x212e('0xd')]);router[_0x212e('0xe')](_0x212e('0xa'),auth[_0x212e('0x7')](),controller[_0x212e('0xf')]);router['delete'](_0x212e('0xa'),auth['isAuthenticated'](),controller[_0x212e('0x10')]);module[_0x212e('0x11')]=router;