-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
e6753d3
commit ea5c08a
Showing
1 changed file
with
134 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,142 @@ | ||
import type { ISystemFields } from './system-fields'; | ||
|
||
export interface IActor { | ||
adres: IActorAdres; | ||
adressen: IActorAdres[]; | ||
afkorting: string; | ||
emails: IEmail[]; | ||
erkenningen: IErkenning[]; | ||
id: number; | ||
uri: string; | ||
ids: IId[]; | ||
info: unknown[]; | ||
naam: string; | ||
omschrijving: string; | ||
opmerkingen: string; | ||
relaties: IRelatie[]; | ||
self: string; | ||
type: { | ||
id: number; | ||
naam: string; | ||
uri: string; | ||
}; | ||
zichtbaarheid: { | ||
id: number; | ||
naam: string; | ||
}; | ||
status: IActorStatus; | ||
systemfields: ISystemFields; | ||
telefoons: ITelefoon[]; | ||
type: IType; | ||
types: string[]; | ||
uri: string; | ||
urls: string[]; | ||
voornaam: string; | ||
zichtbaarheid: IType; | ||
} | ||
|
||
interface IActorAdres { | ||
gemeente: IGemeente; | ||
land: ILand; | ||
postcode: IPostcode; | ||
straat: IStraat; | ||
adres: IAdresregisterAdres; | ||
} | ||
|
||
interface ILand { | ||
code: string; | ||
naam: string; | ||
} | ||
|
||
interface IGemeente { | ||
id?: number; | ||
naam: string; | ||
niscode: string; | ||
provincie?: IProvincie; | ||
} | ||
|
||
interface IPostcode { | ||
nummer: string; | ||
uri: string; | ||
} | ||
|
||
interface IStraat { | ||
id: string; | ||
naam: string; | ||
uri: string; | ||
omschrijving: string; | ||
} | ||
|
||
interface IAdresregisterAdres { | ||
id?: string; | ||
huisnummer?: string; | ||
busnummer?: string; | ||
uri?: string; | ||
} | ||
|
||
interface IProvincie { | ||
This comment has been minimized.
Sorry, something went wrong. |
||
niscode: string; | ||
naam: string; | ||
voornaam: string; | ||
status: { | ||
id: number; | ||
status: string; | ||
}; | ||
systemfields: ISystemFields; | ||
gewest: IGewest; | ||
} | ||
|
||
interface IGewest { | ||
naam: string; | ||
niscode: string; | ||
} | ||
|
||
interface IEmail { | ||
email: string; | ||
type: IType; | ||
} | ||
|
||
interface IType { | ||
id: number; | ||
naam: string; | ||
uri?: string; | ||
} | ||
|
||
interface IErkenning { | ||
erkend_als: string; | ||
erkend_voor: string; | ||
erkenningsnummer: string; | ||
geldigheid: string; | ||
id: number; | ||
omschrijving: string; | ||
reden_erkenning: IRedenErkenning; | ||
type: string; | ||
type_erkenning_id: number; | ||
uri: string; | ||
} | ||
|
||
interface IRedenErkenning { | ||
id: number; | ||
reden_erkenning: string; | ||
} | ||
|
||
interface IId { | ||
extra_id: string; | ||
This comment has been minimized.
Sorry, something went wrong.
cedrikv
Contributor
|
||
type: IType; | ||
} | ||
|
||
interface IRelatie { | ||
einddatum: string; | ||
id: number; | ||
omschrijving: string; | ||
startdatum: string; | ||
type: IType; | ||
} | ||
|
||
interface IActorStatus { | ||
datum: string; | ||
gebruiker: IActorStatusGebruiker; | ||
opmerkingen: string; | ||
status: IActorStatusStatus; | ||
} | ||
|
||
interface IActorStatusGebruiker { | ||
uri: string; | ||
omschrijving: string; | ||
} | ||
|
||
interface IActorStatusStatus { | ||
id: number; | ||
status: string; | ||
} | ||
|
||
interface ITelefoon { | ||
landcode: string; | ||
nummer: string; | ||
type: IType; | ||
volledig_nummer: string; | ||
} |
hebebn we deze adres interfaces al niet op een andere plaats ook?