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';
|
|
|
|
import { DeviceType } from '@ucap-webmessenger/core';
|
|
|
|
|
|
|
|
export const environment: Environment = {
|
|
|
|
production: false,
|
|
|
|
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-15 19:49:27 +00:00
|
|
|
startBackgroudMode: false,
|
|
|
|
timezone: '+9'
|
|
|
|
},
|
|
|
|
notification: {
|
|
|
|
chatMessage: true
|
|
|
|
}
|
2019-12-18 01:46:42 +00:00
|
|
|
},
|
|
|
|
CommonSetting: {
|
|
|
|
editableProfileImage: false
|
2019-12-13 04:45:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2019-12-15 13:49:35 +00:00
|
|
|
customConfig: {
|
|
|
|
pw: {
|
|
|
|
userKey: 'DaesangSSOProject',
|
|
|
|
isBase64: 'N'
|
|
|
|
},
|
2019-12-16 08:42:49 +00:00
|
|
|
appKey: '!@#$DAESANG%^&*',
|
|
|
|
|
|
|
|
/** 삭제,수정 불가 그룹 Seqs:number[] */
|
|
|
|
fixedGroupSeqs: [-5]
|
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: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: 'messenger.daesang.com',
|
|
|
|
port: 9098
|
|
|
|
},
|
|
|
|
urls: messageApiUrls
|
|
|
|
},
|
|
|
|
|
2019-12-16 08:42:49 +00:00
|
|
|
promptApiModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: 'messenger.daesang.com',
|
|
|
|
port: 9097
|
|
|
|
},
|
|
|
|
urls: promptUrls
|
|
|
|
},
|
|
|
|
|
2019-12-13 04:45:08 +00:00
|
|
|
piModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
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: {}
|
|
|
|
};
|