89fb7d7cce938f7e602f0a6b2950c582dcb620c6
[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 _0x67a2=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer'];(function(_0x5a8aa3,_0x2294d5){var _0x5d0458=function(_0x62d096){while(--_0x62d096){_0x5a8aa3['push'](_0x5a8aa3['shift']());}};_0x5d0458(++_0x2294d5);}(_0x67a2,0x1a3));var _0x267a=function(_0xa2d41,_0x29a7bf){_0xa2d41=_0xa2d41-0x0;var _0x164681=_0x67a2[_0xa2d41];return _0x164681;};'use strict';var multer=require(_0x267a('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x267a('0x1'));var express=require(_0x267a('0x2'));var router=express[_0x267a('0x3')]();var fs_extra=require(_0x267a('0x4'));var auth=require(_0x267a('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x267a('0x6'));var controller=require('./chatOfflineMessage.controller');router[_0x267a('0x7')]('/',auth[_0x267a('0x8')](),controller[_0x267a('0x9')]);router[_0x267a('0x7')](_0x267a('0xa'),auth[_0x267a('0x8')](),controller[_0x267a('0xb')]);router[_0x267a('0x7')](_0x267a('0xc'),auth[_0x267a('0x8')](),controller[_0x267a('0xd')]);router[_0x267a('0xe')]('/',auth[_0x267a('0x8')](),controller[_0x267a('0xf')]);router[_0x267a('0x10')](_0x267a('0xc'),auth[_0x267a('0x8')](),controller[_0x267a('0x11')]);router[_0x267a('0x12')](_0x267a('0xc'),auth[_0x267a('0x8')](),controller[_0x267a('0x13')]);module[_0x267a('0x14')]=router;