-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MOL-12787][CWH] Add in all profile for book facilities UAT
- Loading branch information
Showing
26 changed files
with
795 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import * as _ from "lodash"; | ||
import { MyInfoComponents, MyInfoSexCode } from "../../domain"; | ||
import { FakeProfile, ProfileArchetype } from "./fake-profile"; | ||
import { BaseProfile } from "./sponsored-children/BaseProfile"; | ||
|
||
const id = "S5823426E"; | ||
const name = ProfileArchetype.MR_CCK_RESIDENT_3; | ||
|
||
export const mrCckResident3: FakeProfile = { | ||
id, | ||
name, | ||
generate: (profileName) => { | ||
profileName = _.isEmpty(profileName) ? name : profileName; | ||
const profile: MyInfoComponents.Schemas.Person = BaseProfile.generate(profileName); | ||
|
||
profile.sex.code = MyInfoSexCode.MALE; | ||
profile.sex.desc = MyInfoSexCode.fn.toEnumDesc(MyInfoSexCode.MALE); | ||
|
||
profile.dob = { | ||
lastupdated: "2024-01-24", | ||
source: "1", | ||
classification: "C", | ||
value: "1958-05-15", | ||
}; | ||
|
||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).unit.value = "275"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).floor.value = "16"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).block.value = "406"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).street.value = "CHOA CHU KANG AVENUE 3"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).postal.value = "680406"; | ||
|
||
return profile; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import * as _ from "lodash"; | ||
import { MyInfoComponents, MyInfoSexCode } from "../../domain"; | ||
import { FakeProfile, ProfileArchetype } from "./fake-profile"; | ||
import { BaseProfile } from "./sponsored-children/BaseProfile"; | ||
|
||
const id = "S4991727I"; | ||
const name = ProfileArchetype.MR_CCK_RESIDENT_4; | ||
|
||
export const mrCckResident4: FakeProfile = { | ||
id, | ||
name, | ||
generate: (profileName) => { | ||
profileName = _.isEmpty(profileName) ? name : profileName; | ||
const profile: MyInfoComponents.Schemas.Person = BaseProfile.generate(profileName); | ||
|
||
profile.sex.code = MyInfoSexCode.MALE; | ||
profile.sex.desc = MyInfoSexCode.fn.toEnumDesc(MyInfoSexCode.MALE); | ||
|
||
profile.dob = { | ||
lastupdated: "2024-01-24", | ||
source: "1", | ||
classification: "C", | ||
value: "1949-01-11", | ||
}; | ||
|
||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).unit.value = "891"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).floor.value = "10"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).block.value = "441A"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).street.value = "BUKIT BATOK WEST AVENUE 8"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).postal.value = "651441"; | ||
|
||
return profile; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import * as _ from "lodash"; | ||
import { MyInfoComponents, MyInfoSexCode } from "../../domain"; | ||
import { FakeProfile, ProfileArchetype } from "./fake-profile"; | ||
import { BaseProfile } from "./sponsored-children/BaseProfile"; | ||
|
||
const id = "S4919079D"; | ||
const name = ProfileArchetype.MR_CCK_RESIDENT_6; | ||
|
||
export const mrCckResident6: FakeProfile = { | ||
id, | ||
name, | ||
generate: (profileName) => { | ||
profileName = _.isEmpty(profileName) ? name : profileName; | ||
const profile: MyInfoComponents.Schemas.Person = BaseProfile.generate(profileName); | ||
|
||
profile.sex.code = MyInfoSexCode.MALE; | ||
profile.sex.desc = MyInfoSexCode.fn.toEnumDesc(MyInfoSexCode.MALE); | ||
|
||
profile.dob = { | ||
lastupdated: "2024-01-24", | ||
source: "1", | ||
classification: "C", | ||
value: "1949-01-11", | ||
}; | ||
|
||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).unit.value = "106"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).floor.value = "12"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).block.value = "803D"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).street.value = "KEAT HONG CLOSE"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).postal.value = "684803"; | ||
|
||
return profile; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import * as _ from "lodash"; | ||
import { MyInfoComponents, MyInfoSexCode } from "../../domain"; | ||
import { FakeProfile, ProfileArchetype } from "./fake-profile"; | ||
import { BaseProfile } from "./sponsored-children/BaseProfile"; | ||
|
||
const id = "S8672262C"; | ||
const name = ProfileArchetype.MR_HBP_RESIDENT_2; | ||
|
||
export const mrHbpResident2: FakeProfile = { | ||
id, | ||
name, | ||
generate: (profileName) => { | ||
profileName = _.isEmpty(profileName) ? name : profileName; | ||
const profile: MyInfoComponents.Schemas.Person = BaseProfile.generate(profileName); | ||
|
||
profile.sex.code = MyInfoSexCode.MALE; | ||
profile.sex.desc = MyInfoSexCode.fn.toEnumDesc(MyInfoSexCode.MALE); | ||
|
||
profile.dob = { | ||
lastupdated: "2024-01-24", | ||
source: "1", | ||
classification: "C", | ||
value: "1986-09-28", | ||
}; | ||
|
||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).unit.value = "161"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).floor.value = "13"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).block.value = "311A"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).street.value = "CLEMENTI AVENUE 4"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).postal.value = "121311"; | ||
|
||
return profile; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import * as _ from "lodash"; | ||
import { MyInfoComponents, MyInfoSexCode } from "../../domain"; | ||
import { FakeProfile, ProfileArchetype } from "./fake-profile"; | ||
import { BaseProfile } from "./sponsored-children/BaseProfile"; | ||
|
||
const id = "S9965211Z"; | ||
const name = ProfileArchetype.MR_MP_RESIDENT_3; | ||
|
||
export const mrMpResident3: FakeProfile = { | ||
id, | ||
name, | ||
generate: (profileName) => { | ||
profileName = _.isEmpty(profileName) ? name : profileName; | ||
const profile: MyInfoComponents.Schemas.Person = BaseProfile.generate(profileName); | ||
|
||
profile.sex.code = MyInfoSexCode.MALE; | ||
profile.sex.desc = MyInfoSexCode.fn.toEnumDesc(MyInfoSexCode.MALE); | ||
|
||
profile.dob = { | ||
lastupdated: "2024-01-24", | ||
source: "1", | ||
classification: "C", | ||
value: "1999-09-21", | ||
}; | ||
|
||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).unit.value = "211"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).floor.value = "10"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).block.value = "60"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).street.value = "CIRCUIT ROAD"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).postal.value = "370060"; | ||
|
||
return profile; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import * as _ from "lodash"; | ||
import { MyInfoComponents, MyInfoSexCode } from "../../domain"; | ||
import { FakeProfile, ProfileArchetype } from "./fake-profile"; | ||
import { BaseProfile } from "./sponsored-children/BaseProfile"; | ||
|
||
const id = "S8993188F"; | ||
const name = ProfileArchetype.MR_NS_RESIDENT_2; | ||
|
||
export const mrNsResident2: FakeProfile = { | ||
id, | ||
name, | ||
generate: (profileName) => { | ||
profileName = _.isEmpty(profileName) ? name : profileName; | ||
const profile: MyInfoComponents.Schemas.Person = BaseProfile.generate(profileName); | ||
|
||
profile.sex.code = MyInfoSexCode.MALE; | ||
profile.sex.desc = MyInfoSexCode.fn.toEnumDesc(MyInfoSexCode.MALE); | ||
|
||
profile.dob = { | ||
lastupdated: "2024-01-24", | ||
source: "1", | ||
classification: "C", | ||
value: "1989-07-23", | ||
}; | ||
|
||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).unit.value = "3549"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).floor.value = "10"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).block.value = "855"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).street.value = "YISHUN RING ROAD"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).postal.value = "760855"; | ||
|
||
return profile; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import * as _ from "lodash"; | ||
import { MyInfoComponents, MyInfoSexCode } from "../../domain"; | ||
import { FakeProfile, ProfileArchetype } from "./fake-profile"; | ||
import { BaseProfile } from "./sponsored-children/BaseProfile"; | ||
|
||
const id = "S7680309I"; | ||
const name = ProfileArchetype.MR_NS_RESIDENT_3; | ||
|
||
export const mrNsResident3: FakeProfile = { | ||
id, | ||
name, | ||
generate: (profileName) => { | ||
profileName = _.isEmpty(profileName) ? name : profileName; | ||
const profile: MyInfoComponents.Schemas.Person = BaseProfile.generate(profileName); | ||
|
||
profile.sex.code = MyInfoSexCode.MALE; | ||
profile.sex.desc = MyInfoSexCode.fn.toEnumDesc(MyInfoSexCode.MALE); | ||
|
||
profile.dob = { | ||
lastupdated: "2024-01-24", | ||
source: "1", | ||
classification: "C", | ||
value: "1976-02-12", | ||
}; | ||
|
||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).unit.value = "229"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).floor.value = "10"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).block.value = "131"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).street.value = "YISHUN STREET 11"; | ||
(profile.regadd as MyInfoComponents.Schemas.DataitemAddressSg).postal.value = "760131"; | ||
|
||
return profile; | ||
}, | ||
}; |
Oops, something went wrong.