Built motion from commit (unavailable).|2.5.14
[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 _0x4d51=['show','post','create','put','update','destroy','exports','multer','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','get','isAuthenticated','describe','/:id'];(function(_0x1d6a82,_0x37c315){var _0x5834ac=function(_0x2402ba){while(--_0x2402ba){_0x1d6a82['push'](_0x1d6a82['shift']());}};_0x5834ac(++_0x37c315);}(_0x4d51,0x16f));var _0x14d5=function(_0x35367b,_0x514fea){_0x35367b=_0x35367b-0x0;var _0x13da13=_0x4d51[_0x35367b];return _0x13da13;};'use strict';var multer=require(_0x14d5('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x14d5('0x1'));var router=express[_0x14d5('0x2')]();var auth=require(_0x14d5('0x3'));var interaction=require(_0x14d5('0x4'));var config=require(_0x14d5('0x5'));var controller=require(_0x14d5('0x6'));router[_0x14d5('0x7')]('/',auth[_0x14d5('0x8')](),controller['index']);router[_0x14d5('0x7')]('/describe',auth['isAuthenticated'](),controller[_0x14d5('0x9')]);router[_0x14d5('0x7')](_0x14d5('0xa'),auth[_0x14d5('0x8')](),controller[_0x14d5('0xb')]);router[_0x14d5('0xc')]('/',auth[_0x14d5('0x8')](),controller[_0x14d5('0xd')]);router[_0x14d5('0xe')](_0x14d5('0xa'),auth[_0x14d5('0x8')](),controller[_0x14d5('0xf')]);router['delete'](_0x14d5('0xa'),auth[_0x14d5('0x8')](),controller[_0x14d5('0x10')]);module[_0x14d5('0x11')]=router;