Built motion from commit (unavailable).|2.5.23
[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 _0x513f=['destroy','exports','util','path','express','Router','../../components/auth/service','./squareMessage.controller','get','isAuthenticated','index','/:id','show','post','create','put','update'];(function(_0x4e11d5,_0x1ce514){var _0x5e4e4c=function(_0xbee63d){while(--_0xbee63d){_0x4e11d5['push'](_0x4e11d5['shift']());}};_0x5e4e4c(++_0x1ce514);}(_0x513f,0xce));var _0xf513=function(_0x350831,_0x9839d2){_0x350831=_0x350831-0x0;var _0x546ec5=_0x513f[_0x350831];return _0x546ec5;};'use strict';var multer=require('multer');var util=require(_0xf513('0x0'));var path=require(_0xf513('0x1'));var timeout=require('connect-timeout');var express=require(_0xf513('0x2'));var router=express[_0xf513('0x3')]();var auth=require(_0xf513('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xf513('0x5'));router[_0xf513('0x6')]('/',auth[_0xf513('0x7')](),controller[_0xf513('0x8')]);router[_0xf513('0x6')](_0xf513('0x9'),auth[_0xf513('0x7')](),controller[_0xf513('0xa')]);router[_0xf513('0xb')]('/',auth[_0xf513('0x7')](),controller[_0xf513('0xc')]);router[_0xf513('0xd')](_0xf513('0x9'),auth[_0xf513('0x7')](),controller[_0xf513('0xe')]);router['delete'](_0xf513('0x9'),auth[_0xf513('0x7')](),controller[_0xf513('0xf')]);module[_0xf513('0x10')]=router;