Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / cmCompany / index.js
index 26f3820..164adc4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6343=['path','connect-timeout','../../config/environment','./cmCompany.controller','isAuthenticated','index','/describe','/:id','show','get','/:id/contacts','create','addContacts','put','update','delete','destroy','exports'];(function(_0x37d73a,_0x1f2af1){var _0x3f4139=function(_0x22419d){while(--_0x22419d){_0x37d73a['push'](_0x37d73a['shift']());}};_0x3f4139(++_0x1f2af1);}(_0x6343,0x168));var _0x3634=function(_0x2c3406,_0x559f22){_0x2c3406=_0x2c3406-0x0;var _0x1772cb=_0x6343[_0x2c3406];return _0x1772cb;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x3634('0x0'));var timeout=require(_0x3634('0x1'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x3634('0x2'));var controller=require(_0x3634('0x3'));router['get']('/',auth[_0x3634('0x4')](),controller[_0x3634('0x5')]);router['get'](_0x3634('0x6'),auth[_0x3634('0x4')](),controller['describe']);router['get'](_0x3634('0x7'),auth[_0x3634('0x4')](),controller[_0x3634('0x8')]);router[_0x3634('0x9')](_0x3634('0xa'),auth[_0x3634('0x4')](),controller['getContacts']);router['post']('/',auth[_0x3634('0x4')](),controller[_0x3634('0xb')]);router['post'](_0x3634('0xa'),auth[_0x3634('0x4')](),controller[_0x3634('0xc')]);router[_0x3634('0xd')](_0x3634('0x7'),auth[_0x3634('0x4')](),controller[_0x3634('0xe')]);router[_0x3634('0xf')](_0x3634('0x7'),auth[_0x3634('0x4')](),controller[_0x3634('0x10')]);module[_0x3634('0x11')]=router;
\ No newline at end of file
+var _0x66fa=['util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCompany.controller','index','get','/describe','isAuthenticated','describe','/:id','show','/:id/contacts','create','addContacts','update','multer'];(function(_0x341e80,_0x205963){var _0x4494f9=function(_0x5c8497){while(--_0x5c8497){_0x341e80['push'](_0x341e80['shift']());}};_0x4494f9(++_0x205963);}(_0x66fa,0x117));var _0xa66f=function(_0x223c41,_0x5033cd){_0x223c41=_0x223c41-0x0;var _0x5c485b=_0x66fa[_0x223c41];return _0x5c485b;};'use strict';var multer=require(_0xa66f('0x0'));var util=require(_0xa66f('0x1'));var path=require('path');var timeout=require(_0xa66f('0x2'));var express=require(_0xa66f('0x3'));var router=express[_0xa66f('0x4')]();var auth=require(_0xa66f('0x5'));var interaction=require(_0xa66f('0x6'));var config=require(_0xa66f('0x7'));var controller=require(_0xa66f('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xa66f('0x9')]);router[_0xa66f('0xa')](_0xa66f('0xb'),auth[_0xa66f('0xc')](),controller[_0xa66f('0xd')]);router['get'](_0xa66f('0xe'),auth['isAuthenticated'](),controller[_0xa66f('0xf')]);router['get'](_0xa66f('0x10'),auth['isAuthenticated'](),controller['getContacts']);router['post']('/',auth[_0xa66f('0xc')](),controller[_0xa66f('0x11')]);router['post'](_0xa66f('0x10'),auth['isAuthenticated'](),controller[_0xa66f('0x12')]);router['put'](_0xa66f('0xe'),auth[_0xa66f('0xc')](),controller[_0xa66f('0x13')]);router['delete']('/:id',auth[_0xa66f('0xc')](),controller['destroy']);module['exports']=router;
\ No newline at end of file