Built motion from commit (unavailable).|2.0.75
[motion2.git] / server / api / license / 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 _0x38e8=['Router','./license.controller','put','isAuthenticated','update','multer','path'];(function(_0x5d8a61,_0x2ae42c){var _0x25d388=function(_0x428eb5){while(--_0x428eb5){_0x5d8a61['push'](_0x5d8a61['shift']());}};_0x25d388(++_0x2ae42c);}(_0x38e8,0x98));var _0x838e=function(_0x406800,_0x2ac9ad){_0x406800=_0x406800-0x0;var _0xf1c41=_0x38e8[_0x406800];return _0xf1c41;};'use strict';var multer=require(_0x838e('0x0'));var util=require('util');var path=require(_0x838e('0x1'));var express=require('express');var router=express[_0x838e('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x838e('0x3'));router['get']('/',controller['index']);router[_0x838e('0x4')]('/:id',auth[_0x838e('0x5')](),controller[_0x838e('0x6')]);module['exports']=router;