Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / saStatus / 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 _0x275f=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./saStatus.controller','get','isAuthenticated','/describe','describe','show','post','create','/:id','update','delete','destroy','exports','multer','util'];(function(_0x46712f,_0x5f27b5){var _0xc8d718=function(_0x42f337){while(--_0x42f337){_0x46712f['push'](_0x46712f['shift']());}};_0xc8d718(++_0x5f27b5);}(_0x275f,0x106));var _0xf275=function(_0x445101,_0x2414bf){_0x445101=_0x445101-0x0;var _0x3c3d04=_0x275f[_0x445101];return _0x3c3d04;};'use strict';var multer=require(_0xf275('0x0'));var util=require(_0xf275('0x1'));var path=require(_0xf275('0x2'));var timeout=require(_0xf275('0x3'));var express=require(_0xf275('0x4'));var router=express[_0xf275('0x5')]();var auth=require(_0xf275('0x6'));var interaction=require(_0xf275('0x7'));var config=require(_0xf275('0x8'));var controller=require(_0xf275('0x9'));router[_0xf275('0xa')]('/',auth[_0xf275('0xb')](),controller['index']);router[_0xf275('0xa')](_0xf275('0xc'),auth[_0xf275('0xb')](),controller[_0xf275('0xd')]);router[_0xf275('0xa')]('/:id',auth[_0xf275('0xb')](),controller[_0xf275('0xe')]);router[_0xf275('0xf')]('/',auth[_0xf275('0xb')](),controller[_0xf275('0x10')]);router['put'](_0xf275('0x11'),auth['isAuthenticated'](),controller[_0xf275('0x12')]);router[_0xf275('0x13')](_0xf275('0x11'),auth[_0xf275('0xb')](),controller[_0xf275('0x14')]);module[_0xf275('0x15')]=router;