Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / api / schedule / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x0ac1=['../../config/environment','./schedule.controller','get','isAuthenticated','index','/:id','show','/:id/run','run','post','create','put','update','delete','destroy','multer','util','path','../../components/auth/service','../../components/interaction/service'];(function(_0x47db03,_0x31a06c){var _0x229817=function(_0x483342){while(--_0x483342){_0x47db03['push'](_0x47db03['shift']());}};_0x229817(++_0x31a06c);}(_0x0ac1,0x1c7));var _0x10ac=function(_0x57494a,_0x4d6bc8){_0x57494a=_0x57494a-0x0;var _0x4a92e4=_0x0ac1[_0x57494a];return _0x4a92e4;};'use strict';var multer=require(_0x10ac('0x0'));var util=require(_0x10ac('0x1'));var path=require(_0x10ac('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x10ac('0x3'));var interaction=require(_0x10ac('0x4'));var config=require(_0x10ac('0x5'));var controller=require(_0x10ac('0x6'));router[_0x10ac('0x7')]('/',auth[_0x10ac('0x8')](),controller[_0x10ac('0x9')]);router[_0x10ac('0x7')](_0x10ac('0xa'),auth[_0x10ac('0x8')](),controller[_0x10ac('0xb')]);router[_0x10ac('0x7')](_0x10ac('0xc'),auth[_0x10ac('0x8')](),controller[_0x10ac('0xd')]);router[_0x10ac('0xe')]('/',auth[_0x10ac('0x8')](),controller[_0x10ac('0xf')]);router[_0x10ac('0x10')]('/:id',auth[_0x10ac('0x8')](),controller[_0x10ac('0x11')]);router[_0x10ac('0x12')]('/:id',auth[_0x10ac('0x8')](),controller[_0x10ac('0x13')]);module['exports']=router;