Built motion from commit 994c64e1.|2.6.1
[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 _0xb7ea=['/describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','get','isAuthenticated'];(function(_0x46dd33,_0x492982){var _0x979584=function(_0x5a414b){while(--_0x5a414b){_0x46dd33['push'](_0x46dd33['shift']());}};_0x979584(++_0x492982);}(_0xb7ea,0x128));var _0xab7e=function(_0x544099,_0x372b30){_0x544099=_0x544099-0x0;var _0x20ab09=_0xb7ea[_0x544099];return _0x20ab09;};'use strict';var multer=require(_0xab7e('0x0'));var util=require(_0xab7e('0x1'));var path=require(_0xab7e('0x2'));var timeout=require(_0xab7e('0x3'));var express=require('express');var router=express[_0xab7e('0x4')]();var fs_extra=require(_0xab7e('0x5'));var auth=require(_0xab7e('0x6'));var interaction=require(_0xab7e('0x7'));var config=require(_0xab7e('0x8'));var controller=require(_0xab7e('0x9'));router[_0xab7e('0xa')]('/',auth[_0xab7e('0xb')](),controller['index']);router[_0xab7e('0xa')](_0xab7e('0xc'),auth['isAuthenticated'](),controller['describe']);router[_0xab7e('0xa')](_0xab7e('0xd'),auth[_0xab7e('0xb')](),controller[_0xab7e('0xe')]);router[_0xab7e('0xf')]('/',auth[_0xab7e('0xb')](),controller[_0xab7e('0x10')]);router[_0xab7e('0x11')]('/:id',auth[_0xab7e('0xb')](),controller[_0xab7e('0x12')]);router[_0xab7e('0x13')](_0xab7e('0xd'),auth['isAuthenticated'](),controller[_0xab7e('0x14')]);module[_0xab7e('0x15')]=router;