Built motion from commit d69f4380.|2.6.29
[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 _0x4503=['index','get','/describe','describe','/:id','show','post','create','put','update','delete','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','isAuthenticated'];(function(_0x52a6e3,_0x4a73b4){var _0x8910d0=function(_0x57e5ef){while(--_0x57e5ef){_0x52a6e3['push'](_0x52a6e3['shift']());}};_0x8910d0(++_0x4a73b4);}(_0x4503,0x197));var _0x3450=function(_0x556400,_0x23b4e7){_0x556400=_0x556400-0x0;var _0x50992c=_0x4503[_0x556400];return _0x50992c;};'use strict';var multer=require(_0x3450('0x0'));var util=require(_0x3450('0x1'));var path=require(_0x3450('0x2'));var timeout=require('connect-timeout');var express=require(_0x3450('0x3'));var router=express[_0x3450('0x4')]();var fs_extra=require(_0x3450('0x5'));var auth=require(_0x3450('0x6'));var interaction=require(_0x3450('0x7'));var config=require(_0x3450('0x8'));var controller=require(_0x3450('0x9'));router['get']('/',auth[_0x3450('0xa')](),controller[_0x3450('0xb')]);router[_0x3450('0xc')](_0x3450('0xd'),auth[_0x3450('0xa')](),controller[_0x3450('0xe')]);router[_0x3450('0xc')](_0x3450('0xf'),auth[_0x3450('0xa')](),controller[_0x3450('0x10')]);router[_0x3450('0x11')]('/',auth[_0x3450('0xa')](),controller[_0x3450('0x12')]);router[_0x3450('0x13')](_0x3450('0xf'),auth[_0x3450('0xa')](),controller[_0x3450('0x14')]);router[_0x3450('0x15')](_0x3450('0xf'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;