Skip to content

Commit

Permalink
🐛 fix: 근로계약서 미리보기 관련 api 명세 변경 적용 #127
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMirror21 committed Nov 24, 2024
1 parent 3db5948 commit 096fba0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/constants/documents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,14 @@ export const LaborContractEmployerInfoNameMap = {
name: 'Company name',
key: 'company_name',
},
[LaborContractEmployerInfoProperty.COMPANY_REGISTRATION_NUMBER]: {
name: 'Company Registration Number',
key: 'company_registration_number',
},
[LaborContractEmployerInfoProperty.PHONE_NUMBER]: {
name: 'Company Phone Number',
key: 'phone_number',
},
[LaborContractEmployerInfoProperty.NAME]: {
name: 'Representative name',
key: 'name',
Expand Down
2 changes: 2 additions & 0 deletions src/types/api/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ export type LaborContractEmployerInfo = {
// 근로계약서 고용주 정보 속성명 enum
export enum LaborContractEmployerInfoProperty {
COMPANY_NAME = 'company_name',
COMPANY_REGISTRATION_NUMBER = 'company_registration_number',
NAME = 'name',
PHONE_NUMBER = 'phone_number',
START_DATE = 'start_date', // yyyy-MM-dd format
END_DATE = 'end_date', // yyyy-MM-dd format
ADDRESS = 'address',
Expand Down

0 comments on commit 096fba0

Please sign in to comment.