mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm run lint
|
||||
# npm run lint
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// There are three possible states for our changePassword
|
||||
// process and we need actions for each of them
|
||||
export const CHANGEPASSWORD_SUCCESS: string = 'auth/CHANGEPASSWORD_SUCCESS';
|
||||
export const CHANGEPASSWORD_FAILED: string = 'auth/CHANGEPASSWORD_FAILED';
|
||||
export const CHANGEPASSWORD_REQUEST: string = 'auth/CHANGEPASSWORD_REQUEST';
|
||||
export const RESET_CHANGEPASSWORD: string = 'auth/RESET_CHANGEPASSWORD';
|
||||
export const CHANGEPASSWORD_SUCCESS: string = 'auth/CHANGEPASSWORD_SUCCESS';
|
||||
export const CHANGEPASSWORD_FAILED: string = 'auth/CHANGEPASSWORD_FAILED';
|
||||
export const CHANGEPASSWORD_REQUEST: string = 'auth/CHANGEPASSWORD_REQUEST';
|
||||
export const RESET_CHANGEPASSWORD: string = 'auth/RESET_CHANGEPASSWORD';
|
||||
|
||||
@@ -1,22 +1,28 @@
|
||||
export const LOGIN_SUCCESS: string = 'auth/LOGIN_SUCCESS';
|
||||
export const LOGIN_FAILED: string = 'auth/LOGIN_FAILED';
|
||||
export const LOGIN_REQUEST: string = 'auth/LOGIN_REQUEST';
|
||||
export const RESET_LOGIN: string = 'auth/RESET_LOGIN';
|
||||
export const SAVE_STATUS_PAGE: string = 'auth/SAVE_STATUS_PAGE';
|
||||
export const CHANGE_LOGIN: string = 'auth/CHANGE_LOGIN';
|
||||
export const LOGIN_STATE: string = 'auth/LOGIN_STATE';
|
||||
export const LOGIN_SUCCESS: string = 'auth/LOGIN_SUCCESS';
|
||||
export const LOGIN_FAILED: string = 'auth/LOGIN_FAILED';
|
||||
export const LOGIN_REQUEST: string = 'auth/LOGIN_REQUEST';
|
||||
export const RESET_LOGIN: string = 'auth/RESET_LOGIN';
|
||||
export const SAVE_STATUS_PAGE: string = 'auth/SAVE_STATUS_PAGE';
|
||||
export const CHANGE_LOGIN: string = 'auth/CHANGE_LOGIN';
|
||||
export const LOGIN_STATE: string = 'auth/LOGIN_STATE';
|
||||
|
||||
// Use token for logging in a user
|
||||
export const AUTH_VERIFICATION_SUCCESS: string = 'auth/AUTH_VERIFICATION_SUCCESS';
|
||||
export const AUTH_VERIFICATION_FAILED: string = 'auth/AUTH_VERIFICATION_FAILED';
|
||||
export const AUTH_VERIFICATION_REQUEST: string = 'auth/AUTH_VERIFICATION_REQUEST';
|
||||
export const RESET_AUTH_VERIFICATION: string = 'auth/RESET_AUTH_VERIFICATION';
|
||||
export const AUTH_VERIFICATION_SUCCESS: string =
|
||||
'auth/AUTH_VERIFICATION_SUCCESS';
|
||||
export const AUTH_VERIFICATION_FAILED: string = 'auth/AUTH_VERIFICATION_FAILED';
|
||||
export const AUTH_VERIFICATION_REQUEST: string =
|
||||
'auth/AUTH_VERIFICATION_REQUEST';
|
||||
export const RESET_AUTH_VERIFICATION: string = 'auth/RESET_AUTH_VERIFICATION';
|
||||
|
||||
// Master admin exists
|
||||
export const MASTER_ADMIN_EXISTS_SUCCESS: string = 'auth/MASTER_ADMIN_EXISTS_SUCCESS';
|
||||
export const MASTER_ADMIN_EXISTS_FAILED: string = 'auth/MASTER_ADMIN_EXISTS_FAILED';
|
||||
export const MASTER_ADMIN_EXISTS_REQUEST: string = 'auth/MASTER_ADMIN_EXISTS_REQUEST';
|
||||
export const RESET_MASTER_ADMIN_EXISTS: string = 'auth/RESET_MASTER_ADMIN_EXISTS';
|
||||
export const MASTER_ADMIN_EXISTS_SUCCESS: string =
|
||||
'auth/MASTER_ADMIN_EXISTS_SUCCESS';
|
||||
export const MASTER_ADMIN_EXISTS_FAILED: string =
|
||||
'auth/MASTER_ADMIN_EXISTS_FAILED';
|
||||
export const MASTER_ADMIN_EXISTS_REQUEST: string =
|
||||
'auth/MASTER_ADMIN_EXISTS_REQUEST';
|
||||
export const RESET_MASTER_ADMIN_EXISTS: string =
|
||||
'auth/RESET_MASTER_ADMIN_EXISTS';
|
||||
|
||||
// Use backup code for logging in a user
|
||||
export const BACKUP_CODE_VERIFICATION_SUCCESS =
|
||||
|
||||
@@ -1,25 +1,26 @@
|
||||
export const SIGNUP_SUCCESS: string = 'register/SIGNUP_SUCCESS';
|
||||
export const SIGNUP_FAILED: string = 'register/SIGNUP_FAILED';
|
||||
export const SIGNUP_STEP_INC: string = 'register/SIGNUP_STEP_INC';
|
||||
export const SIGNUP_STEP_DEC: string = 'register/SIGNUP_STEP_DEC';
|
||||
export const SIGNUP_REQUEST: string = 'register/SIGNUP_REQUEST';
|
||||
export const RESET_SIGNUP: string = 'register/RESET_SIGNUP';
|
||||
export const SAVE_USER_STATE: string = 'register/SAVE_USER_STATE';
|
||||
export const SAVE_CARD_STATE: string = 'register/SAVE_CARD_STATE';
|
||||
export const SAVE_COMPANY_STATE: string = 'register/SAVE_COMPANY_STATE';
|
||||
export const SIGNUP_SUCCESS: string = 'register/SIGNUP_SUCCESS';
|
||||
export const SIGNUP_FAILED: string = 'register/SIGNUP_FAILED';
|
||||
export const SIGNUP_STEP_INC: string = 'register/SIGNUP_STEP_INC';
|
||||
export const SIGNUP_STEP_DEC: string = 'register/SIGNUP_STEP_DEC';
|
||||
export const SIGNUP_REQUEST: string = 'register/SIGNUP_REQUEST';
|
||||
export const RESET_SIGNUP: string = 'register/RESET_SIGNUP';
|
||||
export const SAVE_USER_STATE: string = 'register/SAVE_USER_STATE';
|
||||
export const SAVE_CARD_STATE: string = 'register/SAVE_CARD_STATE';
|
||||
export const SAVE_COMPANY_STATE: string = 'register/SAVE_COMPANY_STATE';
|
||||
|
||||
export const IS_USER_INVITED_REQUEST: string = 'register/IS_USER_INVITED_FETCH';
|
||||
export const IS_USER_INVITED_FAILED: string = 'register/IS_USER_INVITED_FAILED';
|
||||
export const IS_USER_INVITED_SUCCESS: string = 'register/IS_USER_INVITED_SUCCESS';
|
||||
export const IS_USER_INVITED_RESET: string = 'register/IS_USER_INVITED_RESET';
|
||||
export const IS_USER_INVITED_FETCH: string = 'register/IS_USER_INVITED_FETCH';
|
||||
export const IS_USER_INVITED_REQUEST: string = 'register/IS_USER_INVITED_FETCH';
|
||||
export const IS_USER_INVITED_FAILED: string = 'register/IS_USER_INVITED_FAILED';
|
||||
export const IS_USER_INVITED_SUCCESS: string =
|
||||
'register/IS_USER_INVITED_SUCCESS';
|
||||
export const IS_USER_INVITED_RESET: string = 'register/IS_USER_INVITED_RESET';
|
||||
export const IS_USER_INVITED_FETCH: string = 'register/IS_USER_INVITED_FETCH';
|
||||
|
||||
export const SKIP_CARD_STEP: string = 'register/SKIP_CARD_STEP';
|
||||
export const SKIP_CARD_STEP: string = 'register/SKIP_CARD_STEP';
|
||||
|
||||
export const ADD_CARD_SUCCESS: string = 'ADD_CARD_SUCCESS';
|
||||
export const ADD_CARD_FAILED: string = 'ADD_CARD_FAILED';
|
||||
export const ADD_CARD_REQUEST: string = 'ADD_CARD_REQUEST';
|
||||
export const ADD_CARD_SUCCESS: string = 'ADD_CARD_SUCCESS';
|
||||
export const ADD_CARD_FAILED: string = 'ADD_CARD_FAILED';
|
||||
export const ADD_CARD_REQUEST: string = 'ADD_CARD_REQUEST';
|
||||
|
||||
export const SAVE_PLAN_ID: string = 'SAVE_PLAN_ID';
|
||||
export const SAVE_PLAN_ID: string = 'SAVE_PLAN_ID';
|
||||
|
||||
export const GET_EMAIL_FROM_TOKEN: string = 'GET_EMAIL_FROM_TOKEN';
|
||||
export const GET_EMAIL_FROM_TOKEN: string = 'GET_EMAIL_FROM_TOKEN';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export const RESENDTOKEN_SUCCESS: string = 'auth/RESENDTOKEN_SUCCESS';
|
||||
export const RESENDTOKEN_FAILED: string = 'auth/RESENDTOKEN_FAILED';
|
||||
export const RESENDTOKEN_REQUEST: string = 'auth/RESENDTOKEN_REQUEST';
|
||||
export const RESENDTOKEN_RESET: string = 'auth/RESENDTOKEN_RESET';
|
||||
export const RESENDTOKEN_SUCCESS: string = 'auth/RESENDTOKEN_SUCCESS';
|
||||
export const RESENDTOKEN_FAILED: string = 'auth/RESENDTOKEN_FAILED';
|
||||
export const RESENDTOKEN_REQUEST: string = 'auth/RESENDTOKEN_REQUEST';
|
||||
export const RESENDTOKEN_RESET: string = 'auth/RESENDTOKEN_RESET';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export const PASSWORDRESET_SUCCESS: string = 'auth/PASSWORDRESET_SUCCESS';
|
||||
export const PASSWORDRESET_FAILED: string = 'auth/PASSWORDRESET_FAILED';
|
||||
export const PASSWORDRESET_REQUEST: string = 'auth/PASSWORDRESET_REQUEST';
|
||||
export const RESET_PASSWORDRESET: string = 'auth/RESET_PASSWORDRESET';
|
||||
export const PASSWORDRESET_SUCCESS: string = 'auth/PASSWORDRESET_SUCCESS';
|
||||
export const PASSWORDRESET_FAILED: string = 'auth/PASSWORDRESET_FAILED';
|
||||
export const PASSWORDRESET_REQUEST: string = 'auth/PASSWORDRESET_REQUEST';
|
||||
export const RESET_PASSWORDRESET: string = 'auth/RESET_PASSWORDRESET';
|
||||
|
||||
@@ -1,26 +1,37 @@
|
||||
// Fetch All Audit Log List
|
||||
export const FETCH_AUDITLOGS_REQUEST: string = 'FETCH_AUDITLOGS_REQUEST';
|
||||
export const FETCH_AUDITLOGS_SUCCESS: string = 'FETCH_AUDITLOGS_SUCCESS';
|
||||
export const FETCH_AUDITLOGS_FAILURE: string = 'FETCH_AUDITLOGS_FAILURE';
|
||||
export const FETCH_AUDITLOGS_REQUEST: string = 'FETCH_AUDITLOGS_REQUEST';
|
||||
export const FETCH_AUDITLOGS_SUCCESS: string = 'FETCH_AUDITLOGS_SUCCESS';
|
||||
export const FETCH_AUDITLOGS_FAILURE: string = 'FETCH_AUDITLOGS_FAILURE';
|
||||
|
||||
// Search Audit Logs
|
||||
export const SEARCH_AUDITLOGS_REQUEST: string = 'SEARCH_AUDITLOGS_REQUEST';
|
||||
export const SEARCH_AUDITLOGS_SUCCESS: string = 'SEARCH_AUDITLOGS_SUCCESS';
|
||||
export const SEARCH_AUDITLOGS_FAILURE: string = 'SEARCH_AUDITLOGS_FAILURE';
|
||||
export const SEARCH_AUDITLOGS_REQUEST: string = 'SEARCH_AUDITLOGS_REQUEST';
|
||||
export const SEARCH_AUDITLOGS_SUCCESS: string = 'SEARCH_AUDITLOGS_SUCCESS';
|
||||
export const SEARCH_AUDITLOGS_FAILURE: string = 'SEARCH_AUDITLOGS_FAILURE';
|
||||
|
||||
// Delete All Logs
|
||||
export const DELETE_ALL_AUDITLOGS_REQUEST: string = 'DELETE_ALL_AUDITLOGS_REQUEST';
|
||||
export const DELETE_ALL_AUDITLOGS_SUCCESS: string = 'DELETE_ALL_AUDITLOGS_SUCCESS';
|
||||
export const DELETE_ALL_AUDITLOGS_FAILURE: string = 'DELETE_ALL_AUDITLOGS_FAILURE';
|
||||
export const DELETE_ALL_AUDITLOGS_REQUEST: string =
|
||||
'DELETE_ALL_AUDITLOGS_REQUEST';
|
||||
export const DELETE_ALL_AUDITLOGS_SUCCESS: string =
|
||||
'DELETE_ALL_AUDITLOGS_SUCCESS';
|
||||
export const DELETE_ALL_AUDITLOGS_FAILURE: string =
|
||||
'DELETE_ALL_AUDITLOGS_FAILURE';
|
||||
|
||||
// Fetch audit log status
|
||||
export const FETCH_AUDITLOG_STATUS_SUCCESS: string = 'FETCH_AUDITLOG_STATUS_SUCCESS';
|
||||
export const FETCH_AUDITLOG_STATUS_FAILED: string = 'FETCH_AUDITLOG_STATUS_FAILED';
|
||||
export const FETCH_AUDITLOG_STATUS_REQUEST: string = 'FETCH_AUDITLOG_STATUS_REQUEST';
|
||||
export const FETCH_AUDITLOG_STATUS_RESET: string = 'FETCH_AUDITLOG_STATUS_RESET';
|
||||
export const FETCH_AUDITLOG_STATUS_SUCCESS: string =
|
||||
'FETCH_AUDITLOG_STATUS_SUCCESS';
|
||||
export const FETCH_AUDITLOG_STATUS_FAILED: string =
|
||||
'FETCH_AUDITLOG_STATUS_FAILED';
|
||||
export const FETCH_AUDITLOG_STATUS_REQUEST: string =
|
||||
'FETCH_AUDITLOG_STATUS_REQUEST';
|
||||
export const FETCH_AUDITLOG_STATUS_RESET: string =
|
||||
'FETCH_AUDITLOG_STATUS_RESET';
|
||||
|
||||
// change audit log status
|
||||
export const CHANGE_AUDITLOG_STATUS_SUCCESS: string = 'CHANGE_AUDITLOG_STATUS_SUCCESS';
|
||||
export const CHANGE_AUDITLOG_STATUS_FAILED: string = 'CHANGE_AUDITLOG_STATUS_FAILED';
|
||||
export const CHANGE_AUDITLOG_STATUS_REQUEST: string = 'CHANGE_AUDITLOG_STATUS_REQUEST';
|
||||
export const CHANGE_AUDITLOG_STATUS_RESET: string = 'CHANGE_AUDITLOG_STATUS_RESET';
|
||||
export const CHANGE_AUDITLOG_STATUS_SUCCESS: string =
|
||||
'CHANGE_AUDITLOG_STATUS_SUCCESS';
|
||||
export const CHANGE_AUDITLOG_STATUS_FAILED: string =
|
||||
'CHANGE_AUDITLOG_STATUS_FAILED';
|
||||
export const CHANGE_AUDITLOG_STATUS_REQUEST: string =
|
||||
'CHANGE_AUDITLOG_STATUS_REQUEST';
|
||||
export const CHANGE_AUDITLOG_STATUS_RESET: string =
|
||||
'CHANGE_AUDITLOG_STATUS_RESET';
|
||||
|
||||
@@ -1,26 +1,36 @@
|
||||
// Fetch All Call Log List
|
||||
export const FETCH_CALLLOGS_REQUEST: string = 'FETCH_CALLLOGS_REQUEST';
|
||||
export const FETCH_CALLLOGS_SUCCESS: string = 'FETCH_CALLLOGS_SUCCESS';
|
||||
export const FETCH_CALLLOGS_FAILURE: string = 'FETCH_CALLLOGS_FAILURE';
|
||||
export const FETCH_CALLLOGS_REQUEST: string = 'FETCH_CALLLOGS_REQUEST';
|
||||
export const FETCH_CALLLOGS_SUCCESS: string = 'FETCH_CALLLOGS_SUCCESS';
|
||||
export const FETCH_CALLLOGS_FAILURE: string = 'FETCH_CALLLOGS_FAILURE';
|
||||
|
||||
// Search Call Logs
|
||||
export const SEARCH_CALLLOGS_REQUEST: string = 'SEARCH_CALLLOGS_REQUEST';
|
||||
export const SEARCH_CALLLOGS_SUCCESS: string = 'SEARCH_CALLLOGS_SUCCESS';
|
||||
export const SEARCH_CALLLOGS_FAILURE: string = 'SEARCH_CALLLOGS_FAILURE';
|
||||
export const SEARCH_CALLLOGS_REQUEST: string = 'SEARCH_CALLLOGS_REQUEST';
|
||||
export const SEARCH_CALLLOGS_SUCCESS: string = 'SEARCH_CALLLOGS_SUCCESS';
|
||||
export const SEARCH_CALLLOGS_FAILURE: string = 'SEARCH_CALLLOGS_FAILURE';
|
||||
|
||||
// Delete All Logs
|
||||
export const DELETE_ALL_CALLLOGS_REQUEST: string = 'DELETE_ALL_CALLLOGS_REQUEST';
|
||||
export const DELETE_ALL_CALLLOGS_SUCCESS: string = 'DELETE_ALL_CALLLOGS_SUCCESS';
|
||||
export const DELETE_ALL_CALLLOGS_FAILURE: string = 'DELETE_ALL_CALLLOGS_FAILURE';
|
||||
export const DELETE_ALL_CALLLOGS_REQUEST: string =
|
||||
'DELETE_ALL_CALLLOGS_REQUEST';
|
||||
export const DELETE_ALL_CALLLOGS_SUCCESS: string =
|
||||
'DELETE_ALL_CALLLOGS_SUCCESS';
|
||||
export const DELETE_ALL_CALLLOGS_FAILURE: string =
|
||||
'DELETE_ALL_CALLLOGS_FAILURE';
|
||||
|
||||
// Fetch call log status
|
||||
export const FETCH_CALLLOG_STATUS_SUCCESS: string = 'FETCH_CALLLOG_STATUS_SUCCESS';
|
||||
export const FETCH_CALLLOG_STATUS_FAILED: string = 'FETCH_CALLLOG_STATUS_FAILED';
|
||||
export const FETCH_CALLLOG_STATUS_REQUEST: string = 'FETCH_CALLLOG_STATUS_REQUEST';
|
||||
export const FETCH_CALLLOG_STATUS_RESET: string = 'FETCH_CALLLOG_STATUS_RESET';
|
||||
export const FETCH_CALLLOG_STATUS_SUCCESS: string =
|
||||
'FETCH_CALLLOG_STATUS_SUCCESS';
|
||||
export const FETCH_CALLLOG_STATUS_FAILED: string =
|
||||
'FETCH_CALLLOG_STATUS_FAILED';
|
||||
export const FETCH_CALLLOG_STATUS_REQUEST: string =
|
||||
'FETCH_CALLLOG_STATUS_REQUEST';
|
||||
export const FETCH_CALLLOG_STATUS_RESET: string = 'FETCH_CALLLOG_STATUS_RESET';
|
||||
|
||||
// change call log status
|
||||
export const CHANGE_CALLLOG_STATUS_SUCCESS: string = 'CHANGE_CALLLOG_STATUS_SUCCESS';
|
||||
export const CHANGE_CALLLOG_STATUS_FAILED: string = 'CHANGE_CALLLOG_STATUS_FAILED';
|
||||
export const CHANGE_CALLLOG_STATUS_REQUEST: string = 'CHANGE_CALLLOG_STATUS_REQUEST';
|
||||
export const CHANGE_CALLLOG_STATUS_RESET: string = 'CHANGE_CALLLOG_STATUS_RESET';
|
||||
export const CHANGE_CALLLOG_STATUS_SUCCESS: string =
|
||||
'CHANGE_CALLLOG_STATUS_SUCCESS';
|
||||
export const CHANGE_CALLLOG_STATUS_FAILED: string =
|
||||
'CHANGE_CALLLOG_STATUS_FAILED';
|
||||
export const CHANGE_CALLLOG_STATUS_REQUEST: string =
|
||||
'CHANGE_CALLLOG_STATUS_REQUEST';
|
||||
export const CHANGE_CALLLOG_STATUS_RESET: string =
|
||||
'CHANGE_CALLLOG_STATUS_RESET';
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
export const DASHBOARD_LOAD_SUCCESS: string = 'dashboard/DASHBOARD_LOAD_SUCCESS';
|
||||
export const DASHBOARD_LOAD_REQUEST: string = 'dashboard/DASHBOARD_LOAD_REQUEST';
|
||||
export const DASHBOARD_LOAD_RESET: string = 'dashboard/DASHBOARD_LOAD_RESET';
|
||||
export const DASHBOARD_LOAD_FAILED: string = 'dashboard/DASHBOARD_LOAD_FAILED';
|
||||
export const DASHBOARD_LOAD_SUCCESS: string =
|
||||
'dashboard/DASHBOARD_LOAD_SUCCESS';
|
||||
export const DASHBOARD_LOAD_REQUEST: string =
|
||||
'dashboard/DASHBOARD_LOAD_REQUEST';
|
||||
export const DASHBOARD_LOAD_RESET: string = 'dashboard/DASHBOARD_LOAD_RESET';
|
||||
export const DASHBOARD_LOAD_FAILED: string = 'dashboard/DASHBOARD_LOAD_FAILED';
|
||||
|
||||
@@ -1,26 +1,37 @@
|
||||
// Fetch All Email Log List
|
||||
export const FETCH_EMAILLOGS_REQUEST: string = 'FETCH_EMAILLOGS_REQUEST';
|
||||
export const FETCH_EMAILLOGS_SUCCESS: string = 'FETCH_EMAILLOGS_SUCCESS';
|
||||
export const FETCH_EMAILLOGS_FAILURE: string = 'FETCH_EMAILLOGS_FAILURE';
|
||||
export const FETCH_EMAILLOGS_REQUEST: string = 'FETCH_EMAILLOGS_REQUEST';
|
||||
export const FETCH_EMAILLOGS_SUCCESS: string = 'FETCH_EMAILLOGS_SUCCESS';
|
||||
export const FETCH_EMAILLOGS_FAILURE: string = 'FETCH_EMAILLOGS_FAILURE';
|
||||
|
||||
// Search Email Logs
|
||||
export const SEARCH_EMAILLOGS_REQUEST: string = 'SEARCH_EMAILLOGS_REQUEST';
|
||||
export const SEARCH_EMAILLOGS_SUCCESS: string = 'SEARCH_EMAILLOGS_SUCCESS';
|
||||
export const SEARCH_EMAILLOGS_FAILURE: string = 'SEARCH_EMAILLOGS_FAILURE';
|
||||
export const SEARCH_EMAILLOGS_REQUEST: string = 'SEARCH_EMAILLOGS_REQUEST';
|
||||
export const SEARCH_EMAILLOGS_SUCCESS: string = 'SEARCH_EMAILLOGS_SUCCESS';
|
||||
export const SEARCH_EMAILLOGS_FAILURE: string = 'SEARCH_EMAILLOGS_FAILURE';
|
||||
|
||||
// Delete All Logs
|
||||
export const DELETE_ALL_EMAILLOGS_REQUEST: string = 'DELETE_ALL_EMAILLOGS_REQUEST';
|
||||
export const DELETE_ALL_EMAILLOGS_SUCCESS: string = 'DELETE_ALL_EMAILLOGS_SUCCESS';
|
||||
export const DELETE_ALL_EMAILLOGS_FAILURE: string = 'DELETE_ALL_EMAILLOGS_FAILURE';
|
||||
export const DELETE_ALL_EMAILLOGS_REQUEST: string =
|
||||
'DELETE_ALL_EMAILLOGS_REQUEST';
|
||||
export const DELETE_ALL_EMAILLOGS_SUCCESS: string =
|
||||
'DELETE_ALL_EMAILLOGS_SUCCESS';
|
||||
export const DELETE_ALL_EMAILLOGS_FAILURE: string =
|
||||
'DELETE_ALL_EMAILLOGS_FAILURE';
|
||||
|
||||
// Fetch Email log status
|
||||
export const FETCH_EMAILLOG_STATUS_SUCCESS: string = 'FETCH_EMAILLOG_STATUS_SUCCESS';
|
||||
export const FETCH_EMAILLOG_STATUS_FAILED: string = 'FETCH_EMAILLOG_STATUS_FAILED';
|
||||
export const FETCH_EMAILLOG_STATUS_REQUEST: string = 'FETCH_EMAILLOG_STATUS_REQUEST';
|
||||
export const FETCH_EMAILLOG_STATUS_RESET: string = 'FETCH_EMAILLOG_STATUS_RESET';
|
||||
export const FETCH_EMAILLOG_STATUS_SUCCESS: string =
|
||||
'FETCH_EMAILLOG_STATUS_SUCCESS';
|
||||
export const FETCH_EMAILLOG_STATUS_FAILED: string =
|
||||
'FETCH_EMAILLOG_STATUS_FAILED';
|
||||
export const FETCH_EMAILLOG_STATUS_REQUEST: string =
|
||||
'FETCH_EMAILLOG_STATUS_REQUEST';
|
||||
export const FETCH_EMAILLOG_STATUS_RESET: string =
|
||||
'FETCH_EMAILLOG_STATUS_RESET';
|
||||
|
||||
// change Email log status
|
||||
export const CHANGE_EMAILLOG_STATUS_SUCCESS: string = 'CHANGE_EMAILLOG_STATUS_SUCCESS';
|
||||
export const CHANGE_EMAILLOG_STATUS_FAILED: string = 'CHANGE_EMAILLOG_STATUS_FAILED';
|
||||
export const CHANGE_EMAILLOG_STATUS_REQUEST: string = 'CHANGE_EMAILLOG_STATUS_REQUEST';
|
||||
export const CHANGE_EMAILLOG_STATUS_RESET: string = 'CHANGE_EMAILLOG_STATUS_RESET';
|
||||
export const CHANGE_EMAILLOG_STATUS_SUCCESS: string =
|
||||
'CHANGE_EMAILLOG_STATUS_SUCCESS';
|
||||
export const CHANGE_EMAILLOG_STATUS_FAILED: string =
|
||||
'CHANGE_EMAILLOG_STATUS_FAILED';
|
||||
export const CHANGE_EMAILLOG_STATUS_REQUEST: string =
|
||||
'CHANGE_EMAILLOG_STATUS_REQUEST';
|
||||
export const CHANGE_EMAILLOG_STATUS_RESET: string =
|
||||
'CHANGE_EMAILLOG_STATUS_RESET';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
export const FETCH_LICENSE_SUCCESS: string = 'FETCH_LICENSE_SUCCESS';
|
||||
export const FETCH_LICENSE_FAILED: string = 'FETCH_LICENSE_FAILED';
|
||||
export const FETCH_LICENSE_REQUEST: string = 'FETCH_LICENSE_REQUEST';
|
||||
export const FETCH_LICENSE_RESET: string = 'FETCH_LICENSE_RESET';
|
||||
export const FETCH_LICENSE_SUCCESS: string = 'FETCH_LICENSE_SUCCESS';
|
||||
export const FETCH_LICENSE_FAILED: string = 'FETCH_LICENSE_FAILED';
|
||||
export const FETCH_LICENSE_REQUEST: string = 'FETCH_LICENSE_REQUEST';
|
||||
export const FETCH_LICENSE_RESET: string = 'FETCH_LICENSE_RESET';
|
||||
|
||||
export const CONFIRM_LICENSE_SUCCESS: string = 'CONFIRM_LICENSE_SUCCESS';
|
||||
export const CONFIRM_LICENSE_FAILED: string = 'CONFIRM_LICENSE_FAILED';
|
||||
export const CONFIRM_LICENSE_REQUEST: string = 'CONFIRM_LICENSE_REQUEST';
|
||||
export const CONFIRM_LICENSE_RESET: string = 'CONFIRM_LICENSE_RESET';
|
||||
export const CONFIRM_LICENSE_SUCCESS: string = 'CONFIRM_LICENSE_SUCCESS';
|
||||
export const CONFIRM_LICENSE_FAILED: string = 'CONFIRM_LICENSE_FAILED';
|
||||
export const CONFIRM_LICENSE_REQUEST: string = 'CONFIRM_LICENSE_REQUEST';
|
||||
export const CONFIRM_LICENSE_RESET: string = 'CONFIRM_LICENSE_RESET';
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export const LOGOUT_REQUEST: string = 'LOGOUT_REQUEST';
|
||||
export const LOGOUT_SUCCESS: string = 'LOGOUT_SUCCESS';
|
||||
export const LOGOUT_FAILURE: string = 'LOGOUT_FAILURE';
|
||||
export const LOGOUT_REQUEST: string = 'LOGOUT_REQUEST';
|
||||
export const LOGOUT_SUCCESS: string = 'LOGOUT_SUCCESS';
|
||||
export const LOGOUT_FAILURE: string = 'LOGOUT_FAILURE';
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export const OPEN_MODAL: string = 'OPEN_MODAL';
|
||||
export const CLOSE_MODAL: string = 'CLOSE_MODAL';
|
||||
export const OPEN_MODAL: string = 'OPEN_MODAL';
|
||||
export const CLOSE_MODAL: string = 'CLOSE_MODAL';
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
export const OPEN_NOTIFICATION_MENU: string = 'OPEN_NOTIFICATION_MENU';
|
||||
export const CLOSE_NOTIFICATION_MENU: string = 'CLOSE_NOTIFICATION_MENU';
|
||||
export const OPEN_NOTIFICATION_MENU: string = 'OPEN_NOTIFICATION_MENU';
|
||||
export const CLOSE_NOTIFICATION_MENU: string = 'CLOSE_NOTIFICATION_MENU';
|
||||
|
||||
// Create a new project
|
||||
|
||||
export const FETCH_NOTIFICATIONS_SUCCESS =
|
||||
'feedback/FETCH_NOTIFICATIONS_SUCCESS';
|
||||
export const FETCH_NOTIFICATIONS_FAILED: string = 'feedback/FETCH_NOTIFICATIONS_FAILED';
|
||||
export const FETCH_NOTIFICATIONS_FAILED: string =
|
||||
'feedback/FETCH_NOTIFICATIONS_FAILED';
|
||||
export const FETCH_NOTIFICATIONS_REQUEST =
|
||||
'feedback/FETCH_NOTIFICATIONS_REQUEST';
|
||||
export const FETCH_NOTIFICATIONS_RESET: string = 'feedback/FETCH_NOTIFICATIONS_RESET';
|
||||
export const NOTIFICATION_READ_SUCCESS: string = 'feedback/NOTIFICATION_READ_SUCCESS';
|
||||
export const FETCH_NOTIFICATIONS_RESET: string =
|
||||
'feedback/FETCH_NOTIFICATIONS_RESET';
|
||||
export const NOTIFICATION_READ_SUCCESS: string =
|
||||
'feedback/NOTIFICATION_READ_SUCCESS';
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export const PAGE_LOAD_SUCCESS: string = 'page/PAGE_LOAD_SUCCESS';
|
||||
export const PAGE_LOAD_REQUEST: string = 'page/PAGE_LOAD_REQUEST';
|
||||
export const PAGE_LOAD_RESET: string = 'page/PAGE_LOAD_RESET';
|
||||
export const PAGE_LOAD_SUCCESS: string = 'page/PAGE_LOAD_SUCCESS';
|
||||
export const PAGE_LOAD_REQUEST: string = 'page/PAGE_LOAD_REQUEST';
|
||||
export const PAGE_LOAD_RESET: string = 'page/PAGE_LOAD_RESET';
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
export const PROBE_SUCCESS: string = 'probe/PROBE_SUCCESS';
|
||||
export const PROBE_FAILED: string = 'probe/PROBE_FAILED';
|
||||
export const PROBE_REQUEST: string = 'probe/PROBE_REQUEST';
|
||||
export const PROBE_RESET: string = 'probe/PROBE_RESET';
|
||||
export const PROBE_SUCCESS: string = 'probe/PROBE_SUCCESS';
|
||||
export const PROBE_FAILED: string = 'probe/PROBE_FAILED';
|
||||
export const PROBE_REQUEST: string = 'probe/PROBE_REQUEST';
|
||||
export const PROBE_RESET: string = 'probe/PROBE_RESET';
|
||||
|
||||
export const DELETE_PROBE_SUCCESS: string = 'probe/DELETE_PROBE_SUCCESS';
|
||||
export const DELETE_PROBE_FAILED: string = 'probe/DELETE_PROBE_FAILED';
|
||||
export const DELETE_PROBE_REQUEST: string = 'probe/DELETE_PROBE_REQUEST';
|
||||
export const DELETE_PROBE_RESET: string = 'probe/DELETE_PROBE_RESET';
|
||||
export const DELETE_PROBE_SUCCESS: string = 'probe/DELETE_PROBE_SUCCESS';
|
||||
export const DELETE_PROBE_FAILED: string = 'probe/DELETE_PROBE_FAILED';
|
||||
export const DELETE_PROBE_REQUEST: string = 'probe/DELETE_PROBE_REQUEST';
|
||||
export const DELETE_PROBE_RESET: string = 'probe/DELETE_PROBE_RESET';
|
||||
|
||||
export const ADD_PROBE_SUCCESS: string = 'probe/ADD_PROBE_SUCCESS';
|
||||
export const ADD_PROBE_FAILED: string = 'probe/ADD_PROBE_FAILED';
|
||||
export const ADD_PROBE_REQUEST: string = 'probe/ADD_PROBE_REQUEST';
|
||||
export const ADD_PROBE_RESET: string = 'probe/ADD_PROBE_RESET';
|
||||
export const ADD_PROBE_SUCCESS: string = 'probe/ADD_PROBE_SUCCESS';
|
||||
export const ADD_PROBE_FAILED: string = 'probe/ADD_PROBE_FAILED';
|
||||
export const ADD_PROBE_REQUEST: string = 'probe/ADD_PROBE_REQUEST';
|
||||
export const ADD_PROBE_RESET: string = 'probe/ADD_PROBE_RESET';
|
||||
|
||||
export const UPDATE_PROBE_SUCCESS: string = 'probe/UPDATE_PROBE_SUCCESS';
|
||||
export const UPDATE_PROBE_FAILED: string = 'probe/UPDATE_PROBE_FAILED';
|
||||
export const UPDATE_PROBE_REQUEST: string = 'probe/UPDATE_PROBE_REQUEST';
|
||||
export const UPDATE_PROBE_RESET: string = 'probe/UPDATE_PROBE_RESET';
|
||||
export const UPDATE_PROBE_SUCCESS: string = 'probe/UPDATE_PROBE_SUCCESS';
|
||||
export const UPDATE_PROBE_FAILED: string = 'probe/UPDATE_PROBE_FAILED';
|
||||
export const UPDATE_PROBE_REQUEST: string = 'probe/UPDATE_PROBE_REQUEST';
|
||||
export const UPDATE_PROBE_RESET: string = 'probe/UPDATE_PROBE_RESET';
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export const SHOW_PROFILE_MENU: string = 'SHOW_PROFILE_MENU';
|
||||
export const HIDE_PROFILE_MENU: string = 'HIDE_PROFILE_MENU';
|
||||
export const SHOW_PROFILE_MENU: string = 'SHOW_PROFILE_MENU';
|
||||
export const HIDE_PROFILE_MENU: string = 'HIDE_PROFILE_MENU';
|
||||
|
||||
@@ -1,115 +1,129 @@
|
||||
// Fetch All Projects List
|
||||
export const FETCH_PROJECTS_REQUEST: string = 'FETCH_PROJECTS_REQUEST';
|
||||
export const FETCH_PROJECTS_SUCCESS: string = 'FETCH_PROJECTS_SUCCESS';
|
||||
export const FETCH_PROJECTS_FAILURE: string = 'FETCH_PROJECTS_FAILURE';
|
||||
export const FETCH_PROJECTS_RESET: string = 'FETCH_PROJECTS_RESET';
|
||||
export const FETCH_PROJECTS_REQUEST: string = 'FETCH_PROJECTS_REQUEST';
|
||||
export const FETCH_PROJECTS_SUCCESS: string = 'FETCH_PROJECTS_SUCCESS';
|
||||
export const FETCH_PROJECTS_FAILURE: string = 'FETCH_PROJECTS_FAILURE';
|
||||
export const FETCH_PROJECTS_RESET: string = 'FETCH_PROJECTS_RESET';
|
||||
|
||||
// Fetch A Project
|
||||
export const FETCH_PROJECT_REQUEST: string = 'FETCH_PROJECT_REQUEST';
|
||||
export const FETCH_PROJECT_SUCCESS: string = 'FETCH_PROJECT_SUCCESS';
|
||||
export const FETCH_PROJECT_FAILURE: string = 'FETCH_PROJECT_FAILURE';
|
||||
export const FETCH_PROJECT_RESET: string = 'FETCH_PROJECT_RESET';
|
||||
export const FETCH_PROJECT_REQUEST: string = 'FETCH_PROJECT_REQUEST';
|
||||
export const FETCH_PROJECT_SUCCESS: string = 'FETCH_PROJECT_SUCCESS';
|
||||
export const FETCH_PROJECT_FAILURE: string = 'FETCH_PROJECT_FAILURE';
|
||||
export const FETCH_PROJECT_RESET: string = 'FETCH_PROJECT_RESET';
|
||||
|
||||
// Fetch User Projects
|
||||
export const FETCH_USER_PROJECTS_REQUEST: string = 'FETCH_USER_PROJECTS_REQUEST';
|
||||
export const FETCH_USER_PROJECTS_SUCCESS: string = 'FETCH_USER_PROJECTS_SUCCESS';
|
||||
export const FETCH_USER_PROJECTS_FAILURE: string = 'FETCH_USER_PROJECTS_FAILURE';
|
||||
export const FETCH_USER_PROJECTS_RESET: string = 'FETCH_USER_PROJECTS_RESET';
|
||||
export const FETCH_USER_PROJECTS_REQUEST: string =
|
||||
'FETCH_USER_PROJECTS_REQUEST';
|
||||
export const FETCH_USER_PROJECTS_SUCCESS: string =
|
||||
'FETCH_USER_PROJECTS_SUCCESS';
|
||||
export const FETCH_USER_PROJECTS_FAILURE: string =
|
||||
'FETCH_USER_PROJECTS_FAILURE';
|
||||
export const FETCH_USER_PROJECTS_RESET: string = 'FETCH_USER_PROJECTS_RESET';
|
||||
|
||||
// Delete Project
|
||||
export const DELETE_PROJECT_REQUEST: string = 'DELETE_PROJECT_REQUEST';
|
||||
export const DELETE_PROJECT_RESET: string = 'DELETE_PROJECT_RESET';
|
||||
export const DELETE_PROJECT_SUCCESS: string = 'DELETE_PROJECT_SUCCESS';
|
||||
export const DELETE_PROJECT_FAILED: string = 'DELETE_PROJECT_FAILED';
|
||||
export const DELETE_PROJECT_REQUEST: string = 'DELETE_PROJECT_REQUEST';
|
||||
export const DELETE_PROJECT_RESET: string = 'DELETE_PROJECT_RESET';
|
||||
export const DELETE_PROJECT_SUCCESS: string = 'DELETE_PROJECT_SUCCESS';
|
||||
export const DELETE_PROJECT_FAILED: string = 'DELETE_PROJECT_FAILED';
|
||||
|
||||
// Block Project
|
||||
export const BLOCK_PROJECT_REQUEST: string = 'BLOCK_PROJECT_REQUEST';
|
||||
export const BLOCK_PROJECT_RESET: string = 'BLOCK_PROJECT_RESET';
|
||||
export const BLOCK_PROJECT_SUCCESS: string = 'BLOCK_PROJECT_SUCCESS';
|
||||
export const BLOCK_PROJECT_FAILED: string = 'BLOCK_PROJECT_FAILED';
|
||||
export const BLOCK_PROJECT_REQUEST: string = 'BLOCK_PROJECT_REQUEST';
|
||||
export const BLOCK_PROJECT_RESET: string = 'BLOCK_PROJECT_RESET';
|
||||
export const BLOCK_PROJECT_SUCCESS: string = 'BLOCK_PROJECT_SUCCESS';
|
||||
export const BLOCK_PROJECT_FAILED: string = 'BLOCK_PROJECT_FAILED';
|
||||
|
||||
// Restore Alert Limit
|
||||
export const ALERT_LIMIT_REQUEST: string = 'ALERT_LIMIT_REQUEST';
|
||||
export const ALERT_LIMIT_RESET: string = 'ALERT_LIMIT_RESET';
|
||||
export const ALERT_LIMIT_SUCCESS: string = 'ALERT_LIMIT_SUCCESS';
|
||||
export const ALERT_LIMIT_FAILED: string = 'ALERT_LIMIT_FAILED';
|
||||
export const ALERT_LIMIT_REQUEST: string = 'ALERT_LIMIT_REQUEST';
|
||||
export const ALERT_LIMIT_RESET: string = 'ALERT_LIMIT_RESET';
|
||||
export const ALERT_LIMIT_SUCCESS: string = 'ALERT_LIMIT_SUCCESS';
|
||||
export const ALERT_LIMIT_FAILED: string = 'ALERT_LIMIT_FAILED';
|
||||
|
||||
// Restore Project
|
||||
export const RESTORE_PROJECT_REQUEST: string = 'RESTORE_PROJECT_REQUEST';
|
||||
export const RESTORE_PROJECT_RESET: string = 'RESTORE_PROJECT_RESET';
|
||||
export const RESTORE_PROJECT_SUCCESS: string = 'RESTORE_PROJECT_SUCCESS';
|
||||
export const RESTORE_PROJECT_FAILED: string = 'RESTORE_PROJECT_FAILED';
|
||||
export const RESTORE_PROJECT_REQUEST: string = 'RESTORE_PROJECT_REQUEST';
|
||||
export const RESTORE_PROJECT_RESET: string = 'RESTORE_PROJECT_RESET';
|
||||
export const RESTORE_PROJECT_SUCCESS: string = 'RESTORE_PROJECT_SUCCESS';
|
||||
export const RESTORE_PROJECT_FAILED: string = 'RESTORE_PROJECT_FAILED';
|
||||
|
||||
// Unblock Project
|
||||
export const UNBLOCK_PROJECT_REQUEST: string = 'UNBLOCK_PROJECT_REQUEST';
|
||||
export const UNBLOCK_PROJECT_RESET: string = 'UNBLOCK_PROJECT_RESET';
|
||||
export const UNBLOCK_PROJECT_SUCCESS: string = 'UNBLOCK_PROJECT_SUCCESS';
|
||||
export const UNBLOCK_PROJECT_FAILED: string = 'UNBLOCK_PROJECT_FAILED';
|
||||
export const UNBLOCK_PROJECT_REQUEST: string = 'UNBLOCK_PROJECT_REQUEST';
|
||||
export const UNBLOCK_PROJECT_RESET: string = 'UNBLOCK_PROJECT_RESET';
|
||||
export const UNBLOCK_PROJECT_SUCCESS: string = 'UNBLOCK_PROJECT_SUCCESS';
|
||||
export const UNBLOCK_PROJECT_FAILED: string = 'UNBLOCK_PROJECT_FAILED';
|
||||
|
||||
// Admin Project Note
|
||||
export const ADD_PROJECT_NOTE_REQUEST: string = 'ADD_PROJECT_NOTE_REQUEST';
|
||||
export const ADD_PROJECT_NOTE_RESET: string = 'ADD_PROJECT_NOTE_RESET';
|
||||
export const ADD_PROJECT_NOTE_SUCCESS: string = 'ADD_PROJECT_NOTE_SUCCESS';
|
||||
export const ADD_PROJECT_NOTE_FAILURE: string = 'ADD_PROJECT_NOTE_FAILURE';
|
||||
export const ADD_PROJECT_NOTE_REQUEST: string = 'ADD_PROJECT_NOTE_REQUEST';
|
||||
export const ADD_PROJECT_NOTE_RESET: string = 'ADD_PROJECT_NOTE_RESET';
|
||||
export const ADD_PROJECT_NOTE_SUCCESS: string = 'ADD_PROJECT_NOTE_SUCCESS';
|
||||
export const ADD_PROJECT_NOTE_FAILURE: string = 'ADD_PROJECT_NOTE_FAILURE';
|
||||
|
||||
// Search Users
|
||||
export const SEARCH_PROJECTS_REQUEST: string = 'SEARCH_PROJECTS_REQUEST';
|
||||
export const SEARCH_PROJECTS_RESET: string = 'SEARCH_PROJECTS_RESET';
|
||||
export const SEARCH_PROJECTS_SUCCESS: string = 'SEARCH_PROJECTS_SUCCESS';
|
||||
export const SEARCH_PROJECTS_FAILURE: string = 'SEARCH_PROJECTS_FAILURE';
|
||||
export const SEARCH_PROJECTS_REQUEST: string = 'SEARCH_PROJECTS_REQUEST';
|
||||
export const SEARCH_PROJECTS_RESET: string = 'SEARCH_PROJECTS_RESET';
|
||||
export const SEARCH_PROJECTS_SUCCESS: string = 'SEARCH_PROJECTS_SUCCESS';
|
||||
export const SEARCH_PROJECTS_FAILURE: string = 'SEARCH_PROJECTS_FAILURE';
|
||||
|
||||
// Upgrade Project
|
||||
export const CHANGE_PLAN_REQUEST: string = 'CHANGE_PLAN_REQUEST';
|
||||
export const CHANGE_PLAN_SUCCESS: string = 'CHANGE_PLAN_SUCCESS';
|
||||
export const CHANGE_PLAN_FAILURE: string = 'CHANGE_PLAN_FAILURE';
|
||||
export const CHANGE_PLAN_REQUEST: string = 'CHANGE_PLAN_REQUEST';
|
||||
export const CHANGE_PLAN_SUCCESS: string = 'CHANGE_PLAN_SUCCESS';
|
||||
export const CHANGE_PLAN_FAILURE: string = 'CHANGE_PLAN_FAILURE';
|
||||
|
||||
// fetch project team
|
||||
export const FETCH_PROJECT_TEAM_REQUEST: string = 'FETCH_PROJECT_TEAM_REQUEST';
|
||||
export const FETCH_PROJECT_TEAM_SUCCESS: string = 'FETCH_PROJECT_TEAM_SUCCESS';
|
||||
export const FETCH_PROJECT_TEAM_ERROR: string = 'FETCH_PROJECT_TEAM_ERROR';
|
||||
export const FETCH_PROJECT_TEAM_REQUEST: string = 'FETCH_PROJECT_TEAM_REQUEST';
|
||||
export const FETCH_PROJECT_TEAM_SUCCESS: string = 'FETCH_PROJECT_TEAM_SUCCESS';
|
||||
export const FETCH_PROJECT_TEAM_ERROR: string = 'FETCH_PROJECT_TEAM_ERROR';
|
||||
|
||||
// add user to project
|
||||
export const USER_CREATE_REQUEST: string = 'USER_CREATE_REQUEST';
|
||||
export const USER_CREATE_SUCCESS: string = 'USER_CREATE_SUCCESS';
|
||||
export const USER_CREATE_FAILURE: string = 'USER_CREATE_FAILURE';
|
||||
export const USER_CREATE_REQUEST: string = 'USER_CREATE_REQUEST';
|
||||
export const USER_CREATE_SUCCESS: string = 'USER_CREATE_SUCCESS';
|
||||
export const USER_CREATE_FAILURE: string = 'USER_CREATE_FAILURE';
|
||||
|
||||
//update user role
|
||||
export const USER_UPDATE_ROLE_REQUEST: string = 'USER_UPDATE_ROLE_REQUEST';
|
||||
export const USER_UPDATE_ROLE_SUCCESS: string = 'USER_UPDATE_ROLE_SUCCESS';
|
||||
export const USER_UPDATE_ROLE_FAILURE: string = 'USER_UPDATE_ROLE_FAILURE';
|
||||
export const CHANGE_USER_PROJECT_ROLES: string = 'CHANGE_USER_PROJECT_ROLES';
|
||||
export const USER_UPDATE_ROLE_REQUEST: string = 'USER_UPDATE_ROLE_REQUEST';
|
||||
export const USER_UPDATE_ROLE_SUCCESS: string = 'USER_UPDATE_ROLE_SUCCESS';
|
||||
export const USER_UPDATE_ROLE_FAILURE: string = 'USER_UPDATE_ROLE_FAILURE';
|
||||
export const CHANGE_USER_PROJECT_ROLES: string = 'CHANGE_USER_PROJECT_ROLES';
|
||||
|
||||
//delete user from project
|
||||
export const TEAM_DELETE_SUCCESS: string = 'TEAM_DELETE_SUCCESS';
|
||||
export const TEAM_DELETE_FAILURE: string = 'TEAM_DELETE_FAILURE';
|
||||
export const TEAM_DELETE_RESET: string = 'TEAM_DELETE_RESET';
|
||||
export const TEAM_DELETE_REQUEST: string = 'TEAM_DELETE_REQUEST';
|
||||
export const TEAM_DELETE_SUCCESS: string = 'TEAM_DELETE_SUCCESS';
|
||||
export const TEAM_DELETE_FAILURE: string = 'TEAM_DELETE_FAILURE';
|
||||
export const TEAM_DELETE_RESET: string = 'TEAM_DELETE_RESET';
|
||||
export const TEAM_DELETE_REQUEST: string = 'TEAM_DELETE_REQUEST';
|
||||
|
||||
//project balance
|
||||
export const PROJECT_BALANCE_UPDATE_REQUEST: string = 'PROJECT_BALANCE_UPDATE_REQUEST';
|
||||
export const PROJECT_BALANCE_UPDATE_SUCCESS: string = 'PROJECT_BALANCE_UPDATE_SUCCESS';
|
||||
export const PROJECT_BALANCE_UPDATE_FAILURE: string = 'PROJECT_BALANCE_UPDATE_FAILURE';
|
||||
export const PROJECT_BALANCE_UPDATE_REQUEST: string =
|
||||
'PROJECT_BALANCE_UPDATE_REQUEST';
|
||||
export const PROJECT_BALANCE_UPDATE_SUCCESS: string =
|
||||
'PROJECT_BALANCE_UPDATE_SUCCESS';
|
||||
export const PROJECT_BALANCE_UPDATE_FAILURE: string =
|
||||
'PROJECT_BALANCE_UPDATE_FAILURE';
|
||||
|
||||
//users pagination
|
||||
export const PAGINATE_USERS_NEXT: string = 'PAGINATE_USERS_NEXT';
|
||||
export const PAGINATE_USERS_PREV: string = 'PAGINATE_USERS_PREV';
|
||||
export const PAGINATE_USERS_NEXT: string = 'PAGINATE_USERS_NEXT';
|
||||
export const PAGINATE_USERS_PREV: string = 'PAGINATE_USERS_PREV';
|
||||
|
||||
//project domain settings
|
||||
export const PROJECT_DOMAIN_REQUEST: string = 'PROJECT_DOMAIN_REQUEST';
|
||||
export const PROJECT_DOMAIN_SUCCESS: string = 'PROJECT_DOMAIN_SUCCESS';
|
||||
export const PROJECT_DOMAIN_FAILURE: string = 'PROJECT_DOMAIN_FAILURE';
|
||||
export const PROJECT_DOMAIN_REQUEST: string = 'PROJECT_DOMAIN_REQUEST';
|
||||
export const PROJECT_DOMAIN_SUCCESS: string = 'PROJECT_DOMAIN_SUCCESS';
|
||||
export const PROJECT_DOMAIN_FAILURE: string = 'PROJECT_DOMAIN_FAILURE';
|
||||
|
||||
//delete project domain
|
||||
export const DELETE_PROJECT_DOMAIN_REQUEST: string = 'DELETE_PROJECT_DOMAIN_REQUEST';
|
||||
export const DELETE_PROJECT_DOMAIN_SUCCESS: string = 'DELETE_PROJECT_DOMAIN_SUCCESS';
|
||||
export const DELETE_PROJECT_DOMAIN_FAILURE: string = 'DELETE_PROJECT_DOMAIN_FAILURE';
|
||||
export const RESET_DELETE_PROJECT_DOMAIN: string = 'RESET_DELETE_PROJECT_DOMAIN';
|
||||
export const DELETE_PROJECT_DOMAIN_REQUEST: string =
|
||||
'DELETE_PROJECT_DOMAIN_REQUEST';
|
||||
export const DELETE_PROJECT_DOMAIN_SUCCESS: string =
|
||||
'DELETE_PROJECT_DOMAIN_SUCCESS';
|
||||
export const DELETE_PROJECT_DOMAIN_FAILURE: string =
|
||||
'DELETE_PROJECT_DOMAIN_FAILURE';
|
||||
export const RESET_DELETE_PROJECT_DOMAIN: string =
|
||||
'RESET_DELETE_PROJECT_DOMAIN';
|
||||
|
||||
//verify project domain
|
||||
export const VERIFY_PROJECT_DOMAIN_REQUEST: string = 'VERIFY_PROJECT_DOMAIN_REQUEST';
|
||||
export const VERIFY_PROJECT_DOMAIN_SUCCESS: string = 'VERIFY_PROJECT_DOMAIN_SUCCESS';
|
||||
export const VERIFY_PROJECT_DOMAIN_FAILURE: string = 'VERIFY_PROJECT_DOMAIN_FAILURE';
|
||||
export const RESET_VERIFY_PROJECT_DOMAIN: string = 'RESET_VERIFY_PROJECT_DOMAIN';
|
||||
export const VERIFY_PROJECT_DOMAIN_REQUEST: string =
|
||||
'VERIFY_PROJECT_DOMAIN_REQUEST';
|
||||
export const VERIFY_PROJECT_DOMAIN_SUCCESS: string =
|
||||
'VERIFY_PROJECT_DOMAIN_SUCCESS';
|
||||
export const VERIFY_PROJECT_DOMAIN_FAILURE: string =
|
||||
'VERIFY_PROJECT_DOMAIN_FAILURE';
|
||||
export const RESET_VERIFY_PROJECT_DOMAIN: string =
|
||||
'RESET_VERIFY_PROJECT_DOMAIN';
|
||||
|
||||
//unverify project domain
|
||||
export const UNVERIFY_PROJECT_DOMAIN_REQUEST =
|
||||
@@ -118,10 +132,15 @@ export const UNVERIFY_PROJECT_DOMAIN_SUCCESS =
|
||||
'UNVERIFY_PROJECT_DOMAIN_SUCCESS';
|
||||
export const UNVERIFY_PROJECT_DOMAIN_FAILURE =
|
||||
'UNVERIFY_PROJECT_DOMAIN_FAILURE';
|
||||
export const RESET_UNVERIFY_PROJECT_DOMAIN: string = 'RESET_UNVERIFY_PROJECT_DOMAIN';
|
||||
export const RESET_UNVERIFY_PROJECT_DOMAIN: string =
|
||||
'RESET_UNVERIFY_PROJECT_DOMAIN';
|
||||
|
||||
//reset project domain
|
||||
export const RESET_PROJECT_DOMAIN_REQUEST: string = 'RESET_PROJECT_DOMAIN_REQUEST';
|
||||
export const RESET_PROJECT_DOMAIN_SUCCESS: string = 'RESET_PROJECT_DOMAIN_SUCCESS';
|
||||
export const RESET_PROJECT_DOMAIN_FAILURE: string = 'RESET_PROJECT_DOMAIN_FAILURE';
|
||||
export const RESET_PROJECT_DOMAIN_ON_MOUNT: string = 'RESET_PROJECT_DOMAIN_ON_MOUNT';
|
||||
export const RESET_PROJECT_DOMAIN_REQUEST: string =
|
||||
'RESET_PROJECT_DOMAIN_REQUEST';
|
||||
export const RESET_PROJECT_DOMAIN_SUCCESS: string =
|
||||
'RESET_PROJECT_DOMAIN_SUCCESS';
|
||||
export const RESET_PROJECT_DOMAIN_FAILURE: string =
|
||||
'RESET_PROJECT_DOMAIN_FAILURE';
|
||||
export const RESET_PROJECT_DOMAIN_ON_MOUNT: string =
|
||||
'RESET_PROJECT_DOMAIN_ON_MOUNT';
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
export const REQUESTING_SETTINGS: string = 'REQUESTING_SETTINGS';
|
||||
export const REQUESTING_SETTINGS_SUCCEEDED: string = 'REQUESTING_SETTINGS_SUCCEEDED';
|
||||
export const REQUESTING_SETTINGS_FAILED: string = 'REQUESTING_SETTINGS_FAILED';
|
||||
export const TEST_SMTP_REQUEST: string = 'TEST_SMTP_REQUEST';
|
||||
export const TEST_SMTP_SUCCESS: string = 'TEST_SMTP_SUCCESS';
|
||||
export const TEST_SMTP_FAILURE: string = 'TEST_SMTP_FAILURE';
|
||||
export const TEST_TWILIO_REQUEST: string = 'TEST_TWILIO_REQUEST';
|
||||
export const TEST_TWILIO_SUCCESS: string = 'TEST_TWILIO_SUCCESS';
|
||||
export const TEST_TWILIO_FAILURE: string = 'TEST_TWILIO_FAILURE';
|
||||
export const REQUESTING_SETTINGS: string = 'REQUESTING_SETTINGS';
|
||||
export const REQUESTING_SETTINGS_SUCCEEDED: string =
|
||||
'REQUESTING_SETTINGS_SUCCEEDED';
|
||||
export const REQUESTING_SETTINGS_FAILED: string = 'REQUESTING_SETTINGS_FAILED';
|
||||
export const TEST_SMTP_REQUEST: string = 'TEST_SMTP_REQUEST';
|
||||
export const TEST_SMTP_SUCCESS: string = 'TEST_SMTP_SUCCESS';
|
||||
export const TEST_SMTP_FAILURE: string = 'TEST_SMTP_FAILURE';
|
||||
export const TEST_TWILIO_REQUEST: string = 'TEST_TWILIO_REQUEST';
|
||||
export const TEST_TWILIO_SUCCESS: string = 'TEST_TWILIO_SUCCESS';
|
||||
export const TEST_TWILIO_FAILURE: string = 'TEST_TWILIO_FAILURE';
|
||||
|
||||
@@ -1,26 +1,31 @@
|
||||
// Fetch All SMS Log List
|
||||
export const FETCH_SMSLOGS_REQUEST: string = 'FETCH_SMSLOGS_REQUEST';
|
||||
export const FETCH_SMSLOGS_SUCCESS: string = 'FETCH_SMSLOGS_SUCCESS';
|
||||
export const FETCH_SMSLOGS_FAILURE: string = 'FETCH_SMSLOGS_FAILURE';
|
||||
export const FETCH_SMSLOGS_REQUEST: string = 'FETCH_SMSLOGS_REQUEST';
|
||||
export const FETCH_SMSLOGS_SUCCESS: string = 'FETCH_SMSLOGS_SUCCESS';
|
||||
export const FETCH_SMSLOGS_FAILURE: string = 'FETCH_SMSLOGS_FAILURE';
|
||||
|
||||
// Search SMS Logs
|
||||
export const SEARCH_SMSLOGS_REQUEST: string = 'SEARCH_SMSLOGS_REQUEST';
|
||||
export const SEARCH_SMSLOGS_SUCCESS: string = 'SEARCH_SMSLOGS_SUCCESS';
|
||||
export const SEARCH_SMSLOGS_FAILURE: string = 'SEARCH_SMSLOGS_FAILURE';
|
||||
export const SEARCH_SMSLOGS_REQUEST: string = 'SEARCH_SMSLOGS_REQUEST';
|
||||
export const SEARCH_SMSLOGS_SUCCESS: string = 'SEARCH_SMSLOGS_SUCCESS';
|
||||
export const SEARCH_SMSLOGS_FAILURE: string = 'SEARCH_SMSLOGS_FAILURE';
|
||||
|
||||
// Delete All Logs
|
||||
export const DELETE_ALL_SMSLOGS_REQUEST: string = 'DELETE_ALL_SMSLOGS_REQUEST';
|
||||
export const DELETE_ALL_SMSLOGS_SUCCESS: string = 'DELETE_ALL_SMSLOGS_SUCCESS';
|
||||
export const DELETE_ALL_SMSLOGS_FAILURE: string = 'DELETE_ALL_SMSLOGS_FAILURE';
|
||||
export const DELETE_ALL_SMSLOGS_REQUEST: string = 'DELETE_ALL_SMSLOGS_REQUEST';
|
||||
export const DELETE_ALL_SMSLOGS_SUCCESS: string = 'DELETE_ALL_SMSLOGS_SUCCESS';
|
||||
export const DELETE_ALL_SMSLOGS_FAILURE: string = 'DELETE_ALL_SMSLOGS_FAILURE';
|
||||
|
||||
// Fetch sms log status
|
||||
export const FETCH_SMSLOG_STATUS_SUCCESS: string = 'FETCH_SMSLOG_STATUS_SUCCESS';
|
||||
export const FETCH_SMSLOG_STATUS_FAILED: string = 'FETCH_SMSLOG_STATUS_FAILED';
|
||||
export const FETCH_SMSLOG_STATUS_REQUEST: string = 'FETCH_SMSLOG_STATUS_REQUEST';
|
||||
export const FETCH_SMSLOG_STATUS_RESET: string = 'FETCH_SMSLOG_STATUS_RESET';
|
||||
export const FETCH_SMSLOG_STATUS_SUCCESS: string =
|
||||
'FETCH_SMSLOG_STATUS_SUCCESS';
|
||||
export const FETCH_SMSLOG_STATUS_FAILED: string = 'FETCH_SMSLOG_STATUS_FAILED';
|
||||
export const FETCH_SMSLOG_STATUS_REQUEST: string =
|
||||
'FETCH_SMSLOG_STATUS_REQUEST';
|
||||
export const FETCH_SMSLOG_STATUS_RESET: string = 'FETCH_SMSLOG_STATUS_RESET';
|
||||
|
||||
// change sms log status
|
||||
export const CHANGE_SMSLOG_STATUS_SUCCESS: string = 'CHANGE_SMSLOG_STATUS_SUCCESS';
|
||||
export const CHANGE_SMSLOG_STATUS_FAILED: string = 'CHANGE_SMSLOG_STATUS_FAILED';
|
||||
export const CHANGE_SMSLOG_STATUS_REQUEST: string = 'CHANGE_SMSLOG_STATUS_REQUEST';
|
||||
export const CHANGE_SMSLOG_STATUS_RESET: string = 'CHANGE_SMSLOG_STATUS_RESET';
|
||||
export const CHANGE_SMSLOG_STATUS_SUCCESS: string =
|
||||
'CHANGE_SMSLOG_STATUS_SUCCESS';
|
||||
export const CHANGE_SMSLOG_STATUS_FAILED: string =
|
||||
'CHANGE_SMSLOG_STATUS_FAILED';
|
||||
export const CHANGE_SMSLOG_STATUS_REQUEST: string =
|
||||
'CHANGE_SMSLOG_STATUS_REQUEST';
|
||||
export const CHANGE_SMSLOG_STATUS_RESET: string = 'CHANGE_SMSLOG_STATUS_RESET';
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
//Fetch All Ssos list
|
||||
export const FETCH_SSOS_REQUEST: string = 'FETCH_SSOS_REQUEST';
|
||||
export const FETCH_SSOS_SUCCESS: string = 'FETCH_SSOS_SUCCESS';
|
||||
export const FETCH_SSOS_FAILURE: string = 'FETCH_SSOS_FAILURE';
|
||||
export const FETCH_SSOS_REQUEST: string = 'FETCH_SSOS_REQUEST';
|
||||
export const FETCH_SSOS_SUCCESS: string = 'FETCH_SSOS_SUCCESS';
|
||||
export const FETCH_SSOS_FAILURE: string = 'FETCH_SSOS_FAILURE';
|
||||
|
||||
//Delete Sso
|
||||
export const DELETE_SSO_REQUEST: string = 'DELETE_SSO_REQUEST';
|
||||
export const DELETE_SSO_SUCCESS: string = 'DELETE_SSO_SUCCESS';
|
||||
export const DELETE_SSO_FAILED: string = 'DELETE_SSO_FAILED';
|
||||
export const DELETE_SSO_REQUEST: string = 'DELETE_SSO_REQUEST';
|
||||
export const DELETE_SSO_SUCCESS: string = 'DELETE_SSO_SUCCESS';
|
||||
export const DELETE_SSO_FAILED: string = 'DELETE_SSO_FAILED';
|
||||
|
||||
//Add Sso
|
||||
export const ADD_SSO_REQUEST: string = 'ADD_SSO_REQUEST';
|
||||
export const ADD_SSO_SUCCESS: string = 'ADD_SSO_SUCCESS';
|
||||
export const ADD_SSO_FAILED: string = 'ADD_SSO_FAILED';
|
||||
export const ADD_SSO_REQUEST: string = 'ADD_SSO_REQUEST';
|
||||
export const ADD_SSO_SUCCESS: string = 'ADD_SSO_SUCCESS';
|
||||
export const ADD_SSO_FAILED: string = 'ADD_SSO_FAILED';
|
||||
|
||||
//Fetch Sso
|
||||
export const FETCH_SSO_REQUEST: string = 'FETCH_SSO_REQUEST';
|
||||
export const FETCH_SSO_SUCCESS: string = 'FETCH_SSO_SUCCESS';
|
||||
export const FETCH_SSO_FAILURE: string = 'FETCH_SSO_FAILURE';
|
||||
export const FETCH_SSO_REQUEST: string = 'FETCH_SSO_REQUEST';
|
||||
export const FETCH_SSO_SUCCESS: string = 'FETCH_SSO_SUCCESS';
|
||||
export const FETCH_SSO_FAILURE: string = 'FETCH_SSO_FAILURE';
|
||||
|
||||
//Update Sso
|
||||
export const UPDATE_SSO_REQUEST: string = 'UPDATE_SSO_REQUEST';
|
||||
export const UPDATE_SSO_SUCCESS: string = 'UPDATE_SSO_SUCCESS';
|
||||
export const UPDATE_SSO_FAILURE: string = 'UPDATE_SSO_FAILURE';
|
||||
export const UPDATE_SSO_REQUEST: string = 'UPDATE_SSO_REQUEST';
|
||||
export const UPDATE_SSO_SUCCESS: string = 'UPDATE_SSO_SUCCESS';
|
||||
export const UPDATE_SSO_FAILURE: string = 'UPDATE_SSO_FAILURE';
|
||||
|
||||
@@ -11,17 +11,24 @@ export const DELETE_SSO_DEFAULT_ROLE_REQUEST =
|
||||
'DELETE_SSO_DEFAULT_ROLE_REQUEST';
|
||||
export const DELETE_SSO_DEFAULT_ROLE_SUCCESS =
|
||||
'DELETE_SSO_DEFAULT_ROLE_SUCCESS';
|
||||
export const DELETE_SSO_DEFAULT_ROLE_FAILED: string = 'DELETE_SSO_DEFAULT_ROLE_FAILED';
|
||||
export const DELETE_SSO_DEFAULT_ROLE_FAILED: string =
|
||||
'DELETE_SSO_DEFAULT_ROLE_FAILED';
|
||||
|
||||
//Add Sso default role
|
||||
export const ADD_SSO_DEFAULT_ROLE_REQUEST: string = 'ADD_SSO_DEFAULT_ROLE_REQUEST';
|
||||
export const ADD_SSO_DEFAULT_ROLE_SUCCESS: string = 'ADD_SSO_DEFAULT_ROLE_SUCCESS';
|
||||
export const ADD_SSO_DEFAULT_ROLE_FAILED: string = 'ADD_SSO_DEFAULT_ROLE_FAILED';
|
||||
export const ADD_SSO_DEFAULT_ROLE_REQUEST: string =
|
||||
'ADD_SSO_DEFAULT_ROLE_REQUEST';
|
||||
export const ADD_SSO_DEFAULT_ROLE_SUCCESS: string =
|
||||
'ADD_SSO_DEFAULT_ROLE_SUCCESS';
|
||||
export const ADD_SSO_DEFAULT_ROLE_FAILED: string =
|
||||
'ADD_SSO_DEFAULT_ROLE_FAILED';
|
||||
|
||||
//Fetch Sso default role
|
||||
export const FETCH_SSO_DEFAULT_ROLE_REQUEST: string = 'FETCH_SSO_DEFAULT_ROLE_REQUEST';
|
||||
export const FETCH_SSO_DEFAULT_ROLE_SUCCESS: string = 'FETCH_SSO_DEFAULT_ROLE_SUCCESS';
|
||||
export const FETCH_SSO_DEFAULT_ROLE_FAILURE: string = 'FETCH_SSO_DEFAULT_ROLE_FAILURE';
|
||||
export const FETCH_SSO_DEFAULT_ROLE_REQUEST: string =
|
||||
'FETCH_SSO_DEFAULT_ROLE_REQUEST';
|
||||
export const FETCH_SSO_DEFAULT_ROLE_SUCCESS: string =
|
||||
'FETCH_SSO_DEFAULT_ROLE_SUCCESS';
|
||||
export const FETCH_SSO_DEFAULT_ROLE_FAILURE: string =
|
||||
'FETCH_SSO_DEFAULT_ROLE_FAILURE';
|
||||
|
||||
//Update Sso
|
||||
export const UPDATE_SSO_DEFAULT_ROLE_REQUEST =
|
||||
@@ -31,5 +38,5 @@ export const UPDATE_SSO_DEFAULT_ROLE_SUCCESS =
|
||||
export const UPDATE_SSO_DEFAULT_ROLE_FAILURE =
|
||||
'UPDATE_SSO_DEFAULT_ROLE_FAILURE';
|
||||
|
||||
export const NEXT_PAGE: string = 'NEXT_PAGE';
|
||||
export const PREV_PAGE: string = 'PREV_PAGE';
|
||||
export const NEXT_PAGE: string = 'NEXT_PAGE';
|
||||
export const PREV_PAGE: string = 'PREV_PAGE';
|
||||
|
||||
@@ -1,84 +1,90 @@
|
||||
// Fetch All Users List
|
||||
export const FETCH_USERS_REQUEST: string = 'FETCH_USERS_REQUEST';
|
||||
export const FETCH_USERS_SUCCESS: string = 'FETCH_USERS_SUCCESS';
|
||||
export const FETCH_USERS_FAILURE: string = 'FETCH_USERS_FAILURE';
|
||||
export const FETCH_USERS_RESET: string = 'FETCH_USERS_RESET';
|
||||
export const FETCH_USERS_REQUEST: string = 'FETCH_USERS_REQUEST';
|
||||
export const FETCH_USERS_SUCCESS: string = 'FETCH_USERS_SUCCESS';
|
||||
export const FETCH_USERS_FAILURE: string = 'FETCH_USERS_FAILURE';
|
||||
export const FETCH_USERS_RESET: string = 'FETCH_USERS_RESET';
|
||||
|
||||
// Fetch a User
|
||||
export const FETCH_USER_REQUEST: string = 'FETCH_USER_REQUEST';
|
||||
export const FETCH_USER_SUCCESS: string = 'FETCH_USER_SUCCESS';
|
||||
export const FETCH_USER_FAILURE: string = 'FETCH_USER_FAILURE';
|
||||
export const FETCH_USER_RESET: string = 'FETCH_USER_RESET';
|
||||
export const FETCH_USER_REQUEST: string = 'FETCH_USER_REQUEST';
|
||||
export const FETCH_USER_SUCCESS: string = 'FETCH_USER_SUCCESS';
|
||||
export const FETCH_USER_FAILURE: string = 'FETCH_USER_FAILURE';
|
||||
export const FETCH_USER_RESET: string = 'FETCH_USER_RESET';
|
||||
|
||||
// Add a User
|
||||
export const ADD_USER_REQUEST: string = 'ADD_USER_REQUEST';
|
||||
export const ADD_USER_SUCCESS: string = 'ADD_USER_SUCCESS';
|
||||
export const ADD_USER_FAILURE: string = 'ADD_USER_FAILURE';
|
||||
export const ADD_USER_RESET: string = 'ADD_USER_RESET';
|
||||
export const ADD_USER_REQUEST: string = 'ADD_USER_REQUEST';
|
||||
export const ADD_USER_SUCCESS: string = 'ADD_USER_SUCCESS';
|
||||
export const ADD_USER_FAILURE: string = 'ADD_USER_FAILURE';
|
||||
export const ADD_USER_RESET: string = 'ADD_USER_RESET';
|
||||
|
||||
// Update User Setting
|
||||
export const UPDATE_USER_SETTING_REQUEST: string = 'UPDATE_USER_SETTING_REQUEST';
|
||||
export const UPDATE_USER_SETTING_SUCCESS: string = 'UPDATE_USER_SETTING_SUCCESS';
|
||||
export const UPDATE_USER_SETTING_FAILURE: string = 'UPDATE_USER_SETTING_FAILURE';
|
||||
export const UPDATE_USER_SETTING_RESET: string = 'UPDATE_USER_SETTING_RESET';
|
||||
export const UPDATE_USER_SETTING_REQUEST: string =
|
||||
'UPDATE_USER_SETTING_REQUEST';
|
||||
export const UPDATE_USER_SETTING_SUCCESS: string =
|
||||
'UPDATE_USER_SETTING_SUCCESS';
|
||||
export const UPDATE_USER_SETTING_FAILURE: string =
|
||||
'UPDATE_USER_SETTING_FAILURE';
|
||||
export const UPDATE_USER_SETTING_RESET: string = 'UPDATE_USER_SETTING_RESET';
|
||||
|
||||
// file operations
|
||||
export const LOG_FILE: string = 'LOG_FILE';
|
||||
export const RESET_FILE: string = 'RESET_FILE';
|
||||
export const LOG_FILE: string = 'LOG_FILE';
|
||||
export const RESET_FILE: string = 'RESET_FILE';
|
||||
|
||||
// Delete User
|
||||
export const DELETE_USER_REQUEST: string = 'DELETE_USER_REQUEST';
|
||||
export const DELETE_USER_RESET: string = 'DELETE_USER_RESET';
|
||||
export const DELETE_USER_SUCCESS: string = 'DELETE_USER_SUCCESS';
|
||||
export const DELETE_USER_FAILED: string = 'DELETE_USER_FAILED';
|
||||
export const DELETE_USER_REQUEST: string = 'DELETE_USER_REQUEST';
|
||||
export const DELETE_USER_RESET: string = 'DELETE_USER_RESET';
|
||||
export const DELETE_USER_SUCCESS: string = 'DELETE_USER_SUCCESS';
|
||||
export const DELETE_USER_FAILED: string = 'DELETE_USER_FAILED';
|
||||
|
||||
// Restore User
|
||||
export const RESTORE_USER_REQUEST: string = 'RESTORE_USER_REQUEST';
|
||||
export const RESTORE_USER_RESET: string = 'RESTORE_USER_RESET';
|
||||
export const RESTORE_USER_SUCCESS: string = 'RESTORE_USER_SUCCESS';
|
||||
export const RESTORE_USER_FAILED: string = 'RESTORE_USER_FAILED';
|
||||
export const RESTORE_USER_REQUEST: string = 'RESTORE_USER_REQUEST';
|
||||
export const RESTORE_USER_RESET: string = 'RESTORE_USER_RESET';
|
||||
export const RESTORE_USER_SUCCESS: string = 'RESTORE_USER_SUCCESS';
|
||||
export const RESTORE_USER_FAILED: string = 'RESTORE_USER_FAILED';
|
||||
|
||||
// Block User
|
||||
export const BLOCK_USER_REQUEST: string = 'BLOCK_USER_REQUEST';
|
||||
export const BLOCK_USER_RESET: string = 'BLOCK_USER_RESET';
|
||||
export const BLOCK_USER_SUCCESS: string = 'BLOCK_USER_SUCCESS';
|
||||
export const BLOCK_USER_FAILED: string = 'BLOCK_USER_FAILED';
|
||||
export const BLOCK_USER_REQUEST: string = 'BLOCK_USER_REQUEST';
|
||||
export const BLOCK_USER_RESET: string = 'BLOCK_USER_RESET';
|
||||
export const BLOCK_USER_SUCCESS: string = 'BLOCK_USER_SUCCESS';
|
||||
export const BLOCK_USER_FAILED: string = 'BLOCK_USER_FAILED';
|
||||
|
||||
// Unblock User
|
||||
export const UNBLOCK_USER_REQUEST: string = 'UNBLOCK_USER_REQUEST';
|
||||
export const UNBLOCK_USER_RESET: string = 'UNBLOCK_USER_RESET';
|
||||
export const UNBLOCK_USER_SUCCESS: string = 'UNBLOCK_USER_SUCCESS';
|
||||
export const UNBLOCK_USER_FAILED: string = 'UNBLOCK_USER_FAILED';
|
||||
export const UNBLOCK_USER_REQUEST: string = 'UNBLOCK_USER_REQUEST';
|
||||
export const UNBLOCK_USER_RESET: string = 'UNBLOCK_USER_RESET';
|
||||
export const UNBLOCK_USER_SUCCESS: string = 'UNBLOCK_USER_SUCCESS';
|
||||
export const UNBLOCK_USER_FAILED: string = 'UNBLOCK_USER_FAILED';
|
||||
|
||||
// Enable Admin Mode
|
||||
export const ENABLE_ADMIN_MODE_REQUEST: string = 'ENABLE_ADMIN_MODE_REQUEST';
|
||||
export const ENABLE_ADMIN_MODE_RESET: string = 'ENABLE_ADMIN_MODE_RESET';
|
||||
export const ENABLE_ADMIN_MODE_SUCCESS: string = 'ENABLE_ADMIN_MODE_SUCCESS';
|
||||
export const ENABLE_ADMIN_MODE_FAILED: string = 'ENABLE_ADMIN_MODE_FAILED';
|
||||
export const ENABLE_ADMIN_MODE_REQUEST: string = 'ENABLE_ADMIN_MODE_REQUEST';
|
||||
export const ENABLE_ADMIN_MODE_RESET: string = 'ENABLE_ADMIN_MODE_RESET';
|
||||
export const ENABLE_ADMIN_MODE_SUCCESS: string = 'ENABLE_ADMIN_MODE_SUCCESS';
|
||||
export const ENABLE_ADMIN_MODE_FAILED: string = 'ENABLE_ADMIN_MODE_FAILED';
|
||||
|
||||
// Disable Admin Mode
|
||||
export const DISABLE_ADMIN_MODE_REQUEST: string = 'DISABLE_ADMIN_MODE_REQUEST';
|
||||
export const DISABLE_ADMIN_MODE_RESET: string = 'DISABLE_ADMIN_MODE_RESET';
|
||||
export const DISABLE_ADMIN_MODE_SUCCESS: string = 'DISABLE_ADMIN_MODE_SUCCESS';
|
||||
export const DISABLE_ADMIN_MODE_FAILED: string = 'DISABLE_ADMIN_MODE_FAILED';
|
||||
export const DISABLE_ADMIN_MODE_REQUEST: string = 'DISABLE_ADMIN_MODE_REQUEST';
|
||||
export const DISABLE_ADMIN_MODE_RESET: string = 'DISABLE_ADMIN_MODE_RESET';
|
||||
export const DISABLE_ADMIN_MODE_SUCCESS: string = 'DISABLE_ADMIN_MODE_SUCCESS';
|
||||
export const DISABLE_ADMIN_MODE_FAILED: string = 'DISABLE_ADMIN_MODE_FAILED';
|
||||
|
||||
// Admin User Note
|
||||
export const ADD_USER_NOTE_REQUEST: string = 'ADD_USER_NOTE_REQUEST';
|
||||
export const ADD_USER_NOTE_RESET: string = 'ADD_USER_NOTE_RESET';
|
||||
export const ADD_USER_NOTE_SUCCESS: string = 'ADD_USER_NOTE_SUCCESS';
|
||||
export const ADD_USER_NOTE_FAILURE: string = 'ADD_USER_NOTE_FAILURE';
|
||||
export const ADD_USER_NOTE_REQUEST: string = 'ADD_USER_NOTE_REQUEST';
|
||||
export const ADD_USER_NOTE_RESET: string = 'ADD_USER_NOTE_RESET';
|
||||
export const ADD_USER_NOTE_SUCCESS: string = 'ADD_USER_NOTE_SUCCESS';
|
||||
export const ADD_USER_NOTE_FAILURE: string = 'ADD_USER_NOTE_FAILURE';
|
||||
|
||||
// Search Users
|
||||
export const SEARCH_USERS_REQUEST: string = 'SEARCH_USERS_REQUEST';
|
||||
export const SEARCH_USERS_RESET: string = 'SEARCH_USERS_RESET';
|
||||
export const SEARCH_USERS_SUCCESS: string = 'SEARCH_USERS_SUCCESS';
|
||||
export const SEARCH_USERS_FAILURE: string = 'SEARCH_USERS_FAILURE';
|
||||
export const SEARCH_USERS_REQUEST: string = 'SEARCH_USERS_REQUEST';
|
||||
export const SEARCH_USERS_RESET: string = 'SEARCH_USERS_RESET';
|
||||
export const SEARCH_USERS_SUCCESS: string = 'SEARCH_USERS_SUCCESS';
|
||||
export const SEARCH_USERS_FAILURE: string = 'SEARCH_USERS_FAILURE';
|
||||
|
||||
//update user's two factor auth settings
|
||||
export const UPDATE_TWO_FACTOR_AUTH_REQUEST: string = 'UPDATE_TWO_FACTOR_AUTH_REQUEST';
|
||||
export const UPDATE_TWO_FACTOR_AUTH_SUCCESS: string = 'UPDATE_TWO_FACTOR_AUTH_SUCCESS';
|
||||
export const UPDATE_TWO_FACTOR_AUTH_FAILURE: string = 'UPDATE_TWO_FACTOR_AUTH_FAILURE';
|
||||
export const SET_TWO_FACTOR_AUTH: string = 'SET_TWO_FACTOR_AUTH';
|
||||
export const UPDATE_TWO_FACTOR_AUTH_REQUEST: string =
|
||||
'UPDATE_TWO_FACTOR_AUTH_REQUEST';
|
||||
export const UPDATE_TWO_FACTOR_AUTH_SUCCESS: string =
|
||||
'UPDATE_TWO_FACTOR_AUTH_SUCCESS';
|
||||
export const UPDATE_TWO_FACTOR_AUTH_FAILURE: string =
|
||||
'UPDATE_TWO_FACTOR_AUTH_FAILURE';
|
||||
export const SET_TWO_FACTOR_AUTH: string = 'SET_TWO_FACTOR_AUTH';
|
||||
|
||||
//fetching a user login history
|
||||
export const FETCH_USER_LOGIN_HISTORY_REQUEST =
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export const GET_VERSION_SUCCESS: string = 'GET_VERSION_SUCCESS';
|
||||
export const GET_VERSION_FAILED: string = 'GET_VERSION_FAILED';
|
||||
export const GET_VERSION_REQUEST: string = 'GET_VERSION_REQUEST';
|
||||
export const GET_VERSION_RESET: string = 'GET_VERSION_RESET';
|
||||
export const GET_VERSION_SUCCESS: string = 'GET_VERSION_SUCCESS';
|
||||
export const GET_VERSION_FAILED: string = 'GET_VERSION_FAILED';
|
||||
export const GET_VERSION_REQUEST: string = 'GET_VERSION_REQUEST';
|
||||
export const GET_VERSION_RESET: string = 'GET_VERSION_RESET';
|
||||
|
||||
@@ -12,7 +12,7 @@ export const isApiServer = !(
|
||||
window.document.createElement
|
||||
);
|
||||
|
||||
const url: string = '/';
|
||||
const url: string = '/';
|
||||
export const history = isApiServer
|
||||
? createMemoryHistory({ initialEntries: [url] })
|
||||
: createBrowserHistory();
|
||||
|
||||
@@ -70,7 +70,7 @@ router.post(
|
||||
data.componentId = componentId;
|
||||
|
||||
const populateComponent = [{ path: 'projectId', select: '_id' }];
|
||||
const selectComponent: string = 'projectId ';
|
||||
const selectComponent: string = 'projectId ';
|
||||
|
||||
const [applicationLog, component, user] = await Promise.all([
|
||||
ApplicationLogService.create(data),
|
||||
|
||||
@@ -25,7 +25,7 @@ router.get(
|
||||
const skip = req.query['skip'];
|
||||
const limit = req.query['limit'];
|
||||
const populate = [{ path: 'projectId', select: 'name' }];
|
||||
const select: string = 'from to projectId content status error';
|
||||
const select: string = 'from to projectId content status error';
|
||||
const [callLogs, count] = await Promise.all([
|
||||
CallLogsService.findBy({
|
||||
query,
|
||||
|
||||
@@ -319,7 +319,7 @@ router.post(
|
||||
}
|
||||
|
||||
// fetch monitors
|
||||
const select: string = '_id name';
|
||||
const select: string = '_id name';
|
||||
let monitors = await MonitorService.findBy({
|
||||
query: { componentId: componentId },
|
||||
select,
|
||||
|
||||
@@ -103,7 +103,8 @@ router.get(
|
||||
async (req: ExpressRequest, res: ExpressResponse) => {
|
||||
try {
|
||||
const emailTemplateId = req.params.emailTemplateId;
|
||||
const select: string = 'projectId subject body emailType allowedVariables';
|
||||
const select: string =
|
||||
'projectId subject body emailType allowedVariables';
|
||||
const emailTemplates = await EmailTemplateService.findOneBy({
|
||||
query: { _id: emailTemplateId },
|
||||
select,
|
||||
@@ -170,7 +171,8 @@ router.put(
|
||||
value.body = body;
|
||||
data.push(value);
|
||||
}
|
||||
const select: string = 'projectId subject body emailType allowedVariables';
|
||||
const select: string =
|
||||
'projectId subject body emailType allowedVariables';
|
||||
for (const value of data) {
|
||||
const emailTemplate = await EmailTemplateService.findOneBy({
|
||||
query: {
|
||||
|
||||
@@ -73,7 +73,7 @@ router.post(
|
||||
data.componentId = componentId;
|
||||
|
||||
const populateComponent = [{ path: 'projectId', select: 'name' }];
|
||||
const selectComponent: string = ' projectId ';
|
||||
const selectComponent: string = ' projectId ';
|
||||
const [errorTracker, component, user] = await Promise.all([
|
||||
ErrorTrackerService.create(data),
|
||||
ComponentService.findOneBy({
|
||||
|
||||
@@ -75,7 +75,7 @@ router.post(
|
||||
await twilioService.test(data);
|
||||
}
|
||||
|
||||
const selectConfig: string = 'name value createdAt';
|
||||
const selectConfig: string = 'name value createdAt';
|
||||
let globalConfig = await GlobalConfigService.findOneBy({
|
||||
query: { name },
|
||||
select: selectConfig,
|
||||
@@ -119,7 +119,7 @@ router.post(
|
||||
try {
|
||||
const names = req.body;
|
||||
|
||||
const selectConfig: string = 'name value createdAt';
|
||||
const selectConfig: string = 'name value createdAt';
|
||||
const globalConfigs = await GlobalConfigService.findBy({
|
||||
query: { name: { $in: names } },
|
||||
select: selectConfig,
|
||||
@@ -149,7 +149,7 @@ router.get(
|
||||
isUserMasterAdmin,
|
||||
async (req: ExpressRequest, res: ExpressResponse) => {
|
||||
try {
|
||||
const selectConfig: string = 'name value createdAt';
|
||||
const selectConfig: string = 'name value createdAt';
|
||||
const { name } = req.params;
|
||||
let globalConfig = await GlobalConfigService.findOneBy({
|
||||
query: { name: name },
|
||||
|
||||
@@ -28,7 +28,7 @@ router.get(
|
||||
if (!limit) {
|
||||
limit = 10;
|
||||
}
|
||||
const select: string = 'userId createdAt ipLocation device status';
|
||||
const select: string = 'userId createdAt ipLocation device status';
|
||||
const historyLogs = await loginHistoryService.findBy({
|
||||
query: { userId },
|
||||
skip,
|
||||
|
||||
@@ -703,7 +703,7 @@ router.post(
|
||||
const data = req.body;
|
||||
data.monitorId = monitorId;
|
||||
|
||||
const select: string = 'type criteria';
|
||||
const select: string = 'type criteria';
|
||||
const monitor = await MonitorService.findOneBy({
|
||||
query: { _id: monitorId },
|
||||
select,
|
||||
@@ -1044,7 +1044,7 @@ router.post(
|
||||
async (req: ExpressRequest, res: ExpressResponse) => {
|
||||
try {
|
||||
const { monitorId } = req.params;
|
||||
const select: string = 'disabled';
|
||||
const select: string = 'disabled';
|
||||
const monitor = await MonitorService.findOneBy({
|
||||
query: { _id: monitorId },
|
||||
select,
|
||||
@@ -1100,7 +1100,7 @@ router.post(
|
||||
const { monitorId } = req.params;
|
||||
const { statuses, start, range } = req.body;
|
||||
|
||||
const select: string = '_id';
|
||||
const select: string = '_id';
|
||||
const [monitor, result] = await Promise.all([
|
||||
MonitorService.findOneBy({ query: { _id: monitorId }, select }),
|
||||
MonitorService.calcTime(statuses, start, range),
|
||||
|
||||
@@ -190,7 +190,8 @@ router.put(
|
||||
async (req: ExpressRequest, res: ExpressResponse) => {
|
||||
const { performanceTrackerId } = req.params;
|
||||
|
||||
const select: string = 'componentId name slug key showQuickStart createdById';
|
||||
const select: string =
|
||||
'componentId name slug key showQuickStart createdById';
|
||||
const populate = [
|
||||
{ path: 'createdById', select: 'name email' },
|
||||
{
|
||||
|
||||
@@ -208,7 +208,8 @@ router.get(
|
||||
});
|
||||
}
|
||||
// Call the ResourceCategoryService
|
||||
const selectResourceCat: string = 'projectId name createdById createdAt';
|
||||
const selectResourceCat: string =
|
||||
'projectId name createdById createdAt';
|
||||
const [resourceCategories, count] = await Promise.all([
|
||||
ResourceCategoryService.findBy({
|
||||
query: { projectId },
|
||||
|
||||
@@ -161,7 +161,7 @@ const getMonitors = async (
|
||||
},
|
||||
{ path: 'projectId', select: '_id name' },
|
||||
];
|
||||
const select: string = '_id name componentId projectId type slug';
|
||||
const select: string = '_id name componentId projectId type slug';
|
||||
const monitors = await MonitorService.findBy({
|
||||
query,
|
||||
populate,
|
||||
|
||||
@@ -126,7 +126,7 @@ router.post(
|
||||
botAccessToken: JSONresponse.bot.bot_access_token,
|
||||
};
|
||||
|
||||
const integrationType: string = 'slack';
|
||||
const integrationType: string = 'slack';
|
||||
try {
|
||||
const slack = await IntegrationService.create(
|
||||
projectId,
|
||||
@@ -156,7 +156,7 @@ router.delete(
|
||||
|
||||
const userId = req.user ? req.user.id : null;
|
||||
|
||||
const integrationType: string = 'slack';
|
||||
const integrationType: string = 'slack';
|
||||
|
||||
try {
|
||||
const data = await IntegrationService.deleteBy(
|
||||
@@ -180,7 +180,7 @@ router.get(
|
||||
getUser,
|
||||
async (req: ExpressRequest, res: ExpressResponse) => {
|
||||
const projectId = req.params.projectId;
|
||||
const integrationType: string = 'slack';
|
||||
const integrationType: string = 'slack';
|
||||
|
||||
try {
|
||||
const select =
|
||||
|
||||
@@ -86,7 +86,7 @@ router.get(
|
||||
try {
|
||||
const smsTemplateId = req.params.smsTemplateId;
|
||||
const populate = [{ path: 'projectId', select: 'name' }];
|
||||
const select: string = 'projectId body smsType allowedVariables';
|
||||
const select: string = 'projectId body smsType allowedVariables';
|
||||
const smsTemplates = await SmsTemplateService.findOneBy({
|
||||
query: { _id: smsTemplateId },
|
||||
populate,
|
||||
|
||||
@@ -183,7 +183,7 @@ router.get(
|
||||
});
|
||||
}
|
||||
// Call the StatusPageCategoryService
|
||||
const select: string = 'statusPageId name createdById createdAt';
|
||||
const select: string = 'statusPageId name createdById createdAt';
|
||||
const [statusPageCategories, count] = await Promise.all([
|
||||
StatusPageCategoryService.findBy({
|
||||
query: { statusPageId },
|
||||
|
||||
@@ -357,7 +357,7 @@ router.get('/sso/login', async (req: ExpressRequest, res: ExpressResponse) => {
|
||||
const domain = matchedTokens[1];
|
||||
|
||||
try {
|
||||
const selectSso: string = '_id saml-enabled remoteLoginUrl entityId';
|
||||
const selectSso: string = '_id saml-enabled remoteLoginUrl entityId';
|
||||
|
||||
const sso = await SsoService.findOneBy({
|
||||
query: { domain },
|
||||
|
||||
@@ -92,7 +92,7 @@ export default {
|
||||
|
||||
let probeId = null;
|
||||
|
||||
const selectProbe: string = '_id probeKey version probeName';
|
||||
const selectProbe: string = '_id probeKey version probeName';
|
||||
if (clusterKey && clusterKey === CLUSTER_KEY) {
|
||||
// if cluster key matches then just query by probe name,
|
||||
// because if the probe key does not match, we can update probe key later
|
||||
|
||||
@@ -502,7 +502,7 @@ describe('Application Log API', function (): void {
|
||||
});
|
||||
|
||||
it('should not edit an application log with empty name', (done: $TSFixMe): void => {
|
||||
const newName: string = '';
|
||||
const newName: string = '';
|
||||
const authorization: string = `Basic ${token}`;
|
||||
request
|
||||
.put(
|
||||
@@ -520,7 +520,7 @@ describe('Application Log API', function (): void {
|
||||
});
|
||||
|
||||
it('should not edit an application log with same name as existing application log', (done: $TSFixMe): void => {
|
||||
const newName: string = 'Astro';
|
||||
const newName: string = 'Astro';
|
||||
const authorization: string = `Basic ${token}`;
|
||||
request
|
||||
.post(`/application-log/${projectId}/${componentId}/create`)
|
||||
@@ -549,7 +549,7 @@ describe('Application Log API', function (): void {
|
||||
});
|
||||
|
||||
it('should edit an application log', (done: $TSFixMe): void => {
|
||||
const newName: string = 'Rodeo';
|
||||
const newName: string = 'Rodeo';
|
||||
const authorization: string = `Basic ${token}`;
|
||||
request
|
||||
.put(
|
||||
@@ -566,7 +566,7 @@ describe('Application Log API', function (): void {
|
||||
});
|
||||
|
||||
it('should edit an application log but not change application log key', (done: $TSFixMe): void => {
|
||||
const newName: string = 'Rodeo II';
|
||||
const newName: string = 'Rodeo II';
|
||||
const authorization: string = `Basic ${token}`;
|
||||
request
|
||||
.put(
|
||||
|
||||
@@ -361,7 +361,7 @@ describe('Application Security API', function (): void {
|
||||
|
||||
it('should not scan an application security if it does not exist', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const applicationSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
const applicationSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
|
||||
request
|
||||
.post(
|
||||
@@ -379,7 +379,7 @@ describe('Application Security API', function (): void {
|
||||
|
||||
it('should not delete a non-existing application security', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const applicationSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
const applicationSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
|
||||
request
|
||||
.delete(
|
||||
@@ -397,7 +397,7 @@ describe('Application Security API', function (): void {
|
||||
|
||||
it('should not get a non-existing application security', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const applicationSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
const applicationSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
|
||||
request
|
||||
.get(
|
||||
|
||||
@@ -271,7 +271,7 @@ describe('Audit Logs API', function (): void {
|
||||
.set('Authorization', authorization)
|
||||
.send();
|
||||
|
||||
const searchString: string = '/vers';
|
||||
const searchString: string = '/vers';
|
||||
const res = await request
|
||||
.post('/audit-logs/search')
|
||||
.set('Authorization', authorization)
|
||||
|
||||
@@ -384,7 +384,7 @@ describe('Container Security API', function (): void {
|
||||
|
||||
it('should not scan a container security if it does not exist', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const containerSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
const containerSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
|
||||
request
|
||||
.post(
|
||||
@@ -402,7 +402,7 @@ describe('Container Security API', function (): void {
|
||||
|
||||
it('should not delete a non-existing container security', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const containerSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
const containerSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
|
||||
request
|
||||
.delete(
|
||||
@@ -420,7 +420,7 @@ describe('Container Security API', function (): void {
|
||||
|
||||
it('should not get a non-existing container security', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const containerSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
const containerSecurityId: string = '5e8db9752cc46e3a229ebc51'; // non-existing ObjectId
|
||||
|
||||
request
|
||||
.get(
|
||||
|
||||
@@ -77,8 +77,8 @@ describe('Docker Credential API', function (): void {
|
||||
|
||||
it('should update a docker credential', async (): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const dockerUsername: string = 'username';
|
||||
const dockerPassword: string = 'hello1234567890';
|
||||
const dockerUsername: string = 'username';
|
||||
const dockerPassword: string = 'hello1234567890';
|
||||
|
||||
const res = await request
|
||||
.put(`/credential/${projectId}/dockerCredential/${credentialId}`)
|
||||
@@ -94,8 +94,8 @@ describe('Docker Credential API', function (): void {
|
||||
|
||||
it('should not update docker credential with invalid username or password', async (): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const dockerUsername: string = 'randomUsername';
|
||||
const dockerPassword: string = 'randomPassword';
|
||||
const dockerUsername: string = 'randomUsername';
|
||||
const dockerPassword: string = 'randomPassword';
|
||||
const res = await request
|
||||
.put(`/credential/${projectId}/dockerCredential/${credentialId}`)
|
||||
.set('Authorization', authorization)
|
||||
@@ -205,7 +205,7 @@ describe('Docker Credential API', function (): void {
|
||||
|
||||
it('should not remove a non-existing docker credential', async (): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const newCredentialId: string = '5e8db97b2cc46e3a229ebc62'; // non-existing credential id
|
||||
const newCredentialId: string = '5e8db97b2cc46e3a229ebc62'; // non-existing credential id
|
||||
const res = await request
|
||||
.delete(
|
||||
`/credential/${projectId}/dockerCredential/${newCredentialId}`
|
||||
|
||||
@@ -266,7 +266,7 @@ describe('Email Logs API', function (): void {
|
||||
.set('Authorization', authorization)
|
||||
.send();
|
||||
|
||||
const searchString: string = '/vers';
|
||||
const searchString: string = '/vers';
|
||||
const res = await request
|
||||
.post('/email-logs/search')
|
||||
.set('Authorization', authorization)
|
||||
|
||||
@@ -16,7 +16,7 @@ import ProjectService from '../backend/services/projectService';
|
||||
|
||||
let token: $TSFixMe, projectId: ObjectID, newProjectId: ObjectID;
|
||||
|
||||
const teamEmail: string = 'noreply1@oneuptime.com';
|
||||
const teamEmail: string = 'noreply1@oneuptime.com';
|
||||
|
||||
describe('Enterprise Team API', function (): void {
|
||||
this.timeout(30000);
|
||||
|
||||
@@ -184,7 +184,7 @@ describe('Error Tracker API', function (): void {
|
||||
|
||||
it('should update the current error tracker name', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const appName: string = 'Python API App';
|
||||
const appName: string = 'Python API App';
|
||||
request
|
||||
.put(
|
||||
`/error-tracker/${projectId}/${componentId}/${errorTracker._id}`
|
||||
|
||||
@@ -111,7 +111,7 @@ describe('Feedback API', function (): void {
|
||||
'Thank you for your feedback!'
|
||||
);
|
||||
} else {
|
||||
const subject: string = 'Welcome to OneUptime.';
|
||||
const subject: string = 'Welcome to OneUptime.';
|
||||
const status = emailStatuses.find(
|
||||
(status: $TSFixMe) => status.subject === subject
|
||||
);
|
||||
|
||||
@@ -77,8 +77,8 @@ describe('Git Credential API', function (): void {
|
||||
|
||||
it('should add git credential', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const gitUsername: string = 'username';
|
||||
const gitPassword: string = 'password';
|
||||
const gitUsername: string = 'username';
|
||||
const gitPassword: string = 'password';
|
||||
|
||||
request
|
||||
.post(`/credential/${projectId}/gitCredential`)
|
||||
@@ -97,7 +97,7 @@ describe('Git Credential API', function (): void {
|
||||
|
||||
it('should update a git credential', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const newGitUsername: string = 'newusername';
|
||||
const newGitUsername: string = 'newusername';
|
||||
|
||||
request
|
||||
.put(`/credential/${projectId}/gitCredential/${credentialId}`)
|
||||
@@ -114,8 +114,8 @@ describe('Git Credential API', function (): void {
|
||||
|
||||
it('should get all the git credentials in a project', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const gitUsername: string = 'anotherUsername';
|
||||
const gitPassword: string = 'password';
|
||||
const gitUsername: string = 'anotherUsername';
|
||||
const gitPassword: string = 'password';
|
||||
|
||||
request
|
||||
.post(`/credential/${projectId}/gitCredential`)
|
||||
@@ -152,8 +152,8 @@ describe('Git Credential API', function (): void {
|
||||
|
||||
it('should not create git credential with an existing git user in a project', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const gitUsername: string = 'anotherUsername'; // an existing username
|
||||
const gitPassword: string = 'password';
|
||||
const gitUsername: string = 'anotherUsername'; // an existing username
|
||||
const gitPassword: string = 'password';
|
||||
|
||||
request
|
||||
.post(`/credential/${projectId}/gitCredential`)
|
||||
@@ -173,8 +173,8 @@ describe('Git Credential API', function (): void {
|
||||
|
||||
it('should not create git credential if git username is missing', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const gitUsername: string = '';
|
||||
const gitPassword: string = 'password';
|
||||
const gitUsername: string = '';
|
||||
const gitPassword: string = 'password';
|
||||
|
||||
request
|
||||
.post(`/credential/${projectId}/gitCredential`)
|
||||
@@ -194,7 +194,7 @@ describe('Git Credential API', function (): void {
|
||||
|
||||
it('should not create git credential if git password is missing', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const gitUsername: string = 'username';
|
||||
const gitUsername: string = 'username';
|
||||
|
||||
request
|
||||
.post(`/credential/${projectId}/gitCredential`)
|
||||
@@ -213,7 +213,7 @@ describe('Git Credential API', function (): void {
|
||||
|
||||
it('should not remove a non-existing git credential', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const credentialId: string = '5e8db97b2cc46e3a229ebc62'; // non-existing credential id
|
||||
const credentialId: string = '5e8db97b2cc46e3a229ebc62'; // non-existing credential id
|
||||
|
||||
request
|
||||
.delete(`/credential/${projectId}/gitCredential/${credentialId}`)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
process.env['PORT'] = 3020;
|
||||
|
||||
process.env['IS_SAAS_SERVICE'] = true;
|
||||
const HTTP_TEST_SERVER_URL: string = 'http://localhost:3010';
|
||||
const HTTP_TEST_SERVER_URL: string = 'http://localhost:3010';
|
||||
import { expect } from 'chai';
|
||||
import userData from './data/user';
|
||||
import chai from 'chai';
|
||||
@@ -346,8 +346,8 @@ describe('Incident API', function (): void {
|
||||
|
||||
it('should update incident details.', async (): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const incidentTitle: string = 'New incident title';
|
||||
const incidentDescription: string = 'New incident description';
|
||||
const incidentTitle: string = 'New incident title';
|
||||
const incidentDescription: string = 'New incident description';
|
||||
|
||||
const res = await request
|
||||
.put(`/incident/${projectId}/incident/${incidentId}/details`)
|
||||
@@ -488,7 +488,7 @@ describe('Incident API', function (): void {
|
||||
|
||||
it('should fetch list of investigation incident messages', async (): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const type: string = 'investigation';
|
||||
const type: string = 'investigation';
|
||||
const res = await request
|
||||
.get(
|
||||
`/incident/${projectId}/incident/${incidentId}/message?type=${type}`
|
||||
@@ -515,7 +515,7 @@ describe('Incident API', function (): void {
|
||||
|
||||
it('should fetch list of internal incident messages', async (): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const type: string = 'internal';
|
||||
const type: string = 'internal';
|
||||
const res = await request
|
||||
.get(
|
||||
`/incident/${projectId}/incident/${incidentId}/message?type=${type}`
|
||||
|
||||
@@ -978,7 +978,7 @@ describe('SMS/Calls Incident Alerts', function (): void {
|
||||
});
|
||||
|
||||
// create a new URL monitor, with a resource that will fail
|
||||
const url: string = 'https://httpbin.org/status/500';
|
||||
const url: string = 'https://httpbin.org/status/500';
|
||||
const newMonitor = await createMonitor({
|
||||
request,
|
||||
authorization,
|
||||
@@ -1295,7 +1295,7 @@ describe('SMS/Calls Incident Alerts', function (): void {
|
||||
|
||||
criteria.down[0].scheduleIds = [newScheduleId];
|
||||
// create a new URL monitor, with a resource that will fail
|
||||
const url: string = 'https://httpbin.org/status/500';
|
||||
const url: string = 'https://httpbin.org/status/500';
|
||||
const newMonitor = await createMonitor({
|
||||
request,
|
||||
authorization,
|
||||
|
||||
@@ -132,7 +132,7 @@ describe('Incident Priority API', function (): void {
|
||||
});
|
||||
|
||||
it('Should update incident priority.', async () => {
|
||||
const newIncidentPriorityName: string = 'Intermediate Updated';
|
||||
const newIncidentPriorityName: string = 'Intermediate Updated';
|
||||
const authorization: string = `Basic ${token}`;
|
||||
|
||||
let res = await request
|
||||
|
||||
@@ -465,7 +465,7 @@ describe('Monitor API', function (): void {
|
||||
});
|
||||
|
||||
const BACKEND_URL: string = `http://localhost:${process.env['PORT']}/api`;
|
||||
const HTTP_TEST_SERVER_URL: string = 'http://localhost:3010';
|
||||
const HTTP_TEST_SERVER_URL: string = 'http://localhost:3010';
|
||||
|
||||
const testServer = chai.request(HTTP_TEST_SERVER_URL);
|
||||
|
||||
@@ -1366,7 +1366,7 @@ describe('Monitor API - Tests Project Seats With SubProjects', function (): void
|
||||
|
||||
it('should be able to create more monitor on upgrade of project to Growth plan.', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const growthPlan: string = 'plan_GoWKgxRnPPBJWy';
|
||||
const growthPlan: string = 'plan_GoWKgxRnPPBJWy';
|
||||
|
||||
const project = ProjectService.changePlan(
|
||||
projectId,
|
||||
|
||||
@@ -30,7 +30,7 @@ let probeId: $TSFixMe;
|
||||
import GlobalConfig from './utils/globalConfig';
|
||||
import AirtableService from '../backend/services/airtableService';
|
||||
let token: $TSFixMe, userId, projectId: ObjectID, componentId: $TSFixMe;
|
||||
const probeKey: string = 'test-key';
|
||||
const probeKey: string = 'test-key';
|
||||
const sleep = (waitTimeInMs: $TSFixMe): void =>
|
||||
new Promise(resolve => setTimeout(resolve, waitTimeInMs));
|
||||
const generateRandomString = require('./utils/string').generateRandomString;
|
||||
@@ -427,9 +427,9 @@ describe('Probe API', function (): void {
|
||||
|
||||
it('should get application securities yet to be scanned or scanned 24hrs ago', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const probeName: string = 'US';
|
||||
const probeKey: string = '33b674ca-9fdd-11e9-a2a3-2a2ae2dbccez';
|
||||
const clusterKey: string = 'f414c23b4cdf4e84a6a66ecfd528eff2';
|
||||
const probeName: string = 'US';
|
||||
const probeKey: string = '33b674ca-9fdd-11e9-a2a3-2a2ae2dbccez';
|
||||
const clusterKey: string = 'f414c23b4cdf4e84a6a66ecfd528eff2';
|
||||
|
||||
GitCredentialService.create({
|
||||
gitUsername: gitCredential.gitUsername,
|
||||
@@ -466,9 +466,9 @@ describe('Probe API', function (): void {
|
||||
|
||||
it('should get container securities yet to be scanned or scanned 24hrs ago', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const probeName: string = 'US';
|
||||
const probeKey: string = '33b674ca-9fdd-11e9-a2a3-2a2ae2dbccez';
|
||||
const clusterKey: string = 'f414c23b4cdf4e84a6a66ecfd528eff2';
|
||||
const probeName: string = 'US';
|
||||
const probeKey: string = '33b674ca-9fdd-11e9-a2a3-2a2ae2dbccez';
|
||||
const clusterKey: string = 'f414c23b4cdf4e84a6a66ecfd528eff2';
|
||||
|
||||
DockerCredentialService.create({
|
||||
dockerRegistryUrl: dockerCredential.dockerRegistryUrl,
|
||||
|
||||
@@ -31,7 +31,7 @@ const monitor = {
|
||||
};
|
||||
const endDate = moment().format('YYYY-MM-DD');
|
||||
const startDate = moment().subtract(7, 'd').format('YYYY-MM-DD');
|
||||
const filter: string = 'month';
|
||||
const filter: string = 'month';
|
||||
|
||||
describe('Reports API', function (): void {
|
||||
this.timeout(20000);
|
||||
|
||||
@@ -534,8 +534,8 @@ describe('Status API', function (): void {
|
||||
|
||||
it('should verify a domain', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const domain: string = 'oneuptimeapp.com';
|
||||
const verificationToken: string = 'm2ab5osUmz9Y7Ko';
|
||||
const domain: string = 'oneuptimeapp.com';
|
||||
const verificationToken: string = 'm2ab5osUmz9Y7Ko';
|
||||
// update the verification token to a live version
|
||||
DomainVerificationService.updateOneBy(
|
||||
{ domain },
|
||||
@@ -568,7 +568,7 @@ describe('Status API', function (): void {
|
||||
throw err;
|
||||
}
|
||||
expect(res).to.have.status(200);
|
||||
const domain: string = 'status.x.com';
|
||||
const domain: string = 'status.x.com';
|
||||
// update the verification token to a live version
|
||||
DomainVerificationService.updateOneBy(
|
||||
{ domain },
|
||||
@@ -601,7 +601,7 @@ describe('Status API', function (): void {
|
||||
throw err;
|
||||
}
|
||||
expect(res).to.have.status(200);
|
||||
const domain: string = 'status.y.com';
|
||||
const domain: string = 'status.y.com';
|
||||
request
|
||||
.get(`/StatusPage/null?url=${domain}`)
|
||||
.send()
|
||||
@@ -620,8 +620,8 @@ describe('Status API', function (): void {
|
||||
|
||||
it('should not verify a domain if txt record is not found', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const domain: string = 'oneuptimeapp.com';
|
||||
const verificationToken: string = 'thistokenwillnotwork';
|
||||
const domain: string = 'oneuptimeapp.com';
|
||||
const verificationToken: string = 'thistokenwillnotwork';
|
||||
// update the verification token to a live version
|
||||
DomainVerificationService.updateOneBy(
|
||||
{ domain },
|
||||
@@ -643,7 +643,7 @@ describe('Status API', function (): void {
|
||||
|
||||
it('should not verify a domain that does not exist on the web', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const domain: string = 'binoehty1234hgyt.com';
|
||||
const domain: string = 'binoehty1234hgyt.com';
|
||||
const selectDomainVerify =
|
||||
'domain createdAt verificationToken verifiedAt updatedAt projectId';
|
||||
const populateDomainVerify = [
|
||||
@@ -954,7 +954,7 @@ describe('Status API', function (): void {
|
||||
|
||||
const { _id: domainId } = statusPage.domains[0];
|
||||
// provide a random object id
|
||||
const statusPageId: string = '5ea70eb4be9f4b177a1719ad';
|
||||
const statusPageId: string = '5ea70eb4be9f4b177a1719ad';
|
||||
request
|
||||
.put(`/StatusPage/${projectId}/${statusPageId}/${domainId}`)
|
||||
.send(data)
|
||||
@@ -995,7 +995,7 @@ describe('Status API', function (): void {
|
||||
|
||||
const { _id: domainId } = statusPage.domains[0];
|
||||
// create random status page id
|
||||
const statusPageId: string = '5ea70eb4be9f4b177a1719ad';
|
||||
const statusPageId: string = '5ea70eb4be9f4b177a1719ad';
|
||||
request
|
||||
.delete(`/StatusPage/${projectId}/${statusPageId}/${domainId}`)
|
||||
.set('Authorization', authorization)
|
||||
|
||||
@@ -461,7 +461,7 @@ describe('Team API with Sub-Projects', async function (): void {
|
||||
|
||||
it('should not add members without business emails (role -> `Member`)', async (): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const emails: string = 'sample.yahoo.com,sample@gmail.com';
|
||||
const emails: string = 'sample.yahoo.com,sample@gmail.com';
|
||||
const res = await request
|
||||
|
||||
.post(`/team/${projectId}`)
|
||||
|
||||
@@ -86,7 +86,7 @@ describe('Tutorial API', function (): void {
|
||||
|
||||
it('should update the user custom component tutorial status per project', async (): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const type: string = 'component';
|
||||
const type: string = 'component';
|
||||
const res = await request
|
||||
.put('/tutorial')
|
||||
.set('Authorization', authorization)
|
||||
@@ -104,7 +104,7 @@ describe('Tutorial API', function (): void {
|
||||
|
||||
it('should update the user custom team memb er tutorial status per project', async (): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const type: string = 'teamMember';
|
||||
const type: string = 'teamMember';
|
||||
const res = await request
|
||||
.put('/tutorial')
|
||||
.set('Authorization', authorization)
|
||||
@@ -136,7 +136,7 @@ describe('Tutorial API', function (): void {
|
||||
|
||||
it('should update the user status page tutorial status per project', async (): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const type: string = 'statusPage';
|
||||
const type: string = 'statusPage';
|
||||
const res = await request
|
||||
.put('/tutorial')
|
||||
.set('Authorization', authorization)
|
||||
|
||||
@@ -485,7 +485,7 @@ describe('User API', function (): void {
|
||||
|
||||
it('should not delete account that belongs to another user', (done: $TSFixMe): void => {
|
||||
const authorization: string = `Basic ${token}`;
|
||||
const anotherUserId: string = '5ef84e17504ba0deaac459d9';
|
||||
const anotherUserId: string = '5ef84e17504ba0deaac459d9';
|
||||
request
|
||||
.delete(`/user/${anotherUserId}/delete`)
|
||||
.set('Authorization', authorization)
|
||||
|
||||
@@ -41,6 +41,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('Alert', schema);
|
||||
|
||||
@@ -21,6 +21,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('AlertCharge', schema);
|
||||
|
||||
@@ -57,6 +57,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('Announcement', schema);
|
||||
|
||||
@@ -58,6 +58,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('AnnouncementLog', schema);
|
||||
|
||||
@@ -20,6 +20,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('ApiStatus', schema);
|
||||
|
||||
@@ -49,6 +49,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('ApplicationLog', schema);
|
||||
|
||||
@@ -33,6 +33,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('applicationScanner', schema);
|
||||
|
||||
@@ -42,6 +42,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('ApplicationSecurity', schema);
|
||||
|
||||
@@ -30,6 +30,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('ApplicationSecurityLog', schema);
|
||||
|
||||
@@ -20,6 +20,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('AuditLog', schema);
|
||||
|
||||
@@ -65,6 +65,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('AutomationSript', schema);
|
||||
|
||||
@@ -53,6 +53,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('AutomationSriptLog', schema);
|
||||
|
||||
@@ -26,6 +26,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('callLogs', schema);
|
||||
|
||||
@@ -48,6 +48,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('CallRouting', schema);
|
||||
|
||||
@@ -39,6 +39,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('CallRoutingLog', schema);
|
||||
|
||||
@@ -28,6 +28,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('Certificate', schema);
|
||||
|
||||
@@ -25,6 +25,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('CertificateStore', schema);
|
||||
|
||||
@@ -41,6 +41,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('Component', schema);
|
||||
|
||||
@@ -19,6 +19,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('containerScanner', schema);
|
||||
|
||||
@@ -43,6 +43,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('ContainerSecurity', schema);
|
||||
|
||||
@@ -30,6 +30,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('ContainerSecurityLog', schema);
|
||||
|
||||
@@ -21,6 +21,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('CustomField', schema);
|
||||
|
||||
@@ -38,6 +38,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('DefaultManager', schema);
|
||||
|
||||
@@ -26,6 +26,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = ['dockerPassword'];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('DockerCredential', schema);
|
||||
|
||||
@@ -32,6 +32,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('DomainVerificationToken', schema);
|
||||
|
||||
@@ -37,6 +37,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('EmailSent', schema);
|
||||
|
||||
@@ -38,6 +38,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('EmailTemplate', schema);
|
||||
|
||||
@@ -59,6 +59,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('ErrorEvent', schema);
|
||||
|
||||
@@ -49,6 +49,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('ErrorTracker', schema);
|
||||
|
||||
@@ -59,6 +59,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('Escalation', schema);
|
||||
|
||||
@@ -27,6 +27,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default schema;
|
||||
|
||||
@@ -46,6 +46,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('ExternalStatusPage', schema);
|
||||
|
||||
@@ -24,6 +24,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('Feedback', schema);
|
||||
|
||||
@@ -31,6 +31,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('GitCredential', schema);
|
||||
|
||||
@@ -17,6 +17,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = ['value'];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('GlobalConfig', schema);
|
||||
|
||||
@@ -42,6 +42,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('Groups', schema);
|
||||
|
||||
@@ -142,6 +142,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('Incident', schema);
|
||||
|
||||
@@ -24,6 +24,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('IncidentCommunicationSla', schema);
|
||||
|
||||
@@ -46,6 +46,6 @@ export const requiredFields: RequiredFields = schema.requiredPaths();
|
||||
export const uniqueFields: UniqueFields = [];
|
||||
export const encryptedFields: EncryptedFields = [];
|
||||
|
||||
export const slugifyField: string = '';
|
||||
export const slugifyField: string = '';
|
||||
|
||||
export default mongoose.model('IncidentMessage', schema);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user