2019-12-13 04:45:08 +00:00
|
|
|
import {
|
|
|
|
Environment,
|
|
|
|
commonApiUrls,
|
|
|
|
commonApiacceptableFileExtensions,
|
|
|
|
publicApiUrls,
|
|
|
|
externalApiUrls,
|
|
|
|
piUrls,
|
|
|
|
protocolUrls,
|
2019-12-16 08:42:49 +00:00
|
|
|
messageApiUrls,
|
|
|
|
promptUrls
|
2019-12-13 04:45:08 +00:00
|
|
|
} from './environment.type';
|
2019-12-24 07:16:13 +00:00
|
|
|
import { DeviceType, NotificationMethod } from '@ucap-webmessenger/core';
|
2019-12-13 04:45:08 +00:00
|
|
|
|
|
|
|
export const environment: Environment = {
|
2019-12-18 06:57:02 +00:00
|
|
|
production: true,
|
2019-12-13 04:45:08 +00:00
|
|
|
title: `DS Talk`,
|
|
|
|
|
|
|
|
companyConfig: {
|
2019-12-15 23:53:06 +00:00
|
|
|
companyGroupCode: 'LG',
|
|
|
|
fixedCompanyCode: 'GUC100'
|
2019-12-13 04:45:08 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
productConfig: {
|
|
|
|
productId: 'PRO_000482',
|
|
|
|
productName: 'EZMessenger',
|
|
|
|
authentication: {
|
2019-12-15 13:49:35 +00:00
|
|
|
usePrivateInformationAgree: false,
|
|
|
|
rememberMe: {
|
|
|
|
use: false
|
|
|
|
},
|
|
|
|
autoLogin: {
|
|
|
|
use: true
|
|
|
|
}
|
2019-12-13 04:45:08 +00:00
|
|
|
},
|
|
|
|
updateCheckConfig: {
|
|
|
|
deviceType: DeviceType.Renderer,
|
|
|
|
intervalHour: 1
|
2019-12-15 19:49:27 +00:00
|
|
|
},
|
|
|
|
defaultSettings: {
|
|
|
|
general: {
|
|
|
|
appTheme: 'theme-default',
|
|
|
|
autoLogin: false,
|
2019-12-17 08:27:08 +00:00
|
|
|
autoLaunch: true,
|
2019-12-15 19:49:27 +00:00
|
|
|
continueRunWhenClose: true,
|
|
|
|
locale: 'ko',
|
2019-12-17 06:13:25 +00:00
|
|
|
hrInfoLocale: 'ko',
|
2019-12-18 08:11:58 +00:00
|
|
|
startupHideWindow: false,
|
2019-12-20 07:30:22 +00:00
|
|
|
timezone: 'Asia/Seoul'
|
2019-12-15 19:49:27 +00:00
|
|
|
},
|
|
|
|
notification: {
|
2019-12-20 10:53:08 +00:00
|
|
|
use: true,
|
2019-12-24 07:16:13 +00:00
|
|
|
method: NotificationMethod.SoundAndAlert,
|
2019-12-20 10:53:08 +00:00
|
|
|
alertExposureTime: 5,
|
|
|
|
receiveForMobile: false,
|
|
|
|
receiveForMessage: false
|
2019-12-24 02:41:50 +00:00
|
|
|
},
|
|
|
|
chat: {
|
|
|
|
fontFamily: 'Malgun Gothic',
|
|
|
|
fontSize: 12,
|
|
|
|
downloadPath: undefined
|
2019-12-24 07:16:13 +00:00
|
|
|
},
|
|
|
|
presence: {
|
|
|
|
absenceTime: 10
|
2019-12-15 19:49:27 +00:00
|
|
|
}
|
2019-12-18 01:46:42 +00:00
|
|
|
},
|
|
|
|
CommonSetting: {
|
2020-01-09 09:14:00 +00:00
|
|
|
defaultFileAllowSize: 100,
|
|
|
|
|
2019-12-19 06:29:18 +00:00
|
|
|
editableProfileImage: false,
|
|
|
|
|
2019-12-26 08:34:52 +00:00
|
|
|
useMyDeptGroup: true,
|
|
|
|
myDeptGroupSeq: -5,
|
2020-01-06 02:15:11 +00:00
|
|
|
fixedGroupSeqs: [-5],
|
2019-12-26 08:34:52 +00:00
|
|
|
|
2019-12-19 06:29:18 +00:00
|
|
|
useTimerRoom: false,
|
2019-12-19 07:07:33 +00:00
|
|
|
timerRoomDefaultInterval: 24 * 60 * 60,
|
|
|
|
|
2019-12-19 06:29:18 +00:00
|
|
|
maxChatRoomUser: 300,
|
2019-12-19 07:07:33 +00:00
|
|
|
masstextLength: 800,
|
|
|
|
|
2020-01-03 00:09:07 +00:00
|
|
|
eventRequestInitCount: 30,
|
2019-12-19 07:07:33 +00:00
|
|
|
eventRequestDefaultCount: 50,
|
|
|
|
|
|
|
|
readHereShowMinimumEventCount: 10,
|
|
|
|
readHereShowMaximumEventCount: 100,
|
|
|
|
readHereEventRequestCount: 10
|
2019-12-13 04:45:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2019-12-15 13:49:35 +00:00
|
|
|
customConfig: {
|
|
|
|
pw: {
|
|
|
|
userKey: 'DaesangSSOProject',
|
|
|
|
isBase64: 'N'
|
|
|
|
},
|
2020-01-06 02:15:11 +00:00
|
|
|
appKey: '!@#$DAESANG%^&*'
|
2019-12-15 13:49:35 +00:00
|
|
|
},
|
|
|
|
|
2019-12-13 04:45:08 +00:00
|
|
|
commonApiModuleConfig: {
|
|
|
|
hostConfig: {
|
2019-12-16 08:42:49 +00:00
|
|
|
protocol: 'https',
|
2019-12-13 04:45:08 +00:00
|
|
|
domain: 'messenger.daesang.com',
|
2019-12-16 08:42:49 +00:00
|
|
|
port: 443
|
2019-12-13 04:45:08 +00:00
|
|
|
},
|
|
|
|
urls: commonApiUrls,
|
|
|
|
acceptableFileExtensions: commonApiacceptableFileExtensions
|
|
|
|
},
|
|
|
|
|
|
|
|
publicApiModuleConfig: {
|
|
|
|
hostConfig: {
|
2019-12-16 08:42:49 +00:00
|
|
|
protocol: 'https',
|
2019-12-13 04:45:08 +00:00
|
|
|
domain: 'messenger.daesang.com',
|
2019-12-16 08:42:49 +00:00
|
|
|
port: 443
|
2019-12-13 04:45:08 +00:00
|
|
|
},
|
|
|
|
urls: publicApiUrls
|
|
|
|
},
|
|
|
|
|
|
|
|
externalApiModuleConfig: {
|
|
|
|
hostConfig: {
|
2019-12-16 08:42:49 +00:00
|
|
|
protocol: 'https',
|
2019-12-13 04:45:08 +00:00
|
|
|
domain: 'messenger.daesang.com',
|
2019-12-16 08:42:49 +00:00
|
|
|
port: 443
|
2019-12-13 04:45:08 +00:00
|
|
|
},
|
|
|
|
urls: externalApiUrls
|
|
|
|
},
|
|
|
|
|
|
|
|
messageApiModuleConfig: {
|
|
|
|
hostConfig: {
|
2019-12-24 07:48:01 +00:00
|
|
|
protocol: 'https',
|
2019-12-13 04:45:08 +00:00
|
|
|
domain: 'messenger.daesang.com',
|
2019-12-24 07:48:01 +00:00
|
|
|
port: 9097
|
2019-12-13 04:45:08 +00:00
|
|
|
},
|
|
|
|
urls: messageApiUrls
|
|
|
|
},
|
|
|
|
|
2019-12-16 08:42:49 +00:00
|
|
|
promptApiModuleConfig: {
|
|
|
|
hostConfig: {
|
2019-12-24 07:48:01 +00:00
|
|
|
protocol: 'https',
|
2019-12-16 08:42:49 +00:00
|
|
|
domain: 'messenger.daesang.com',
|
|
|
|
port: 9097
|
|
|
|
},
|
|
|
|
urls: promptUrls
|
|
|
|
},
|
|
|
|
|
2019-12-13 04:45:08 +00:00
|
|
|
piModuleConfig: {
|
|
|
|
hostConfig: {
|
2019-12-24 07:48:01 +00:00
|
|
|
protocol: 'https',
|
2019-12-13 04:45:08 +00:00
|
|
|
domain: 'messenger.daesang.com',
|
|
|
|
port: 9097
|
|
|
|
},
|
|
|
|
urls: piUrls
|
|
|
|
},
|
|
|
|
|
|
|
|
protocolModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'ws',
|
|
|
|
domain: 'messenger.daesang.com',
|
|
|
|
port: 8080
|
|
|
|
},
|
|
|
|
urls: protocolUrls,
|
|
|
|
reconnect: {
|
|
|
|
delay: 1000
|
|
|
|
},
|
|
|
|
requestId: {
|
|
|
|
min: 1,
|
|
|
|
max: 59999
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
nativeModuleConfig: {}
|
|
|
|
};
|