Built motion from commit (unavailable).|2.4.3
[motion2.git] / server / api / saSalesCondition / 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 _0xfa00=['get','isAuthenticated','/:id','show','post','create','exports','util','connect-timeout','Router','../../components/auth/service','../../config/environment'];(function(_0x1473da,_0x3abfff){var _0x2130cb=function(_0x11198c){while(--_0x11198c){_0x1473da['push'](_0x1473da['shift']());}};_0x2130cb(++_0x3abfff);}(_0xfa00,0x1f3));var _0x0fa0=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xfa00[_0x2c91e9];return _0x13f0ff;};'use strict';var multer=require('multer');var util=require(_0x0fa0('0x0'));var path=require('path');var timeout=require(_0x0fa0('0x1'));var express=require('express');var router=express[_0x0fa0('0x2')]();var auth=require(_0x0fa0('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x0fa0('0x4'));var controller=require('./saSalesCondition.controller');router[_0x0fa0('0x5')]('/',auth[_0x0fa0('0x6')](),controller['index']);router[_0x0fa0('0x5')](_0x0fa0('0x7'),auth[_0x0fa0('0x6')](),controller[_0x0fa0('0x8')]);router[_0x0fa0('0x9')]('/',auth[_0x0fa0('0x6')](),controller[_0x0fa0('0xa')]);module[_0x0fa0('0xb')]=router;