Built motion from commit fa4c4286.|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 _0xf039=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','put','update','destroy','exports','multer','path'];(function(_0x5ba59d,_0x506db2){var _0x384384=function(_0x5adaa9){while(--_0x5adaa9){_0x5ba59d['push'](_0x5ba59d['shift']());}};_0x384384(++_0x506db2);}(_0xf039,0x139));var _0x9f03=function(_0x12def7,_0x4bdff4){_0x12def7=_0x12def7-0x0;var _0x59629c=_0xf039[_0x12def7];return _0x59629c;};'use strict';var multer=require(_0x9f03('0x0'));var util=require('util');var path=require(_0x9f03('0x1'));var timeout=require('connect-timeout');var express=require(_0x9f03('0x2'));var router=express[_0x9f03('0x3')]();var fs_extra=require(_0x9f03('0x4'));var auth=require(_0x9f03('0x5'));var interaction=require(_0x9f03('0x6'));var config=require(_0x9f03('0x7'));var controller=require(_0x9f03('0x8'));router[_0x9f03('0x9')]('/',auth[_0x9f03('0xa')](),controller[_0x9f03('0xb')]);router[_0x9f03('0x9')](_0x9f03('0xc'),auth['isAuthenticated'](),controller[_0x9f03('0xd')]);router['get'](_0x9f03('0xe'),auth['isAuthenticated'](),controller['show']);router[_0x9f03('0xf')]('/',auth['isAuthenticated'](),controller[_0x9f03('0x10')]);router[_0x9f03('0x11')](_0x9f03('0xe'),auth[_0x9f03('0xa')](),controller[_0x9f03('0x12')]);router['delete'](_0x9f03('0xe'),auth[_0x9f03('0xa')](),controller[_0x9f03('0x13')]);module[_0x9f03('0x14')]=router;