Built motion from commit (unavailable).|2.5.30
[motion2.git] / server / api / chatProactiveAction / 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 _0xa933=['util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','./chatProactiveAction.controller','/:id','isAuthenticated','show','post','create','put','update','destroy','multer'];(function(_0x1e2551,_0x57590b){var _0x14dcf9=function(_0x54d9bd){while(--_0x54d9bd){_0x1e2551['push'](_0x1e2551['shift']());}};_0x14dcf9(++_0x57590b);}(_0xa933,0xdf));var _0x3a93=function(_0x2b7e4f,_0x5a14b5){_0x2b7e4f=_0x2b7e4f-0x0;var _0x404806=_0xa933[_0x2b7e4f];return _0x404806;};'use strict';var multer=require(_0x3a93('0x0'));var util=require(_0x3a93('0x1'));var path=require(_0x3a93('0x2'));var timeout=require(_0x3a93('0x3'));var express=require('express');var router=express[_0x3a93('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x3a93('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x3a93('0x6'));var controller=require(_0x3a93('0x7'));router['get'](_0x3a93('0x8'),auth[_0x3a93('0x9')](),controller[_0x3a93('0xa')]);router[_0x3a93('0xb')]('/',auth['isAuthenticated'](),controller[_0x3a93('0xc')]);router[_0x3a93('0xd')]('/:id',auth[_0x3a93('0x9')](),controller[_0x3a93('0xe')]);router['delete'](_0x3a93('0x8'),auth[_0x3a93('0x9')](),controller[_0x3a93('0xf')]);module['exports']=router;