generated from UK-Export-Finance/nestjs-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
93 additions
and
121 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
56 changes: 56 additions & 0 deletions
56
src/helper-modules/ordnance-survey/dto/get-addresses-response.dto.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,56 @@ | ||
export type GetAddressResponse = { | ||
header: { | ||
uri: string; | ||
query: string; | ||
offset: number; | ||
totalresults: number; | ||
format: string; | ||
dataset: string; | ||
lr: string; | ||
maxresults: number; | ||
epoch: string; | ||
lastupdate: string; | ||
output_srs: string; | ||
}; | ||
results?: GetAddressResponseItem[]; | ||
}; | ||
|
||
interface GetAddressResponseItem { | ||
DPA: GetAddressResponseAddress; | ||
} | ||
|
||
interface GetAddressResponseAddress { | ||
UPRN: string; | ||
UDPRN: string; | ||
ADDRESS: string; | ||
BUILDING_NAME?: string; | ||
BUILDING_NUMBER?: string; | ||
ORGANISATION_NAME?: string; | ||
DEPENDENT_LOCALITY?: string; | ||
THOROUGHFARE_NAME: string; | ||
POST_TOWN: string; | ||
POSTCODE: string; | ||
RPC: string; | ||
X_COORDINATE: number; | ||
Y_COORDINATE: number; | ||
STATUS: string; | ||
LOGICAL_STATUS_CODE: string; | ||
CLASSIFICATION_CODE: string; | ||
CLASSIFICATION_CODE_DESCRIPTION: string; | ||
LOCAL_CUSTODIAN_CODE: number; | ||
LOCAL_CUSTODIAN_CODE_DESCRIPTION: string; | ||
COUNTRY_CODE: string; | ||
COUNTRY_CODE_DESCRIPTION: string; | ||
POSTAL_ADDRESS_CODE: string; | ||
POSTAL_ADDRESS_CODE_DESCRIPTION: string; | ||
BLPU_STATE_CODE: string; | ||
BLPU_STATE_CODE_DESCRIPTION: string; | ||
TOPOGRAPHY_LAYER_TOID: string; | ||
LAST_UPDATE_DATE: string; | ||
ENTRY_DATE: string; | ||
BLPU_STATE_DATE: string; | ||
LANGUAGE: string; | ||
MATCH: number; | ||
MATCH_DESCRIPTION: string; | ||
DELIVERY_POINT_SUFFIX: string; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ordnance-survey/ordnance-survey.module.ts → ...ordnance-survey/ordnance-survey.module.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
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
File renamed without changes.
90 changes: 0 additions & 90 deletions
90
src/helper_modules/ordnance-survey/dto/get-addresses-response.dto.ts
This file was deleted.
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
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