Built motion from commit (unavailable).|2.4.21
[motion2.git] / server / api / openchannelMessage / 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 _0xc50c=['create','put','update','accept','/:id/reject','reject','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','post','tracked','openchannel','openchannelmessage:create'];(function(_0x53194b,_0x49ab78){var _0x27bf20=function(_0x44b511){while(--_0x44b511){_0x53194b['push'](_0x53194b['shift']());}};_0x27bf20(++_0x49ab78);}(_0xc50c,0xc5));var _0xcc50=function(_0x525c7b,_0x488fcc){_0x525c7b=_0x525c7b-0x0;var _0x27b33e=_0xc50c[_0x525c7b];return _0x27b33e;};'use strict';var multer=require(_0xcc50('0x0'));var util=require(_0xcc50('0x1'));var path=require(_0xcc50('0x2'));var timeout=require(_0xcc50('0x3'));var express=require('express');var router=express[_0xcc50('0x4')]();var auth=require(_0xcc50('0x5'));var interaction=require(_0xcc50('0x6'));var config=require(_0xcc50('0x7'));var controller=require(_0xcc50('0x8'));router[_0xcc50('0x9')]('/',auth[_0xcc50('0xa')](),controller[_0xcc50('0xb')]);router[_0xcc50('0x9')](_0xcc50('0xc'),auth[_0xcc50('0xa')](),controller[_0xcc50('0xd')]);router[_0xcc50('0x9')](_0xcc50('0xe'),auth[_0xcc50('0xa')](),controller['show']);router[_0xcc50('0xf')]('/',auth['isAuthenticated'](),interaction[_0xcc50('0x10')](_0xcc50('0x11'),_0xcc50('0x12')),controller[_0xcc50('0x13')]);router[_0xcc50('0x14')](_0xcc50('0xe'),auth[_0xcc50('0xa')](),controller[_0xcc50('0x15')]);router[_0xcc50('0x14')]('/:id/accept',auth['isAuthenticated'](),controller[_0xcc50('0x16')]);router[_0xcc50('0x14')](_0xcc50('0x17'),auth[_0xcc50('0xa')](),controller[_0xcc50('0x18')]);router['delete'](_0xcc50('0xe'),auth[_0xcc50('0xa')](),controller[_0xcc50('0x19')]);module[_0xcc50('0x1a')]=router;