@luomus/laji-schema 2.0.25 → 2.0.27
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/dto/SpecimenTransaction.dto.ts +20 -14
- package/dist/dto/SpecimenTransactionEvent.dto.ts +12 -0
- package/dist/types/classes/SpecimenTransaction.d.ts +20 -14
- package/dist/types/classes/SpecimenTransactionEvent.d.ts +12 -0
- package/dist/types/models/SpecimenTransaction.d.ts +20 -14
- package/dist/types/models/SpecimenTransactionEvent.d.ts +12 -0
- package/package.json +1 -1
|
@@ -82,15 +82,15 @@ export class SpecimenTransaction {
|
|
|
82
82
|
*/
|
|
83
83
|
collectionID?: string;
|
|
84
84
|
/**
|
|
85
|
-
* Select the
|
|
85
|
+
* Select the counterparty organisation from a list. If not found on the list, you need to add the new organisation first.
|
|
86
86
|
*/
|
|
87
87
|
correspondentOrganization?: string;
|
|
88
88
|
/**
|
|
89
|
-
* Name of the
|
|
89
|
+
* Name of the counterparty person. If the transaction goes to a private person, write their postal address here.
|
|
90
90
|
*/
|
|
91
91
|
correspondentPerson?: string;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* For outgoing transactions the receiving researcher in the counterparty organisation.
|
|
94
94
|
*/
|
|
95
95
|
correspondentResearcher?: string;
|
|
96
96
|
damagedCount?: number;
|
|
@@ -100,7 +100,7 @@ export class SpecimenTransaction {
|
|
|
100
100
|
*/
|
|
101
101
|
dueDate?: string;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Counterparty's ID for the transaction.
|
|
104
104
|
*/
|
|
105
105
|
externalID?: string;
|
|
106
106
|
/**
|
|
@@ -108,7 +108,7 @@ export class SpecimenTransaction {
|
|
|
108
108
|
*/
|
|
109
109
|
geneticResourceAcquisitionCountry?: string;
|
|
110
110
|
/**
|
|
111
|
-
* Date when the genetic resource or traditional knowledge was
|
|
111
|
+
* Date when the genetic resource or traditional knowledge was acquired.
|
|
112
112
|
*/
|
|
113
113
|
geneticResourceAcquisitionDate?: string;
|
|
114
114
|
/**
|
|
@@ -127,6 +127,9 @@ export class SpecimenTransaction {
|
|
|
127
127
|
* Choose the type of the genetic resource for statistical and reporting purposes.
|
|
128
128
|
*/
|
|
129
129
|
geneticResourceType?: GeneticResourceTypeEnum;
|
|
130
|
+
/**
|
|
131
|
+
* Harmonized System code for the customs
|
|
132
|
+
*/
|
|
130
133
|
harmonizedSystemCode?: string;
|
|
131
134
|
/**
|
|
132
135
|
* Whether the resource has an IRCC number or not. If not, more information needs to be filled in.
|
|
@@ -141,7 +144,7 @@ export class SpecimenTransaction {
|
|
|
141
144
|
*/
|
|
142
145
|
incomingReturned?: string;
|
|
143
146
|
/**
|
|
144
|
-
* Private remarks that are shown only in Kotka and not to the
|
|
147
|
+
* Private remarks that are shown only in Kotka and not to the counterparty organisation.
|
|
145
148
|
*/
|
|
146
149
|
internalRemarks?: string;
|
|
147
150
|
/**
|
|
@@ -152,9 +155,12 @@ export class SpecimenTransaction {
|
|
|
152
155
|
* Person handling the transaction at local Kotka institution.
|
|
153
156
|
*/
|
|
154
157
|
localHandler?: string;
|
|
158
|
+
/**
|
|
159
|
+
* Contact email for the person handling the transaction in our museum.
|
|
160
|
+
*/
|
|
155
161
|
localHandlerEmail?: string;
|
|
156
162
|
/**
|
|
157
|
-
* Person responsible for the transaction in our museum/local Kotka institution
|
|
163
|
+
* Person responsible for the transaction in our museum/local Kotka institution.
|
|
158
164
|
*/
|
|
159
165
|
localPerson?: string;
|
|
160
166
|
/**
|
|
@@ -162,7 +168,7 @@ export class SpecimenTransaction {
|
|
|
162
168
|
*/
|
|
163
169
|
localPersonEmail?: string;
|
|
164
170
|
/**
|
|
165
|
-
* For incoming
|
|
171
|
+
* For incoming transactions, name of the researcher receiving the loan at our museum/ local Kotka institution.
|
|
166
172
|
*/
|
|
167
173
|
localResearcher?: string;
|
|
168
174
|
/**
|
|
@@ -176,24 +182,24 @@ export class SpecimenTransaction {
|
|
|
176
182
|
*/
|
|
177
183
|
numberOfParcels?: string;
|
|
178
184
|
/**
|
|
179
|
-
* Date when the outgoing loan was returned to us
|
|
185
|
+
* Date when the outgoing loan was returned to us.
|
|
180
186
|
*/
|
|
181
187
|
outgoingReturned?: string;
|
|
182
188
|
/**
|
|
183
|
-
* When the transaction was sent out from us
|
|
189
|
+
* When the ougoing transaction was sent out from us.
|
|
184
190
|
*/
|
|
185
191
|
outgoingSent?: string;
|
|
186
192
|
permits?: Permit[];
|
|
187
193
|
/**
|
|
188
|
-
* Remarks that are shown to both parties of the transaction.
|
|
194
|
+
* Remarks that are shown to both parties of the transaction on transaction PDFs.
|
|
189
195
|
*/
|
|
190
196
|
publicRemarks?: string;
|
|
191
197
|
/**
|
|
192
|
-
* When signed
|
|
198
|
+
* When signed transaction receipt was received (outgoing) or sent (incoming).
|
|
193
199
|
*/
|
|
194
200
|
receiptReturned?: string;
|
|
195
201
|
/**
|
|
196
|
-
* When
|
|
202
|
+
* When transaction request was received here.
|
|
197
203
|
*/
|
|
198
204
|
requestReceived?: string;
|
|
199
205
|
/**
|
|
@@ -203,7 +209,7 @@ export class SpecimenTransaction {
|
|
|
203
209
|
returnedCount?: number;
|
|
204
210
|
returnedIDs?: string[];
|
|
205
211
|
/**
|
|
206
|
-
* Whether the transaction is closed, outstanding or
|
|
212
|
+
* Whether the transaction is closed, outstanding, in process or still on loan..
|
|
207
213
|
*/
|
|
208
214
|
status?: StatusEnum;
|
|
209
215
|
transactionEvents?: SpecimenTransactionEvent[];
|
|
@@ -12,8 +12,20 @@ export class SpecimenTransactionEvent {
|
|
|
12
12
|
"@context"?: string;
|
|
13
13
|
id?: string;
|
|
14
14
|
"@type"?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Date when the transaction event occurred.
|
|
17
|
+
*/
|
|
15
18
|
eventDate: string;
|
|
19
|
+
/**
|
|
20
|
+
* Name of the person who handled the transaction event.
|
|
21
|
+
*/
|
|
16
22
|
eventHandler: string;
|
|
23
|
+
/**
|
|
24
|
+
* More information about the transactions event. You can e.g. list the specimens included in the event in this field.
|
|
25
|
+
*/
|
|
17
26
|
eventNotes: string;
|
|
27
|
+
/**
|
|
28
|
+
* Type of the transaction event. Return for e.g. partial returns and addition e.g. for when more specimens are added to the transaction later.
|
|
29
|
+
*/
|
|
18
30
|
eventType: EventTypeEnum;
|
|
19
31
|
}
|
|
@@ -76,15 +76,15 @@ export declare class SpecimenTransaction {
|
|
|
76
76
|
*/
|
|
77
77
|
collectionID?: string;
|
|
78
78
|
/**
|
|
79
|
-
* Select the
|
|
79
|
+
* Select the counterparty organisation from a list. If not found on the list, you need to add the new organisation first.
|
|
80
80
|
*/
|
|
81
81
|
correspondentOrganization?: string;
|
|
82
82
|
/**
|
|
83
|
-
* Name of the
|
|
83
|
+
* Name of the counterparty person. If the transaction goes to a private person, write their postal address here.
|
|
84
84
|
*/
|
|
85
85
|
correspondentPerson?: string;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* For outgoing transactions the receiving researcher in the counterparty organisation.
|
|
88
88
|
*/
|
|
89
89
|
correspondentResearcher?: string;
|
|
90
90
|
damagedCount?: number;
|
|
@@ -94,7 +94,7 @@ export declare class SpecimenTransaction {
|
|
|
94
94
|
*/
|
|
95
95
|
dueDate?: string;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Counterparty's ID for the transaction.
|
|
98
98
|
*/
|
|
99
99
|
externalID?: string;
|
|
100
100
|
/**
|
|
@@ -102,7 +102,7 @@ export declare class SpecimenTransaction {
|
|
|
102
102
|
*/
|
|
103
103
|
geneticResourceAcquisitionCountry?: string;
|
|
104
104
|
/**
|
|
105
|
-
* Date when the genetic resource or traditional knowledge was
|
|
105
|
+
* Date when the genetic resource or traditional knowledge was acquired.
|
|
106
106
|
*/
|
|
107
107
|
geneticResourceAcquisitionDate?: string;
|
|
108
108
|
/**
|
|
@@ -121,6 +121,9 @@ export declare class SpecimenTransaction {
|
|
|
121
121
|
* Choose the type of the genetic resource for statistical and reporting purposes.
|
|
122
122
|
*/
|
|
123
123
|
geneticResourceType?: GeneticResourceTypeEnum;
|
|
124
|
+
/**
|
|
125
|
+
* Harmonized System code for the customs
|
|
126
|
+
*/
|
|
124
127
|
harmonizedSystemCode?: string;
|
|
125
128
|
/**
|
|
126
129
|
* Whether the resource has an IRCC number or not. If not, more information needs to be filled in.
|
|
@@ -135,7 +138,7 @@ export declare class SpecimenTransaction {
|
|
|
135
138
|
*/
|
|
136
139
|
incomingReturned?: string;
|
|
137
140
|
/**
|
|
138
|
-
* Private remarks that are shown only in Kotka and not to the
|
|
141
|
+
* Private remarks that are shown only in Kotka and not to the counterparty organisation.
|
|
139
142
|
*/
|
|
140
143
|
internalRemarks?: string;
|
|
141
144
|
/**
|
|
@@ -146,9 +149,12 @@ export declare class SpecimenTransaction {
|
|
|
146
149
|
* Person handling the transaction at local Kotka institution.
|
|
147
150
|
*/
|
|
148
151
|
localHandler?: string;
|
|
152
|
+
/**
|
|
153
|
+
* Contact email for the person handling the transaction in our museum.
|
|
154
|
+
*/
|
|
149
155
|
localHandlerEmail?: string;
|
|
150
156
|
/**
|
|
151
|
-
* Person responsible for the transaction in our museum/local Kotka institution
|
|
157
|
+
* Person responsible for the transaction in our museum/local Kotka institution.
|
|
152
158
|
*/
|
|
153
159
|
localPerson?: string;
|
|
154
160
|
/**
|
|
@@ -156,7 +162,7 @@ export declare class SpecimenTransaction {
|
|
|
156
162
|
*/
|
|
157
163
|
localPersonEmail?: string;
|
|
158
164
|
/**
|
|
159
|
-
* For incoming
|
|
165
|
+
* For incoming transactions, name of the researcher receiving the loan at our museum/ local Kotka institution.
|
|
160
166
|
*/
|
|
161
167
|
localResearcher?: string;
|
|
162
168
|
/**
|
|
@@ -170,24 +176,24 @@ export declare class SpecimenTransaction {
|
|
|
170
176
|
*/
|
|
171
177
|
numberOfParcels?: string;
|
|
172
178
|
/**
|
|
173
|
-
* Date when the outgoing loan was returned to us
|
|
179
|
+
* Date when the outgoing loan was returned to us.
|
|
174
180
|
*/
|
|
175
181
|
outgoingReturned?: string;
|
|
176
182
|
/**
|
|
177
|
-
* When the transaction was sent out from us
|
|
183
|
+
* When the ougoing transaction was sent out from us.
|
|
178
184
|
*/
|
|
179
185
|
outgoingSent?: string;
|
|
180
186
|
permits?: Permit[];
|
|
181
187
|
/**
|
|
182
|
-
* Remarks that are shown to both parties of the transaction.
|
|
188
|
+
* Remarks that are shown to both parties of the transaction on transaction PDFs.
|
|
183
189
|
*/
|
|
184
190
|
publicRemarks?: string;
|
|
185
191
|
/**
|
|
186
|
-
* When signed
|
|
192
|
+
* When signed transaction receipt was received (outgoing) or sent (incoming).
|
|
187
193
|
*/
|
|
188
194
|
receiptReturned?: string;
|
|
189
195
|
/**
|
|
190
|
-
* When
|
|
196
|
+
* When transaction request was received here.
|
|
191
197
|
*/
|
|
192
198
|
requestReceived?: string;
|
|
193
199
|
/**
|
|
@@ -197,7 +203,7 @@ export declare class SpecimenTransaction {
|
|
|
197
203
|
returnedCount?: number;
|
|
198
204
|
returnedIDs?: string[];
|
|
199
205
|
/**
|
|
200
|
-
* Whether the transaction is closed, outstanding or
|
|
206
|
+
* Whether the transaction is closed, outstanding, in process or still on loan..
|
|
201
207
|
*/
|
|
202
208
|
status?: StatusEnum;
|
|
203
209
|
transactionEvents?: SpecimenTransactionEvent[];
|
|
@@ -6,8 +6,20 @@ export declare class SpecimenTransactionEvent {
|
|
|
6
6
|
"@context"?: string;
|
|
7
7
|
id?: string;
|
|
8
8
|
"@type"?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Date when the transaction event occurred.
|
|
11
|
+
*/
|
|
9
12
|
eventDate: string;
|
|
13
|
+
/**
|
|
14
|
+
* Name of the person who handled the transaction event.
|
|
15
|
+
*/
|
|
10
16
|
eventHandler: string;
|
|
17
|
+
/**
|
|
18
|
+
* More information about the transactions event. You can e.g. list the specimens included in the event in this field.
|
|
19
|
+
*/
|
|
11
20
|
eventNotes: string;
|
|
21
|
+
/**
|
|
22
|
+
* Type of the transaction event. Return for e.g. partial returns and addition e.g. for when more specimens are added to the transaction later.
|
|
23
|
+
*/
|
|
12
24
|
eventType: EventTypeEnum;
|
|
13
25
|
}
|
|
@@ -27,15 +27,15 @@ export interface SpecimenTransaction {
|
|
|
27
27
|
*/
|
|
28
28
|
collectionID?: string;
|
|
29
29
|
/**
|
|
30
|
-
* Select the
|
|
30
|
+
* Select the counterparty organisation from a list. If not found on the list, you need to add the new organisation first.
|
|
31
31
|
*/
|
|
32
32
|
correspondentOrganization?: string;
|
|
33
33
|
/**
|
|
34
|
-
* Name of the
|
|
34
|
+
* Name of the counterparty person. If the transaction goes to a private person, write their postal address here.
|
|
35
35
|
*/
|
|
36
36
|
correspondentPerson?: string;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* For outgoing transactions the receiving researcher in the counterparty organisation.
|
|
39
39
|
*/
|
|
40
40
|
correspondentResearcher?: string;
|
|
41
41
|
damagedCount?: number;
|
|
@@ -45,7 +45,7 @@ export interface SpecimenTransaction {
|
|
|
45
45
|
*/
|
|
46
46
|
dueDate?: string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Counterparty's ID for the transaction.
|
|
49
49
|
*/
|
|
50
50
|
externalID?: string;
|
|
51
51
|
/**
|
|
@@ -53,7 +53,7 @@ export interface SpecimenTransaction {
|
|
|
53
53
|
*/
|
|
54
54
|
geneticResourceAcquisitionCountry?: string;
|
|
55
55
|
/**
|
|
56
|
-
* Date when the genetic resource or traditional knowledge was
|
|
56
|
+
* Date when the genetic resource or traditional knowledge was acquired.
|
|
57
57
|
*/
|
|
58
58
|
geneticResourceAcquisitionDate?: string;
|
|
59
59
|
/**
|
|
@@ -72,6 +72,9 @@ export interface SpecimenTransaction {
|
|
|
72
72
|
* Choose the type of the genetic resource for statistical and reporting purposes.
|
|
73
73
|
*/
|
|
74
74
|
geneticResourceType?: GeneticResourceTypeEnum;
|
|
75
|
+
/**
|
|
76
|
+
* Harmonized System code for the customs
|
|
77
|
+
*/
|
|
75
78
|
harmonizedSystemCode?: string;
|
|
76
79
|
/**
|
|
77
80
|
* Whether the resource has an IRCC number or not. If not, more information needs to be filled in.
|
|
@@ -86,7 +89,7 @@ export interface SpecimenTransaction {
|
|
|
86
89
|
*/
|
|
87
90
|
incomingReturned?: string;
|
|
88
91
|
/**
|
|
89
|
-
* Private remarks that are shown only in Kotka and not to the
|
|
92
|
+
* Private remarks that are shown only in Kotka and not to the counterparty organisation.
|
|
90
93
|
*/
|
|
91
94
|
internalRemarks?: string;
|
|
92
95
|
/**
|
|
@@ -97,9 +100,12 @@ export interface SpecimenTransaction {
|
|
|
97
100
|
* Person handling the transaction at local Kotka institution.
|
|
98
101
|
*/
|
|
99
102
|
localHandler?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Contact email for the person handling the transaction in our museum.
|
|
105
|
+
*/
|
|
100
106
|
localHandlerEmail?: string;
|
|
101
107
|
/**
|
|
102
|
-
* Person responsible for the transaction in our museum/local Kotka institution
|
|
108
|
+
* Person responsible for the transaction in our museum/local Kotka institution.
|
|
103
109
|
*/
|
|
104
110
|
localPerson?: string;
|
|
105
111
|
/**
|
|
@@ -107,7 +113,7 @@ export interface SpecimenTransaction {
|
|
|
107
113
|
*/
|
|
108
114
|
localPersonEmail?: string;
|
|
109
115
|
/**
|
|
110
|
-
* For incoming
|
|
116
|
+
* For incoming transactions, name of the researcher receiving the loan at our museum/ local Kotka institution.
|
|
111
117
|
*/
|
|
112
118
|
localResearcher?: string;
|
|
113
119
|
/**
|
|
@@ -121,24 +127,24 @@ export interface SpecimenTransaction {
|
|
|
121
127
|
*/
|
|
122
128
|
numberOfParcels?: string;
|
|
123
129
|
/**
|
|
124
|
-
* Date when the outgoing loan was returned to us
|
|
130
|
+
* Date when the outgoing loan was returned to us.
|
|
125
131
|
*/
|
|
126
132
|
outgoingReturned?: string;
|
|
127
133
|
/**
|
|
128
|
-
* When the transaction was sent out from us
|
|
134
|
+
* When the ougoing transaction was sent out from us.
|
|
129
135
|
*/
|
|
130
136
|
outgoingSent?: string;
|
|
131
137
|
permits?: Permit[];
|
|
132
138
|
/**
|
|
133
|
-
* Remarks that are shown to both parties of the transaction.
|
|
139
|
+
* Remarks that are shown to both parties of the transaction on transaction PDFs.
|
|
134
140
|
*/
|
|
135
141
|
publicRemarks?: string;
|
|
136
142
|
/**
|
|
137
|
-
* When signed
|
|
143
|
+
* When signed transaction receipt was received (outgoing) or sent (incoming).
|
|
138
144
|
*/
|
|
139
145
|
receiptReturned?: string;
|
|
140
146
|
/**
|
|
141
|
-
* When
|
|
147
|
+
* When transaction request was received here.
|
|
142
148
|
*/
|
|
143
149
|
requestReceived?: string;
|
|
144
150
|
/**
|
|
@@ -148,7 +154,7 @@ export interface SpecimenTransaction {
|
|
|
148
154
|
returnedCount?: number;
|
|
149
155
|
returnedIDs?: string[];
|
|
150
156
|
/**
|
|
151
|
-
* Whether the transaction is closed, outstanding or
|
|
157
|
+
* Whether the transaction is closed, outstanding, in process or still on loan..
|
|
152
158
|
*/
|
|
153
159
|
status?: StatusEnum;
|
|
154
160
|
transactionEvents?: SpecimenTransactionEvent[];
|
|
@@ -3,8 +3,20 @@ export interface SpecimenTransactionEvent {
|
|
|
3
3
|
"@context"?: string;
|
|
4
4
|
id?: string;
|
|
5
5
|
"@type"?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Date when the transaction event occurred.
|
|
8
|
+
*/
|
|
6
9
|
eventDate: string;
|
|
10
|
+
/**
|
|
11
|
+
* Name of the person who handled the transaction event.
|
|
12
|
+
*/
|
|
7
13
|
eventHandler: string;
|
|
14
|
+
/**
|
|
15
|
+
* More information about the transactions event. You can e.g. list the specimens included in the event in this field.
|
|
16
|
+
*/
|
|
8
17
|
eventNotes: string;
|
|
18
|
+
/**
|
|
19
|
+
* Type of the transaction event. Return for e.g. partial returns and addition e.g. for when more specimens are added to the transaction later.
|
|
20
|
+
*/
|
|
9
21
|
eventType: EventTypeEnum;
|
|
10
22
|
}
|