Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / chatOfflineMessage / 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 _0x460a=['get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller'];(function(_0x48ec03,_0x465346){var _0x2839c4=function(_0x4fbf8d){while(--_0x4fbf8d){_0x48ec03['push'](_0x48ec03['shift']());}};_0x2839c4(++_0x465346);}(_0x460a,0x10f));var _0xa460=function(_0x350258,_0x4e0a50){_0x350258=_0x350258-0x0;var _0x3714b3=_0x460a[_0x350258];return _0x3714b3;};'use strict';var multer=require('multer');var util=require(_0xa460('0x0'));var path=require(_0xa460('0x1'));var timeout=require(_0xa460('0x2'));var express=require(_0xa460('0x3'));var router=express[_0xa460('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xa460('0x5'));var interaction=require(_0xa460('0x6'));var config=require(_0xa460('0x7'));var controller=require(_0xa460('0x8'));router[_0xa460('0x9')]('/',auth[_0xa460('0xa')](),controller['index']);router['get']('/describe',auth[_0xa460('0xa')](),controller['describe']);router[_0xa460('0x9')](_0xa460('0xb'),auth[_0xa460('0xa')](),controller[_0xa460('0xc')]);router[_0xa460('0xd')]('/',auth['isAuthenticated'](),controller[_0xa460('0xe')]);router[_0xa460('0xf')](_0xa460('0xb'),auth['isAuthenticated'](),controller[_0xa460('0x10')]);router[_0xa460('0x11')](_0xa460('0xb'),auth[_0xa460('0xa')](),controller[_0xa460('0x12')]);module[_0xa460('0x13')]=router;