Built motion from commit (unavailable).|2.5.24
[motion2.git] / server / api / smsMessage / 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 _0xf099=['sms','smsmessage:create','/:id/status','status','put','/:id/accept','/:id/reject','reject','delete','destroy','exports','multer','util','Router','../../components/interaction/service','../../config/environment','./smsMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','post'];(function(_0x58f5f0,_0x489def){var _0x249edf=function(_0x31f573){while(--_0x31f573){_0x58f5f0['push'](_0x58f5f0['shift']());}};_0x249edf(++_0x489def);}(_0xf099,0x15b));var _0x9f09=function(_0x46a671,_0x758e9a){_0x46a671=_0x46a671-0x0;var _0x526d75=_0xf099[_0x46a671];return _0x526d75;};'use strict';var multer=require(_0x9f09('0x0'));var util=require(_0x9f09('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x9f09('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x9f09('0x3'));var config=require(_0x9f09('0x4'));var controller=require(_0x9f09('0x5'));router[_0x9f09('0x6')]('/',auth[_0x9f09('0x7')](),controller[_0x9f09('0x8')]);router[_0x9f09('0x6')](_0x9f09('0x9'),auth[_0x9f09('0x7')](),controller[_0x9f09('0xa')]);router[_0x9f09('0x6')](_0x9f09('0xb'),auth[_0x9f09('0x7')](),controller['show']);router[_0x9f09('0xc')]('/',auth[_0x9f09('0x7')](),interaction['tracked'](_0x9f09('0xd'),_0x9f09('0xe')),controller['create']);router[_0x9f09('0xc')](_0x9f09('0xf'),controller[_0x9f09('0x10')]);router[_0x9f09('0x11')](_0x9f09('0xb'),auth[_0x9f09('0x7')](),controller['update']);router[_0x9f09('0x11')](_0x9f09('0x12'),auth[_0x9f09('0x7')](),controller['accept']);router['put'](_0x9f09('0x13'),auth[_0x9f09('0x7')](),controller[_0x9f09('0x14')]);router[_0x9f09('0x15')](_0x9f09('0xb'),auth['isAuthenticated'](),controller[_0x9f09('0x16')]);module[_0x9f09('0x17')]=router;