Built motion from commit 85328c08.|2.5.50
[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 _0x0b93=['../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','delete','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x0b93,0x15f));var _0x30b9=function(_0x49534b,_0x147009){_0x49534b=_0x49534b-0x0;var _0x22517e=_0x0b93[_0x49534b];return _0x22517e;};'use strict';var multer=require('multer');var util=require(_0x30b9('0x0'));var path=require('path');var timeout=require(_0x30b9('0x1'));var express=require(_0x30b9('0x2'));var router=express[_0x30b9('0x3')]();var fs_extra=require(_0x30b9('0x4'));var auth=require(_0x30b9('0x5'));var interaction=require(_0x30b9('0x6'));var config=require(_0x30b9('0x7'));var controller=require(_0x30b9('0x8'));router[_0x30b9('0x9')]('/',auth[_0x30b9('0xa')](),controller[_0x30b9('0xb')]);router[_0x30b9('0x9')](_0x30b9('0xc'),auth[_0x30b9('0xa')](),controller[_0x30b9('0xd')]);router[_0x30b9('0x9')](_0x30b9('0xe'),auth['isAuthenticated'](),controller[_0x30b9('0xf')]);router[_0x30b9('0x10')]('/',auth['isAuthenticated'](),controller[_0x30b9('0x11')]);router[_0x30b9('0x12')](_0x30b9('0xe'),auth[_0x30b9('0xa')](),controller['update']);router[_0x30b9('0x13')](_0x30b9('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0x30b9('0x14')]=router;