2019-12-13 04:45:08 +00:00
|
|
|
import {
|
|
|
|
Environment,
|
|
|
|
commonApiUrls,
|
|
|
|
commonApiacceptableFileExtensions,
|
|
|
|
publicApiUrls,
|
|
|
|
externalApiUrls,
|
|
|
|
piUrls,
|
|
|
|
protocolUrls,
|
|
|
|
messageApiUrls
|
|
|
|
} from './environment.type';
|
|
|
|
import { DeviceType } from '@ucap-webmessenger/core';
|
|
|
|
|
|
|
|
export const environment: Environment = {
|
|
|
|
production: false,
|
|
|
|
title: `DS Talk`,
|
|
|
|
|
|
|
|
companyConfig: {
|
|
|
|
companyGroupCode: 'LG'
|
|
|
|
},
|
|
|
|
|
|
|
|
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,
|
|
|
|
autoStart: true,
|
|
|
|
continueRunWhenClose: true,
|
|
|
|
locale: 'ko',
|
|
|
|
startBackgroudMode: false,
|
|
|
|
timezone: '+9'
|
|
|
|
},
|
|
|
|
notification: {
|
|
|
|
chatMessage: true
|
|
|
|
}
|
2019-12-13 04:45:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2019-12-15 13:49:35 +00:00
|
|
|
customConfig: {
|
|
|
|
pw: {
|
|
|
|
userKey: 'DaesangSSOProject',
|
|
|
|
isBase64: 'N'
|
|
|
|
},
|
|
|
|
appKey: '!@#$DAESANG%^&*'
|
|
|
|
},
|
|
|
|
|
2019-12-13 04:45:08 +00:00
|
|
|
commonApiModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: 'messenger.daesang.com',
|
|
|
|
port: 8011
|
|
|
|
},
|
|
|
|
urls: commonApiUrls,
|
|
|
|
acceptableFileExtensions: commonApiacceptableFileExtensions
|
|
|
|
},
|
|
|
|
|
|
|
|
publicApiModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: 'messenger.daesang.com',
|
|
|
|
port: 8011
|
|
|
|
},
|
|
|
|
urls: publicApiUrls
|
|
|
|
},
|
|
|
|
|
|
|
|
externalApiModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: 'messenger.daesang.com',
|
|
|
|
port: 8011
|
|
|
|
},
|
|
|
|
urls: externalApiUrls
|
|
|
|
},
|
|
|
|
|
|
|
|
messageApiModuleConfig: {
|
|
|
|
hostConfig: {
|
|
|
|
protocol: 'http',
|
|
|
|
domain: 'messenger.daesang.com',
|
|
|
|
port: 9098
|
|
|
|
},
|
|
|
|
urls: messageApiUrls
|
|
|
|
},
|
|
|
|
|
|
|
|
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: {}
|
|
|
|
};
|