Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / smsAccount / 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 _0x48ab=['./smsAccount.controller','get','index','/describe','describe','/:id','isAuthenticated','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','/:id/interactions','getInteractions','/:id/status','statusGet','/:id/users','create','post','/:id/notify','addApplications','/:id/send','send','addAgents','put','update','delete','destroy','removeAnswers','removeAgents','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x5e8e0e,_0x1b21cf){var _0x18e025=function(_0x482065){while(--_0x482065){_0x5e8e0e['push'](_0x5e8e0e['shift']());}};_0x18e025(++_0x1b21cf);}(_0x48ab,0x6b));var _0xb48a=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0x48ab[_0x3bf83f];return _0x22c4a9;};'use strict';var multer=require('multer');var util=require(_0xb48a('0x0'));var path=require(_0xb48a('0x1'));var timeout=require(_0xb48a('0x2'));var express=require('express');var router=express[_0xb48a('0x3')]();var auth=require(_0xb48a('0x4'));var interaction=require(_0xb48a('0x5'));var config=require(_0xb48a('0x6'));var controller=require(_0xb48a('0x7'));router[_0xb48a('0x8')]('/',auth['isAuthenticated'](),controller[_0xb48a('0x9')]);router['get'](_0xb48a('0xa'),auth['isAuthenticated'](),controller[_0xb48a('0xb')]);router[_0xb48a('0x8')](_0xb48a('0xc'),auth[_0xb48a('0xd')](),controller['show']);router[_0xb48a('0x8')](_0xb48a('0xe'),auth[_0xb48a('0xd')](),controller[_0xb48a('0xf')]);router[_0xb48a('0x8')](_0xb48a('0x10'),auth[_0xb48a('0xd')](),controller[_0xb48a('0x11')]);router[_0xb48a('0x8')](_0xb48a('0x12'),auth[_0xb48a('0xd')](),controller['getApplications']);router[_0xb48a('0x8')](_0xb48a('0x13'),auth[_0xb48a('0xd')](),controller[_0xb48a('0x14')]);router['get'](_0xb48a('0x15'),controller[_0xb48a('0x16')]);router[_0xb48a('0x8')](_0xb48a('0x17'),auth['isAuthenticated'](),controller['getAgents']);router['post']('/',auth[_0xb48a('0xd')](),controller[_0xb48a('0x18')]);router[_0xb48a('0x19')](_0xb48a('0xe'),auth[_0xb48a('0xd')](),controller['addDisposition']);router['post'](_0xb48a('0x10'),auth['isAuthenticated'](),controller['addAnswer']);router[_0xb48a('0x19')](_0xb48a('0x1a'),controller['notify']);router['post'](_0xb48a('0x12'),auth['isAuthenticated'](),controller[_0xb48a('0x1b')]);router[_0xb48a('0x19')](_0xb48a('0x1c'),auth[_0xb48a('0xd')](),controller[_0xb48a('0x1d')]);router[_0xb48a('0x19')](_0xb48a('0x15'),controller['status']);router[_0xb48a('0x19')](_0xb48a('0x17'),auth[_0xb48a('0xd')](),controller[_0xb48a('0x1e')]);router[_0xb48a('0x1f')](_0xb48a('0xc'),auth['isAuthenticated'](),controller[_0xb48a('0x20')]);router[_0xb48a('0x21')](_0xb48a('0xc'),auth[_0xb48a('0xd')](),controller[_0xb48a('0x22')]);router[_0xb48a('0x21')](_0xb48a('0xe'),auth[_0xb48a('0xd')](),controller['removeDispositions']);router[_0xb48a('0x21')](_0xb48a('0x10'),auth['isAuthenticated'](),controller[_0xb48a('0x23')]);router[_0xb48a('0x21')](_0xb48a('0x17'),auth[_0xb48a('0xd')](),controller[_0xb48a('0x24')]);module[_0xb48a('0x25')]=router;