Built motion from commit (unavailable).|2.5.26
[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 _0x7ecf=['/:id','isAuthenticated','post','put','delete','destroy','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get'];(function(_0xcbb7eb,_0x52108a){var _0x7785f5=function(_0x36f42f){while(--_0x36f42f){_0xcbb7eb['push'](_0xcbb7eb['shift']());}};_0x7785f5(++_0x52108a);}(_0x7ecf,0x19c));var _0xf7ec=function(_0x936a9a,_0x5834f9){_0x936a9a=_0x936a9a-0x0;var _0x5393da=_0x7ecf[_0x936a9a];return _0x5393da;};'use strict';var multer=require(_0xf7ec('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xf7ec('0x1'));var express=require(_0xf7ec('0x2'));var router=express[_0xf7ec('0x3')]();var fs_extra=require(_0xf7ec('0x4'));var auth=require(_0xf7ec('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf7ec('0x6'));var controller=require('./chatProactiveAction.controller');router[_0xf7ec('0x7')](_0xf7ec('0x8'),auth[_0xf7ec('0x9')](),controller['show']);router[_0xf7ec('0xa')]('/',auth[_0xf7ec('0x9')](),controller['create']);router[_0xf7ec('0xb')]('/:id',auth[_0xf7ec('0x9')](),controller['update']);router[_0xf7ec('0xc')](_0xf7ec('0x8'),auth[_0xf7ec('0x9')](),controller[_0xf7ec('0xd')]);module[_0xf7ec('0xe')]=router;