Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / squareMessage / 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 _0x921d=['index','/:id','show','post','create','put','update','delete','destroy','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./squareMessage.controller','get','isAuthenticated'];(function(_0x4ab7c7,_0x421ccd){var _0x5b619d=function(_0x23f8c4){while(--_0x23f8c4){_0x4ab7c7['push'](_0x4ab7c7['shift']());}};_0x5b619d(++_0x421ccd);}(_0x921d,0xf3));var _0xd921=function(_0x537a5b,_0x209343){_0x537a5b=_0x537a5b-0x0;var _0x5e575b=_0x921d[_0x537a5b];return _0x5e575b;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xd921('0x0'));var express=require(_0xd921('0x1'));var router=express[_0xd921('0x2')]();var fs_extra=require(_0xd921('0x3'));var auth=require(_0xd921('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xd921('0x5'));var controller=require(_0xd921('0x6'));router[_0xd921('0x7')]('/',auth[_0xd921('0x8')](),controller[_0xd921('0x9')]);router[_0xd921('0x7')](_0xd921('0xa'),auth[_0xd921('0x8')](),controller[_0xd921('0xb')]);router[_0xd921('0xc')]('/',auth[_0xd921('0x8')](),controller[_0xd921('0xd')]);router[_0xd921('0xe')](_0xd921('0xa'),auth[_0xd921('0x8')](),controller[_0xd921('0xf')]);router[_0xd921('0x10')](_0xd921('0xa'),auth[_0xd921('0x8')](),controller[_0xd921('0x11')]);module['exports']=router;