@luomus/laji-schema 2.0.92 → 2.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/classes/Enums.js +2428 -2244
- package/dist/dto/Annotation.dto.ts +12 -12
- package/dist/dto/Area.dto.ts +2 -2
- package/dist/dto/Audio.dto.ts +12 -12
- package/dist/dto/BirdSongRecognitionSkillLevel.dto.ts +2 -2
- package/dist/dto/Collection.dto.ts +16 -16
- package/dist/dto/CompleteList.dto.ts +2 -2
- package/dist/dto/Dataset.dto.ts +2 -2
- package/dist/dto/Document.dto.ts +12 -12
- package/dist/dto/Endangerment.dto.ts +2 -2
- package/dist/dto/Enums.dto.ts +331 -158
- package/dist/dto/Event.dto.ts +4 -4
- package/dist/dto/Form.dto.ts +5 -5
- package/dist/dto/FormOptions.dto.ts +8 -8
- package/dist/dto/FormPermissionSingle.dto.ts +2 -2
- package/dist/dto/Gathering.dto.ts +28 -28
- package/dist/dto/GatheringEvent.dto.ts +8 -8
- package/dist/dto/GatheringFact.dto.ts +41 -41
- package/dist/dto/Habitat.dto.ts +4 -4
- package/dist/dto/Identification.dto.ts +10 -10
- package/dist/dto/Image.dto.ts +14 -14
- package/dist/dto/Individual.dto.ts +2 -2
- package/dist/dto/InformationSystem.dto.ts +6 -6
- package/dist/dto/IucnRedListEvaluation.dto.ts +22 -22
- package/dist/dto/Model.dto.ts +12 -12
- package/dist/dto/NamedPlace.dto.ts +6 -6
- package/dist/dto/News.dto.ts +2 -2
- package/dist/dto/Notification.dto.ts +2 -2
- package/dist/dto/Occurrence.dto.ts +2 -2
- package/dist/dto/Organization.dto.ts +2 -2
- package/dist/dto/Pdf.dto.ts +4 -4
- package/dist/dto/Permit.dto.ts +4 -4
- package/dist/dto/Person.dto.ts +6 -6
- package/dist/dto/Preparation.dto.ts +4 -4
- package/dist/dto/Profile.dto.ts +4 -4
- package/dist/dto/RegionalStatus.dto.ts +2 -2
- package/dist/dto/Sample.dto.ts +16 -16
- package/dist/dto/SpecimenTransaction.dto.ts +14 -14
- package/dist/dto/SpecimenTransactionEvent.dto.ts +2 -2
- package/dist/dto/SubUnit.dto.ts +2 -2
- package/dist/dto/Tag.dto.ts +5 -5
- package/dist/dto/Taxon.dto.ts +27 -27
- package/dist/dto/TaxonCensus.dto.ts +4 -4
- package/dist/dto/TaxonInteraction.dto.ts +5 -5
- package/dist/dto/Transaction.dto.ts +16 -16
- package/dist/dto/TransactionEvent.dto.ts +4 -4
- package/dist/dto/TransactionItem.dto.ts +4 -4
- package/dist/dto/TypeSpecimen.dto.ts +6 -6
- package/dist/dto/Unit.dto.ts +67 -67
- package/dist/dto/UnitFact.dto.ts +20 -20
- package/dist/dto/Video.dto.ts +12 -12
- package/dist/esm/classes/Enums.js +2424 -2240
- package/dist/types/classes/Annotation.d.ts +12 -12
- package/dist/types/classes/Area.d.ts +2 -2
- package/dist/types/classes/Audio.d.ts +12 -12
- package/dist/types/classes/BirdSongRecognitionSkillLevel.d.ts +2 -2
- package/dist/types/classes/Collection.d.ts +16 -16
- package/dist/types/classes/CompleteList.d.ts +2 -2
- package/dist/types/classes/Dataset.d.ts +2 -2
- package/dist/types/classes/Document.d.ts +12 -12
- package/dist/types/classes/Endangerment.d.ts +2 -2
- package/dist/types/classes/Enums.d.ts +331 -158
- package/dist/types/classes/Event.d.ts +4 -4
- package/dist/types/classes/Form.d.ts +5 -5
- package/dist/types/classes/FormOptions.d.ts +8 -8
- package/dist/types/classes/FormPermissionSingle.d.ts +2 -2
- package/dist/types/classes/Gathering.d.ts +28 -28
- package/dist/types/classes/GatheringEvent.d.ts +8 -8
- package/dist/types/classes/GatheringFact.d.ts +41 -41
- package/dist/types/classes/Habitat.d.ts +4 -4
- package/dist/types/classes/Identification.d.ts +10 -10
- package/dist/types/classes/Image.d.ts +14 -14
- package/dist/types/classes/Individual.d.ts +2 -2
- package/dist/types/classes/InformationSystem.d.ts +6 -6
- package/dist/types/classes/IucnRedListEvaluation.d.ts +22 -22
- package/dist/types/classes/Model.d.ts +12 -12
- package/dist/types/classes/NamedPlace.d.ts +6 -6
- package/dist/types/classes/News.d.ts +2 -2
- package/dist/types/classes/Notification.d.ts +2 -2
- package/dist/types/classes/Occurrence.d.ts +2 -2
- package/dist/types/classes/Organization.d.ts +2 -2
- package/dist/types/classes/Pdf.d.ts +4 -4
- package/dist/types/classes/Permit.d.ts +4 -4
- package/dist/types/classes/Person.d.ts +6 -6
- package/dist/types/classes/Preparation.d.ts +4 -4
- package/dist/types/classes/Profile.d.ts +4 -4
- package/dist/types/classes/RegionalStatus.d.ts +2 -2
- package/dist/types/classes/Sample.d.ts +16 -16
- package/dist/types/classes/SpecimenTransaction.d.ts +14 -14
- package/dist/types/classes/SpecimenTransactionEvent.d.ts +2 -2
- package/dist/types/classes/SubUnit.d.ts +2 -2
- package/dist/types/classes/Tag.d.ts +5 -5
- package/dist/types/classes/Taxon.d.ts +27 -27
- package/dist/types/classes/TaxonCensus.d.ts +4 -4
- package/dist/types/classes/TaxonInteraction.d.ts +5 -5
- package/dist/types/classes/Transaction.d.ts +16 -16
- package/dist/types/classes/TransactionEvent.d.ts +4 -4
- package/dist/types/classes/TransactionItem.d.ts +4 -4
- package/dist/types/classes/TypeSpecimen.d.ts +6 -6
- package/dist/types/classes/Unit.d.ts +67 -67
- package/dist/types/classes/UnitFact.d.ts +20 -20
- package/dist/types/classes/Video.d.ts +12 -12
- package/dist/types/models/Annotation.d.ts +12 -12
- package/dist/types/models/Area.d.ts +2 -2
- package/dist/types/models/Audio.d.ts +12 -12
- package/dist/types/models/BirdSongRecognitionSkillLevel.d.ts +2 -2
- package/dist/types/models/Collection.d.ts +16 -16
- package/dist/types/models/CompleteList.d.ts +2 -2
- package/dist/types/models/Dataset.d.ts +2 -2
- package/dist/types/models/Document.d.ts +12 -12
- package/dist/types/models/Endangerment.d.ts +2 -2
- package/dist/types/models/Enums.d.ts +169 -158
- package/dist/types/models/Event.d.ts +4 -4
- package/dist/types/models/Form.d.ts +5 -5
- package/dist/types/models/FormOptions.d.ts +8 -8
- package/dist/types/models/FormPermissionSingle.d.ts +2 -2
- package/dist/types/models/Gathering.d.ts +28 -28
- package/dist/types/models/GatheringEvent.d.ts +8 -8
- package/dist/types/models/GatheringFact.d.ts +41 -41
- package/dist/types/models/Habitat.d.ts +4 -4
- package/dist/types/models/Identification.d.ts +10 -10
- package/dist/types/models/Image.d.ts +14 -14
- package/dist/types/models/Individual.d.ts +2 -2
- package/dist/types/models/InformationSystem.d.ts +6 -6
- package/dist/types/models/IucnRedListEvaluation.d.ts +22 -22
- package/dist/types/models/Model.d.ts +12 -12
- package/dist/types/models/NamedPlace.d.ts +6 -6
- package/dist/types/models/News.d.ts +2 -2
- package/dist/types/models/Notification.d.ts +2 -2
- package/dist/types/models/Occurrence.d.ts +2 -2
- package/dist/types/models/Organization.d.ts +2 -2
- package/dist/types/models/Pdf.d.ts +4 -4
- package/dist/types/models/Permit.d.ts +4 -4
- package/dist/types/models/Person.d.ts +6 -6
- package/dist/types/models/Preparation.d.ts +4 -4
- package/dist/types/models/Profile.d.ts +4 -4
- package/dist/types/models/RegionalStatus.d.ts +2 -2
- package/dist/types/models/Sample.d.ts +16 -16
- package/dist/types/models/SpecimenTransaction.d.ts +14 -14
- package/dist/types/models/SpecimenTransactionEvent.d.ts +2 -2
- package/dist/types/models/SubUnit.d.ts +2 -2
- package/dist/types/models/Tag.d.ts +5 -5
- package/dist/types/models/Taxon.d.ts +27 -27
- package/dist/types/models/TaxonCensus.d.ts +4 -4
- package/dist/types/models/TaxonInteraction.d.ts +5 -5
- package/dist/types/models/Transaction.d.ts +16 -16
- package/dist/types/models/TransactionEvent.d.ts +4 -4
- package/dist/types/models/TransactionItem.d.ts +4 -4
- package/dist/types/models/TypeSpecimen.d.ts +6 -6
- package/dist/types/models/Unit.d.ts +67 -67
- package/dist/types/models/UnitFact.d.ts +20 -20
- package/dist/types/models/Video.d.ts +12 -12
- package/package.json +1 -1
package/dist/dto/Taxon.dto.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { HBEInvasiveSpeciesMainGroups } from './index.dto';
|
|
2
|
+
import { MXSecureLevels } from './index.dto';
|
|
3
|
+
import { MXAdminStatusEnum } from './index.dto';
|
|
4
|
+
import { MXInvasiveSpeciesCategories } from './index.dto';
|
|
5
|
+
import { MXInvasiveSpeciesEstablishmentStatuses } from './index.dto';
|
|
6
|
+
import { MXTaxonSetEnum } from './index.dto';
|
|
7
|
+
import { MXOccurrenceInFinlandEnum } from './index.dto';
|
|
8
|
+
import { MXIucnStatuses } from './index.dto';
|
|
9
|
+
import { MXTaxonRankEnum } from './index.dto';
|
|
10
|
+
import { MXTypeOfOccurrenceEnum } from './index.dto';
|
|
11
11
|
|
|
12
12
|
/* tslint:disable */
|
|
13
13
|
/*
|
|
@@ -20,7 +20,7 @@ export class Taxon {
|
|
|
20
20
|
id?: string;
|
|
21
21
|
"@type"?: string;
|
|
22
22
|
"herbo:sortOrder"?: number;
|
|
23
|
-
invasiveSpeciesMainGroup?:
|
|
23
|
+
invasiveSpeciesMainGroup?: HBEInvasiveSpeciesMainGroups[];
|
|
24
24
|
/**
|
|
25
25
|
* <p>Lisämerkinnät:</p>
|
|
26
26
|
* <ul>
|
|
@@ -64,7 +64,7 @@ export class Taxon {
|
|
|
64
64
|
*/
|
|
65
65
|
behaviour?: string;
|
|
66
66
|
birdlifeCode?: string;
|
|
67
|
-
breedingSecureLevel?:
|
|
67
|
+
breedingSecureLevel?: MXSecureLevels;
|
|
68
68
|
circumscription?: string;
|
|
69
69
|
/**
|
|
70
70
|
* Informal but commonly used name. Name that is outdated, unofficial or non-recommended, but which is still commonly used for this taxon.
|
|
@@ -149,7 +149,7 @@ export class Taxon {
|
|
|
149
149
|
* Lajin kasvialusta
|
|
150
150
|
*/
|
|
151
151
|
habitatSubstrate?: string;
|
|
152
|
-
hasAdminStatus?:
|
|
152
|
+
hasAdminStatus?: MXAdminStatusEnum[];
|
|
153
153
|
hasAlternativeName?: string[];
|
|
154
154
|
hasBasionym?: string[];
|
|
155
155
|
hasHeterotypicSynonym?: string[];
|
|
@@ -170,13 +170,13 @@ export class Taxon {
|
|
|
170
170
|
invasiveCitizenActionsText?: string;
|
|
171
171
|
invasiveEffectText?: string;
|
|
172
172
|
invasivePreventionMethodsText?: string;
|
|
173
|
-
invasiveSpeciesCategory?:
|
|
173
|
+
invasiveSpeciesCategory?: MXInvasiveSpeciesCategories;
|
|
174
174
|
invasiveSpeciesClassificationDescription?: string;
|
|
175
175
|
invasiveSpeciesEarlyWarning?: boolean;
|
|
176
|
-
invasiveSpeciesEstablishment?:
|
|
176
|
+
invasiveSpeciesEstablishment?: MXInvasiveSpeciesEstablishmentStatuses;
|
|
177
177
|
isPartOf?: string;
|
|
178
178
|
isPartOfInformalTaxonGroup?: string[];
|
|
179
|
-
isPartOfSet?:
|
|
179
|
+
isPartOfSet?: MXTaxonSetEnum[];
|
|
180
180
|
/**
|
|
181
181
|
* Eliön elinkierto
|
|
182
182
|
*/
|
|
@@ -186,8 +186,8 @@ export class Taxon {
|
|
|
186
186
|
nameAccordingTo?: string;
|
|
187
187
|
nameDecidedBy?: string;
|
|
188
188
|
nameDecidedDate?: string;
|
|
189
|
-
naturaAreaSecureLevel?:
|
|
190
|
-
nestSiteSecureLevel?:
|
|
189
|
+
naturaAreaSecureLevel?: MXSecureLevels;
|
|
190
|
+
nestSiteSecureLevel?: MXSecureLevels;
|
|
191
191
|
notes?: string;
|
|
192
192
|
/**
|
|
193
193
|
* Names not recommended and no longer (for a long time) commonly used. (For example, names used in the literature in the 20th century, or names transferred to another taxon.
|
|
@@ -197,7 +197,7 @@ export class Taxon {
|
|
|
197
197
|
fi?: string[];
|
|
198
198
|
sv?: string[];
|
|
199
199
|
};
|
|
200
|
-
occurrenceInFinland?:
|
|
200
|
+
occurrenceInFinland?: MXOccurrenceInFinlandEnum;
|
|
201
201
|
occurrenceInFinlandPublication?: string[];
|
|
202
202
|
occurrenceInFinlandSpecimenURI?: string;
|
|
203
203
|
originAndDistributionText?: string;
|
|
@@ -206,10 +206,10 @@ export class Taxon {
|
|
|
206
206
|
overridingTargetName?: string[];
|
|
207
207
|
privateNotes?: string;
|
|
208
208
|
productionText?: string;
|
|
209
|
-
redListStatus2000Finland?:
|
|
210
|
-
redListStatus2010Finland?:
|
|
211
|
-
redListStatus2015Finland?:
|
|
212
|
-
redListStatus2019Finland?:
|
|
209
|
+
redListStatus2000Finland?: MXIucnStatuses;
|
|
210
|
+
redListStatus2010Finland?: MXIucnStatuses;
|
|
211
|
+
redListStatus2015Finland?: MXIucnStatuses;
|
|
212
|
+
redListStatus2019Finland?: MXIucnStatuses;
|
|
213
213
|
reproduction?: string;
|
|
214
214
|
/**
|
|
215
215
|
* Kukinta-aika
|
|
@@ -224,7 +224,7 @@ export class Taxon {
|
|
|
224
224
|
/**
|
|
225
225
|
* Secure level (salaus-/karkeistustaso) for the data
|
|
226
226
|
*/
|
|
227
|
-
secureLevel?:
|
|
227
|
+
secureLevel?: MXSecureLevels;
|
|
228
228
|
speciesCardAuthors?: string;
|
|
229
229
|
stopInformalTaxonGroupInheritance?: boolean;
|
|
230
230
|
stopOccurrenceInFinlandPublicationInheritance?: boolean;
|
|
@@ -232,10 +232,10 @@ export class Taxon {
|
|
|
232
232
|
targetName?: string[];
|
|
233
233
|
taxonEditor?: string[];
|
|
234
234
|
taxonExpert?: string[];
|
|
235
|
-
taxonRank?:
|
|
235
|
+
taxonRank?: MXTaxonRankEnum;
|
|
236
236
|
taxonomyText?: string;
|
|
237
237
|
tradeName?: string[];
|
|
238
|
-
typeOfOccurrenceInFinland?:
|
|
238
|
+
typeOfOccurrenceInFinland?: MXTypeOfOccurrenceEnum[];
|
|
239
239
|
typeOfOccurrenceInFinlandNotes?: string;
|
|
240
240
|
typeSpecimenURI?: string;
|
|
241
241
|
/**
|
|
@@ -246,7 +246,7 @@ export class Taxon {
|
|
|
246
246
|
fi?: string;
|
|
247
247
|
sv?: string;
|
|
248
248
|
};
|
|
249
|
-
winteringSecureLevel?:
|
|
249
|
+
winteringSecureLevel?: MXSecureLevels;
|
|
250
250
|
createdAtTimestamp?: string;
|
|
251
251
|
sortOrder?: number;
|
|
252
252
|
"skos:exactMatch"?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { MXTaxonSetEnum } from './index.dto';
|
|
2
|
+
import { MYTaxonCensusEnum } from './index.dto';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/*
|
|
@@ -12,6 +12,6 @@ export class TaxonCensus {
|
|
|
12
12
|
id?: string;
|
|
13
13
|
"@type"?: string;
|
|
14
14
|
censusTaxonID?: string;
|
|
15
|
-
censusTaxonSetID?:
|
|
16
|
-
taxonCensusType:
|
|
15
|
+
censusTaxonSetID?: MXTaxonSetEnum;
|
|
16
|
+
taxonCensusType: MYTaxonCensusEnum;
|
|
17
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { MITaxonInteractionEnum } from './index.dto';
|
|
2
|
+
import { MYLifeStages } from './index.dto';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/*
|
|
@@ -11,10 +11,10 @@ export class TaxonInteraction {
|
|
|
11
11
|
"@context"?: string;
|
|
12
12
|
id?: string;
|
|
13
13
|
"@type"?: string;
|
|
14
|
-
interactionType:
|
|
15
|
-
objectLifeStage?:
|
|
14
|
+
interactionType: MITaxonInteractionEnum;
|
|
15
|
+
objectLifeStage?: MYLifeStages;
|
|
16
16
|
objectTaxon: string;
|
|
17
17
|
originalPublication?: string[];
|
|
18
|
-
subjectLifeStage?:
|
|
18
|
+
subjectLifeStage?: MYLifeStages;
|
|
19
19
|
subjectTaxon: string;
|
|
20
20
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { HRAAvailableForGeneticResearchEnum } from './index.dto';
|
|
2
|
+
import { HRAGeneticResourceTypeEnum } from './index.dto';
|
|
3
|
+
import { HRALocalDepartments } from './index.dto';
|
|
4
|
+
import { HRAResourceImportedEnum } from './index.dto';
|
|
5
|
+
import { HRASentTypes } from './index.dto';
|
|
6
|
+
import { HRATransactionStatuses } from './index.dto';
|
|
7
|
+
import { HRATransactionTypes } from './index.dto';
|
|
8
|
+
import { MZPublicityRestrictionsEnum } from './index.dto';
|
|
9
9
|
import { Permit } from './index.dto';
|
|
10
10
|
|
|
11
11
|
/* tslint:disable */
|
|
@@ -25,7 +25,7 @@ export class Transaction {
|
|
|
25
25
|
/**
|
|
26
26
|
* If you choose "Yes, with restrictions", explain the restrictions in the following field "Rights and obligations".
|
|
27
27
|
*/
|
|
28
|
-
availableForGeneticResearch?:
|
|
28
|
+
availableForGeneticResearch?: HRAAvailableForGeneticResearchEnum;
|
|
29
29
|
availableForGeneticResearchNotes?: string;
|
|
30
30
|
away?: string[];
|
|
31
31
|
/**
|
|
@@ -76,7 +76,7 @@ export class Transaction {
|
|
|
76
76
|
/**
|
|
77
77
|
* Choose the type of the genetic resource for statistical and reporting purposes.
|
|
78
78
|
*/
|
|
79
|
-
geneticResourceType?:
|
|
79
|
+
geneticResourceType?: HRAGeneticResourceTypeEnum;
|
|
80
80
|
/**
|
|
81
81
|
* Whether the resource has an IRCC number or not. If not, more information needs to be filled in.
|
|
82
82
|
*/
|
|
@@ -93,7 +93,7 @@ export class Transaction {
|
|
|
93
93
|
/**
|
|
94
94
|
* Responsible team in our museum.
|
|
95
95
|
*/
|
|
96
|
-
localDepartment?:
|
|
96
|
+
localDepartment?: HRALocalDepartments;
|
|
97
97
|
/**
|
|
98
98
|
* Responsible person in our museum.
|
|
99
99
|
*/
|
|
@@ -134,7 +134,7 @@ export class Transaction {
|
|
|
134
134
|
/**
|
|
135
135
|
* Are you importing genetic resources, traditional knowledge associated to genetic resources or both?
|
|
136
136
|
*/
|
|
137
|
-
resourceImported?:
|
|
137
|
+
resourceImported?: HRAResourceImportedEnum;
|
|
138
138
|
returned?: string[];
|
|
139
139
|
/**
|
|
140
140
|
* In how many parcels was the transaction sent
|
|
@@ -147,7 +147,7 @@ export class Transaction {
|
|
|
147
147
|
/**
|
|
148
148
|
* Means of sending, mail, courier etc.
|
|
149
149
|
*/
|
|
150
|
-
sentType?:
|
|
150
|
+
sentType?: HRASentTypes;
|
|
151
151
|
/**
|
|
152
152
|
* When loan request, loan, gift or exchange was received here.
|
|
153
153
|
*/
|
|
@@ -163,11 +163,11 @@ export class Transaction {
|
|
|
163
163
|
/**
|
|
164
164
|
* Whether the transaction is closed, outstanding or in process.
|
|
165
165
|
*/
|
|
166
|
-
transactionStatus?:
|
|
166
|
+
transactionStatus?: HRATransactionStatuses;
|
|
167
167
|
/**
|
|
168
168
|
* What kind of transaction this is.
|
|
169
169
|
*/
|
|
170
|
-
transactionType:
|
|
170
|
+
transactionType: HRATransactionTypes;
|
|
171
171
|
/**
|
|
172
172
|
* Is it e.g. non-human genetic material that is going to be used for genetic research as is defined by the protocol?
|
|
173
173
|
*/
|
|
@@ -188,6 +188,6 @@ export class Transaction {
|
|
|
188
188
|
/**
|
|
189
189
|
* PUBLIC: all data can be published; PROTECTED: exact locality is hidden (100*100km square); PRIVATE: most of the data is hidden. Empty value means same as public.
|
|
190
190
|
*/
|
|
191
|
-
publicityRestrictions?:
|
|
191
|
+
publicityRestrictions?: MZPublicityRestrictionsEnum;
|
|
192
192
|
permits?: Permit[];
|
|
193
193
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HRAAEventTypeEnum } from './index.dto';
|
|
2
2
|
import { TransactionItem } from './index.dto';
|
|
3
|
-
import {
|
|
3
|
+
import { HRAASentByEnum } from './index.dto';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/*
|
|
@@ -14,9 +14,9 @@ export class TransactionEvent {
|
|
|
14
14
|
"@type"?: string;
|
|
15
15
|
eventDate: string;
|
|
16
16
|
eventHandler: string;
|
|
17
|
-
eventType:
|
|
17
|
+
eventType: HRAAEventTypeEnum;
|
|
18
18
|
items: [TransactionItem, ...TransactionItem[]];
|
|
19
19
|
notes?: string;
|
|
20
20
|
numberOfPackages?: number;
|
|
21
|
-
sentBy?:
|
|
21
|
+
sentBy?: HRAASentByEnum;
|
|
22
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { HRABItemTypeEnum } from './index.dto';
|
|
2
|
+
import { HRABStatusEnum } from './index.dto';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/*
|
|
@@ -15,7 +15,7 @@ export class TransactionItem {
|
|
|
15
15
|
itemCount: number;
|
|
16
16
|
itemID?: string;
|
|
17
17
|
itemLabel?: string;
|
|
18
|
-
itemType:
|
|
18
|
+
itemType: HRABItemTypeEnum;
|
|
19
19
|
notes?: string;
|
|
20
|
-
status:
|
|
20
|
+
status: HRABStatusEnum;
|
|
21
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { MYTypeStatuses } from './index.dto';
|
|
2
|
+
import { MYTypeVerifications } from './index.dto';
|
|
3
|
+
import { MZPublicityRestrictionsEnum } from './index.dto';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/*
|
|
@@ -43,7 +43,7 @@ export class TypeSpecimen {
|
|
|
43
43
|
/**
|
|
44
44
|
* Is this holotype, paratype, syntype etc...
|
|
45
45
|
*/
|
|
46
|
-
typeStatus?:
|
|
46
|
+
typeStatus?: MYTypeStatuses;
|
|
47
47
|
/**
|
|
48
48
|
* Name of the type subspecies
|
|
49
49
|
*/
|
|
@@ -55,7 +55,7 @@ export class TypeSpecimen {
|
|
|
55
55
|
/**
|
|
56
56
|
* Verification whether this really is a type?
|
|
57
57
|
*/
|
|
58
|
-
typeVerification?:
|
|
58
|
+
typeVerification?: MYTypeVerifications;
|
|
59
59
|
/**
|
|
60
60
|
* Name of the person who chose the type, preferably in the format "Lastname, firstname"
|
|
61
61
|
*/
|
|
@@ -67,5 +67,5 @@ export class TypeSpecimen {
|
|
|
67
67
|
/**
|
|
68
68
|
* PUBLIC: all data can be published; PROTECTED: exact locality is hidden (100*100km square); PRIVATE: most of the data is hidden. Empty value means same as public.
|
|
69
69
|
*/
|
|
70
|
-
publicityRestrictions?:
|
|
70
|
+
publicityRestrictions?: MZPublicityRestrictionsEnum;
|
|
71
71
|
}
|
package/dist/dto/Unit.dto.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
1
|
+
import { MYAbundanceUnitEnum } from './index.dto';
|
|
2
|
+
import { MYAtlasCodeEnum } from './index.dto';
|
|
3
|
+
import { MYBatBehaviorEnum } from './index.dto';
|
|
4
|
+
import { MYBirdAgeEnum } from './index.dto';
|
|
5
|
+
import { MYBirdPlumageEnum } from './index.dto';
|
|
6
|
+
import { MYDistanceEnum } from './index.dto';
|
|
7
|
+
import { MYEpochOrSeries } from './index.dto';
|
|
8
|
+
import { MYFruitTypeEnum } from './index.dto';
|
|
9
|
+
import { MYHabitatEnum } from './index.dto';
|
|
10
|
+
import { MYIndirectObservationTypeEnum } from './index.dto';
|
|
11
|
+
import { MYLifeStages } from './index.dto';
|
|
12
12
|
import { Measurement } from './index.dto';
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
13
|
+
import { MYMicrobiologicalRiskGroupEnum } from './index.dto';
|
|
14
|
+
import { MYMovingDirectionEnum } from './index.dto';
|
|
15
|
+
import { MYNativeStatusEnum } from './index.dto';
|
|
16
|
+
import { MYNestTypeEnum } from './index.dto';
|
|
17
|
+
import { MYPlantLifeStageEnum } from './index.dto';
|
|
18
|
+
import { MYPlantStatusCodeEnum } from './index.dto';
|
|
19
|
+
import { MYPreservations } from './index.dto';
|
|
20
|
+
import { MYProvenanceEnum } from './index.dto';
|
|
21
|
+
import { MYRecordBases } from './index.dto';
|
|
22
|
+
import { MYRecordPartsEnum } from './index.dto';
|
|
23
|
+
import { MYSamplingMethods } from './index.dto';
|
|
24
|
+
import { MYSeedMaturityEnum } from './index.dto';
|
|
25
|
+
import { MYSeedMorphologyEnum } from './index.dto';
|
|
26
|
+
import { MYSexes } from './index.dto';
|
|
27
|
+
import { MYSmellEnum } from './index.dto';
|
|
28
|
+
import { MYSubstrateEnum } from './index.dto';
|
|
29
|
+
import { MYSubstrateDecayStageEnum } from './index.dto';
|
|
30
|
+
import { MYSubstrateTreeClassificationEnum } from './index.dto';
|
|
31
|
+
import { MYTasteEnum } from './index.dto';
|
|
32
|
+
import { MYTaxonConfidenceEnum } from './index.dto';
|
|
33
33
|
import { UnitFact } from './index.dto';
|
|
34
34
|
import { UnitGathering } from './index.dto';
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
35
|
+
import { MYWildEnum } from './index.dto';
|
|
36
|
+
import { MZPublicityRestrictionsEnum } from './index.dto';
|
|
37
37
|
import { Identification } from './index.dto';
|
|
38
38
|
import { TypeSpecimen } from './index.dto';
|
|
39
39
|
|
|
@@ -56,7 +56,7 @@ export class Unit {
|
|
|
56
56
|
*/
|
|
57
57
|
DNASampleLocation?: string;
|
|
58
58
|
abundanceString?: string;
|
|
59
|
-
abundanceUnit?:
|
|
59
|
+
abundanceUnit?: MYAbundanceUnitEnum;
|
|
60
60
|
/**
|
|
61
61
|
* Other identifiers this specimen has, in format 'type:identifier'. For example: 'mzhtypes:123' (old MAZ-type number)
|
|
62
62
|
*/
|
|
@@ -73,12 +73,12 @@ export class Unit {
|
|
|
73
73
|
alive?: boolean;
|
|
74
74
|
ankleInMillimeters?: string[];
|
|
75
75
|
areaInSquareMeters?: number;
|
|
76
|
-
atlasCode?:
|
|
77
|
-
batBehavior?:
|
|
76
|
+
atlasCode?: MYAtlasCodeEnum;
|
|
77
|
+
batBehavior?: MYBatBehaviorEnum;
|
|
78
78
|
beakInMillimeters?: string[];
|
|
79
|
-
birdAge?:
|
|
79
|
+
birdAge?: MYBirdAgeEnum;
|
|
80
80
|
birdBehavior?: string[];
|
|
81
|
-
birdPlumage?:
|
|
81
|
+
birdPlumage?: MYBirdPlumageEnum;
|
|
82
82
|
breeding?: boolean;
|
|
83
83
|
broodSize?: number;
|
|
84
84
|
/**
|
|
@@ -98,16 +98,16 @@ export class Unit {
|
|
|
98
98
|
* Estimation of decay stage (lahoaste in Finnish) on the scale of 1 to 5 and/or description
|
|
99
99
|
*/
|
|
100
100
|
decayStage?: string;
|
|
101
|
-
distance?:
|
|
101
|
+
distance?: MYDistanceEnum;
|
|
102
102
|
/**
|
|
103
103
|
* For palaeontological specimens, earliest possible geochronologic epoch or lowest chronostratigraphic series attributable to the stratigraphic horizon from which the specimen was collected
|
|
104
104
|
*/
|
|
105
|
-
earliestEpochOrLowestSeries?:
|
|
105
|
+
earliestEpochOrLowestSeries?: MYEpochOrSeries;
|
|
106
106
|
femaleIndividualCount?: number;
|
|
107
107
|
/**
|
|
108
108
|
* Fruit type of the collected fruits, used for botanical garden accessions/seed bank.
|
|
109
109
|
*/
|
|
110
|
-
fruitType?:
|
|
110
|
+
fruitType?: MYFruitTypeEnum;
|
|
111
111
|
/**
|
|
112
112
|
* Genotype of the microbial strain
|
|
113
113
|
*/
|
|
@@ -125,12 +125,12 @@ export class Unit {
|
|
|
125
125
|
* Microbial culture growth temperature
|
|
126
126
|
*/
|
|
127
127
|
growthTemperature?: string;
|
|
128
|
-
habitat?:
|
|
128
|
+
habitat?: MYHabitatEnum[];
|
|
129
129
|
hasIdentification?: string[];
|
|
130
130
|
hasSubUnit?: string[];
|
|
131
131
|
hostID?: string;
|
|
132
132
|
hostInformalNameString?: string;
|
|
133
|
-
indirectObservationType?:
|
|
133
|
+
indirectObservationType?: MYIndirectObservationTypeEnum;
|
|
134
134
|
individualCount?: number;
|
|
135
135
|
/**
|
|
136
136
|
* Description of the infestation status of the collected seeds, used for botanical garden accessions/seed bank.
|
|
@@ -156,12 +156,12 @@ export class Unit {
|
|
|
156
156
|
/**
|
|
157
157
|
* For palaeontological specimens, latest possible geochronologic epoch or highest chronostratigraphic series attributable to the stratigraphic horizon from which the specimen was collected.
|
|
158
158
|
*/
|
|
159
|
-
latestEpochOrHighestSeries?:
|
|
159
|
+
latestEpochOrHighestSeries?: MYEpochOrSeries;
|
|
160
160
|
lengthInMillimeters?: string[];
|
|
161
161
|
/**
|
|
162
162
|
* Life stage of the specimen. If multiple present, select the one which was present at the time of collecting. Use Life stage description field for extra information.
|
|
163
163
|
*/
|
|
164
|
-
lifeStage?:
|
|
164
|
+
lifeStage?: MYLifeStages;
|
|
165
165
|
/**
|
|
166
166
|
* Free-text notes or addtional information about the life stage. If multiple values present, describe them here.
|
|
167
167
|
*/
|
|
@@ -179,33 +179,33 @@ export class Unit {
|
|
|
179
179
|
/**
|
|
180
180
|
* According to German TRBA August 2015, which is more comprehensive than the EU or Finnish list for bacterial risk groups
|
|
181
181
|
*/
|
|
182
|
-
microbiologicalRiskGroup?:
|
|
182
|
+
microbiologicalRiskGroup?: MYMicrobiologicalRiskGroupEnum;
|
|
183
183
|
/**
|
|
184
184
|
* Microscopic features and measurements, if not recorded separately into measurement fields.
|
|
185
185
|
*/
|
|
186
186
|
microscopy?: string;
|
|
187
|
-
movingDirection?:
|
|
187
|
+
movingDirection?: MYMovingDirectionEnum;
|
|
188
188
|
movingStatus?: string[];
|
|
189
189
|
/**
|
|
190
190
|
* Information on mutant microbial strain.
|
|
191
191
|
*/
|
|
192
192
|
mutant?: string;
|
|
193
|
-
nativeStatus?:
|
|
193
|
+
nativeStatus?: MYNativeStatusEnum;
|
|
194
194
|
nestCount?: number;
|
|
195
195
|
nestNotes?: string;
|
|
196
196
|
nestTreeDiameterInCentimeters?: number;
|
|
197
|
-
nestType?:
|
|
197
|
+
nestType?: MYNestTypeEnum;
|
|
198
198
|
/**
|
|
199
199
|
* Additional information to the data in each section.
|
|
200
200
|
*/
|
|
201
201
|
notes?: string;
|
|
202
202
|
pairCount?: number;
|
|
203
203
|
pairCountOpinion?: number;
|
|
204
|
-
plantLifeStage?:
|
|
204
|
+
plantLifeStage?: MYPlantLifeStageEnum;
|
|
205
205
|
/**
|
|
206
206
|
* Status code for the plant (wild, alien etc.)
|
|
207
207
|
*/
|
|
208
|
-
plantStatusCode?:
|
|
208
|
+
plantStatusCode?: MYPlantStatusCodeEnum;
|
|
209
209
|
/**
|
|
210
210
|
* Abundance of the taxon in the field
|
|
211
211
|
*/
|
|
@@ -217,7 +217,7 @@ export class Unit {
|
|
|
217
217
|
/**
|
|
218
218
|
* Main method of preservation. If parts of the specimen are preserved in different ways, you can choose several methods.
|
|
219
219
|
*/
|
|
220
|
-
preservation?:
|
|
220
|
+
preservation?: MYPreservations[];
|
|
221
221
|
/**
|
|
222
222
|
* Can be used to highlight one unit as primary specimen/observation if there are many in one document. Only one unit per document can be marked as primary.
|
|
223
223
|
*/
|
|
@@ -225,15 +225,15 @@ export class Unit {
|
|
|
225
225
|
/**
|
|
226
226
|
* Origin or source of the garden accession
|
|
227
227
|
*/
|
|
228
|
-
provenance?:
|
|
228
|
+
provenance?: MYProvenanceEnum;
|
|
229
229
|
/**
|
|
230
230
|
* Type of record, most commonly preserved specimen for museum specimens and observation for associated observations ("seuralaislajihavainto").
|
|
231
231
|
*/
|
|
232
|
-
recordBasis?:
|
|
232
|
+
recordBasis?: MYRecordBases;
|
|
233
233
|
/**
|
|
234
234
|
* What parts of the record are / have been in storage.
|
|
235
235
|
*/
|
|
236
|
-
recordParts?:
|
|
236
|
+
recordParts?: MYRecordPartsEnum[];
|
|
237
237
|
/**
|
|
238
238
|
* Bird or bat ring number, code, colour code or such
|
|
239
239
|
*/
|
|
@@ -241,52 +241,52 @@ export class Unit {
|
|
|
241
241
|
/**
|
|
242
242
|
* Main method for (usually intentional) sampling
|
|
243
243
|
*/
|
|
244
|
-
samplingMethod?:
|
|
244
|
+
samplingMethod?: MYSamplingMethods;
|
|
245
245
|
samplingMethodNotes?: string;
|
|
246
246
|
/**
|
|
247
247
|
* Maturity of the collected seeds, used for botanical garden accessions/seed bank.
|
|
248
248
|
*/
|
|
249
|
-
seedMaturity?:
|
|
249
|
+
seedMaturity?: MYSeedMaturityEnum;
|
|
250
250
|
/**
|
|
251
251
|
* Seed morphology of the collected seeds, used for botanical garden accessions/seed bank.
|
|
252
252
|
*/
|
|
253
|
-
seedMorphology?:
|
|
253
|
+
seedMorphology?: MYSeedMorphologyEnum;
|
|
254
254
|
/**
|
|
255
255
|
* Sex of the individual(s)
|
|
256
256
|
*/
|
|
257
|
-
sex?:
|
|
257
|
+
sex?: MYSexes;
|
|
258
258
|
/**
|
|
259
259
|
* E.g. how sex was determined, by whom and when.
|
|
260
260
|
*/
|
|
261
261
|
sexNotes?: string;
|
|
262
262
|
shortHandText?: string;
|
|
263
|
-
smell?:
|
|
263
|
+
smell?: MYSmellEnum;
|
|
264
264
|
smellNotes?: string;
|
|
265
265
|
stratigraphyVerbatim?: string;
|
|
266
|
-
substrateClassification?:
|
|
267
|
-
substrateDecayStage?:
|
|
266
|
+
substrateClassification?: MYSubstrateEnum;
|
|
267
|
+
substrateDecayStage?: MYSubstrateDecayStageEnum;
|
|
268
268
|
substrateNotes?: string;
|
|
269
269
|
substrateSpecies?: string;
|
|
270
270
|
substrateSpeciesID?: string;
|
|
271
271
|
substrateSpeciesInformalNameString?: string;
|
|
272
|
-
substrateTreeClassification?:
|
|
272
|
+
substrateTreeClassification?: MYSubstrateTreeClassificationEnum[];
|
|
273
273
|
tailInMillimeters?: string[];
|
|
274
|
-
taste?:
|
|
274
|
+
taste?: MYTasteEnum;
|
|
275
275
|
tasteNotes?: string;
|
|
276
|
-
taxonConfidence?:
|
|
276
|
+
taxonConfidence?: MYTaxonConfidenceEnum;
|
|
277
277
|
twitched?: boolean;
|
|
278
278
|
unitFact?: UnitFact;
|
|
279
279
|
unitGathering?: UnitGathering;
|
|
280
280
|
unitType?: string[];
|
|
281
281
|
weightInGrams?: string[];
|
|
282
|
-
wild?:
|
|
282
|
+
wild?: MYWildEnum;
|
|
283
283
|
wingInMillimeters?: string[];
|
|
284
284
|
audio?: string[];
|
|
285
285
|
images?: string[];
|
|
286
286
|
/**
|
|
287
287
|
* PUBLIC: all data can be published; PROTECTED: exact locality is hidden (100*100km square); PRIVATE: most of the data is hidden. Empty value means same as public.
|
|
288
288
|
*/
|
|
289
|
-
publicityRestrictions?:
|
|
289
|
+
publicityRestrictions?: MZPublicityRestrictionsEnum;
|
|
290
290
|
identifications?: Identification[];
|
|
291
291
|
typeSpecimens?: TypeSpecimen[];
|
|
292
292
|
}
|