-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Mhr History Setup * clean up * Lint fix * clean up * removed unused import * fix test serial error
- Loading branch information
1 parent
2a6fb08
commit ba02924
Showing
15 changed files
with
360 additions
and
8 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
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
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
105 changes: 105 additions & 0 deletions
105
ppr-ui/src/interfaces/mhr-api-interfaces/MhrHistoryIF.ts
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,105 @@ | ||
interface Description { | ||
baseInformation?: { | ||
circa?: boolean | ||
make?: string | ||
model?: string | ||
year?: number | ||
} | ||
createDateTime?: string | ||
csaNumber?: string | ||
csaStandard?: string | ||
documentId?: string | ||
documentRegistrationNumber?: string | ||
manufacturer?: string | ||
otherRemarks?: string | ||
rebuiltRemarks?: string | ||
registrationDescription?: string | ||
sectionCount?: number | ||
sections?: Section[] | ||
status?: string | ||
} | ||
|
||
interface Section { | ||
lengthFeet?: number | ||
lengthInches?: number | ||
serialNumber?: string | ||
widthFeet?: number | ||
widthInches?: number | ||
} | ||
|
||
interface Address { | ||
city?: string | ||
country?: string | ||
postalCode?: string | ||
region?: string | ||
street?: string | ||
} | ||
|
||
interface Location { | ||
address?: Address | ||
additionalDescription?: string | ||
createDateTime?: string | ||
documentId?: string | ||
documentRegistrationNumber?: string | ||
endDateTime?: string | ||
endRegistrationDescription?: string | ||
leaveProvince?: boolean | ||
legalDescription?: string | ||
locationId?: number | ||
locationType?: string | ||
pidNumber?: string | ||
registrationDescription?: string | ||
status?: string | ||
taxCertificate?: boolean | ||
} | ||
|
||
interface IndividualName { | ||
first?: string | ||
last?: string | ||
middle?: string | ||
} | ||
|
||
interface Owner { | ||
address?: Address | ||
createDateTime?: string | ||
documentId?: string | ||
documentRegistrationNumber?: string | ||
endDateTime?: string | ||
endRegistrationDescription?: string | ||
groupCount?: number | ||
groupId?: number | ||
groupOwnerCount?: number | ||
groupTenancyType?: string | ||
individualName?: IndividualName | ||
interest?: string | ||
interestDenominator?: number | ||
interestNumerator?: number | ||
ownerId?: number | ||
partyType?: string | ||
phoneNumber?: string | ||
registrationDescription?: string | ||
status?: string | ||
type?: string | ||
} | ||
|
||
interface Registration { | ||
affirmByName?: string | ||
attentionReference?: string | ||
consideration?: string | ||
createDateTime?: string | ||
declaredValue?: number | ||
documentId?: string | ||
documentRegistrationNumber?: string | ||
ownLand?: boolean | ||
registrationDescription?: string | ||
transferDate?: string | ||
} | ||
|
||
export interface MhrHistoryRoIF { | ||
descriptions?: Description[] | ||
locations?: Location[] | ||
mhrNumber: string | ||
owners?: Owner[] | ||
registrations?: Registration[] | ||
statusType: string | ||
} |
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 @@ | ||
export * from './MhrHistoryIF' |
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
Oops, something went wrong.