next-ucap-messenger/projects/ucap-webmessenger-app/src/environments/environment.daesang.prod.ts
2020-01-09 18:14:00 +09:00

171 lines
3.3 KiB
TypeScript

import {
Environment,
commonApiUrls,
commonApiacceptableFileExtensions,
publicApiUrls,
externalApiUrls,
piUrls,
protocolUrls,
messageApiUrls,
promptUrls
} from './environment.type';
import { DeviceType, NotificationMethod } from '@ucap-webmessenger/core';
export const environment: Environment = {
production: true,
title: `DS Talk`,
companyConfig: {
companyGroupCode: 'LG',
fixedCompanyCode: 'GUC100'
},
productConfig: {
productId: 'PRO_000482',
productName: 'EZMessenger',
authentication: {
usePrivateInformationAgree: false,
rememberMe: {
use: false
},
autoLogin: {
use: true
}
},
updateCheckConfig: {
deviceType: DeviceType.Renderer,
intervalHour: 1
},
defaultSettings: {
general: {
appTheme: 'theme-default',
autoLogin: false,
autoLaunch: true,
continueRunWhenClose: true,
locale: 'ko',
hrInfoLocale: 'ko',
startupHideWindow: false,
timezone: 'Asia/Seoul'
},
notification: {
use: true,
method: NotificationMethod.SoundAndAlert,
alertExposureTime: 5,
receiveForMobile: false,
receiveForMessage: false
},
chat: {
fontFamily: 'Malgun Gothic',
fontSize: 12,
downloadPath: undefined
},
presence: {
absenceTime: 10
}
},
CommonSetting: {
defaultFileAllowSize: 100,
editableProfileImage: false,
useMyDeptGroup: true,
myDeptGroupSeq: -5,
fixedGroupSeqs: [-5],
useTimerRoom: false,
timerRoomDefaultInterval: 24 * 60 * 60,
maxChatRoomUser: 300,
masstextLength: 800,
eventRequestInitCount: 30,
eventRequestDefaultCount: 50,
readHereShowMinimumEventCount: 10,
readHereShowMaximumEventCount: 100,
readHereEventRequestCount: 10
}
},
customConfig: {
pw: {
userKey: 'DaesangSSOProject',
isBase64: 'N'
},
appKey: '!@#$DAESANG%^&*'
},
commonApiModuleConfig: {
hostConfig: {
protocol: 'https',
domain: 'messenger.daesang.com',
port: 443
},
urls: commonApiUrls,
acceptableFileExtensions: commonApiacceptableFileExtensions
},
publicApiModuleConfig: {
hostConfig: {
protocol: 'https',
domain: 'messenger.daesang.com',
port: 443
},
urls: publicApiUrls
},
externalApiModuleConfig: {
hostConfig: {
protocol: 'https',
domain: 'messenger.daesang.com',
port: 443
},
urls: externalApiUrls
},
messageApiModuleConfig: {
hostConfig: {
protocol: 'https',
domain: 'messenger.daesang.com',
port: 9097
},
urls: messageApiUrls
},
promptApiModuleConfig: {
hostConfig: {
protocol: 'https',
domain: 'messenger.daesang.com',
port: 9097
},
urls: promptUrls
},
piModuleConfig: {
hostConfig: {
protocol: 'https',
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: {}
};