Built motion from commit (unavailable).|2.4.3
[motion2.git] / server / api / saPriceList / index.js
index 36fc362..b301540 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xba6f=['show','/:id/products','getProducts','create','post','/:id/clone','clone','put','update','delete','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x252314,_0x550148){var _0x48985d=function(_0x29cbb8){while(--_0x29cbb8){_0x252314['push'](_0x252314['shift']());}};_0x48985d(++_0x550148);}(_0xba6f,0x1bf));var _0xfba6=function(_0x1be790,_0x112549){_0x1be790=_0x1be790-0x0;var _0x7668c8=_0xba6f[_0x1be790];return _0x7668c8;};'use strict';var multer=require('multer');var util=require(_0xfba6('0x0'));var path=require(_0xfba6('0x1'));var timeout=require(_0xfba6('0x2'));var express=require(_0xfba6('0x3'));var router=express[_0xfba6('0x4')]();var auth=require(_0xfba6('0x5'));var interaction=require(_0xfba6('0x6'));var config=require('../../config/environment');var controller=require('./saPriceList.controller');router[_0xfba6('0x7')]('/',auth[_0xfba6('0x8')](),controller[_0xfba6('0x9')]);router[_0xfba6('0x7')](_0xfba6('0xa'),auth[_0xfba6('0x8')](),controller[_0xfba6('0xb')]);router['get'](_0xfba6('0xc'),auth[_0xfba6('0x8')](),controller[_0xfba6('0xd')]);router['get'](_0xfba6('0xe'),auth['isAuthenticated'](),controller[_0xfba6('0xf')]);router['post']('/',auth[_0xfba6('0x8')](),controller[_0xfba6('0x10')]);router[_0xfba6('0x11')](_0xfba6('0x12'),auth[_0xfba6('0x8')](),controller[_0xfba6('0x13')]);router[_0xfba6('0x11')]('/:id/products',auth['isAuthenticated'](),controller['addProduct']);router[_0xfba6('0x14')](_0xfba6('0xc'),auth[_0xfba6('0x8')](),controller[_0xfba6('0x15')]);router[_0xfba6('0x16')](_0xfba6('0xc'),auth[_0xfba6('0x8')](),controller['destroy']);router[_0xfba6('0x16')](_0xfba6('0xe'),auth[_0xfba6('0x8')](),controller['removeProducts']);module['exports']=router;
\ No newline at end of file
+var _0xb786=['/:id/products','post','/:id/clone','addProduct','put','update','util','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show'];(function(_0x1adfba,_0x1c5398){var _0x400175=function(_0x5d1030){while(--_0x5d1030){_0x1adfba['push'](_0x1adfba['shift']());}};_0x400175(++_0x1c5398);}(_0xb786,0xc1));var _0x6b78=function(_0x521a1c,_0x1510b2){_0x521a1c=_0x521a1c-0x0;var _0x5dbe62=_0xb786[_0x521a1c];return _0x5dbe62;};'use strict';var multer=require('multer');var util=require(_0x6b78('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x6b78('0x1'));var router=express[_0x6b78('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x6b78('0x3'));var config=require(_0x6b78('0x4'));var controller=require('./saPriceList.controller');router[_0x6b78('0x5')]('/',auth[_0x6b78('0x6')](),controller[_0x6b78('0x7')]);router[_0x6b78('0x5')]('/describe',auth[_0x6b78('0x6')](),controller[_0x6b78('0x8')]);router[_0x6b78('0x5')](_0x6b78('0x9'),auth['isAuthenticated'](),controller[_0x6b78('0xa')]);router[_0x6b78('0x5')](_0x6b78('0xb'),auth[_0x6b78('0x6')](),controller['getProducts']);router[_0x6b78('0xc')]('/',auth[_0x6b78('0x6')](),controller['create']);router[_0x6b78('0xc')](_0x6b78('0xd'),auth[_0x6b78('0x6')](),controller['clone']);router['post']('/:id/products',auth[_0x6b78('0x6')](),controller[_0x6b78('0xe')]);router[_0x6b78('0xf')](_0x6b78('0x9'),auth[_0x6b78('0x6')](),controller[_0x6b78('0x10')]);router['delete'](_0x6b78('0x9'),auth['isAuthenticated'](),controller['destroy']);router['delete']('/:id/products',auth[_0x6b78('0x6')](),controller['removeProducts']);module['exports']=router;
\ No newline at end of file