Built motion from commit b5996064.|2.6.21
[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 _0x8f7a=['../../config/environment','./schedule.controller','get','isAuthenticated','index','/:id','show','/:id/run','run','post','create','put','update','destroy','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x36ca99,_0x1416c6){var _0x1d7cba=function(_0x2e38f1){while(--_0x2e38f1){_0x36ca99['push'](_0x36ca99['shift']());}};_0x1d7cba(++_0x1416c6);}(_0x8f7a,0xea));var _0xa8f7=function(_0x94118,_0x3bf157){_0x94118=_0x94118-0x0;var _0x685a42=_0x8f7a[_0x94118];return _0x685a42;};'use strict';var multer=require('multer');var util=require(_0xa8f7('0x0'));var path=require(_0xa8f7('0x1'));var timeout=require(_0xa8f7('0x2'));var express=require(_0xa8f7('0x3'));var router=express[_0xa8f7('0x4')]();var fs_extra=require(_0xa8f7('0x5'));var auth=require(_0xa8f7('0x6'));var interaction=require(_0xa8f7('0x7'));var config=require(_0xa8f7('0x8'));var controller=require(_0xa8f7('0x9'));router[_0xa8f7('0xa')]('/',auth[_0xa8f7('0xb')](),controller[_0xa8f7('0xc')]);router[_0xa8f7('0xa')](_0xa8f7('0xd'),auth[_0xa8f7('0xb')](),controller[_0xa8f7('0xe')]);router['get'](_0xa8f7('0xf'),auth[_0xa8f7('0xb')](),controller[_0xa8f7('0x10')]);router[_0xa8f7('0x11')]('/',auth[_0xa8f7('0xb')](),controller[_0xa8f7('0x12')]);router[_0xa8f7('0x13')](_0xa8f7('0xd'),auth[_0xa8f7('0xb')](),controller[_0xa8f7('0x14')]);router['delete'](_0xa8f7('0xd'),auth[_0xa8f7('0xb')](),controller[_0xa8f7('0x15')]);module['exports']=router;