@twin.org/standards-gs1 0.0.1-next.21
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/LICENSE +201 -0
- package/README.md +21 -0
- package/dist/cjs/index.cjs +977 -0
- package/dist/esm/index.mjs +961 -0
- package/dist/types/dataTypes/gs1DataTypes.d.ts +10 -0
- package/dist/types/entities/gs1Location.d.ts +69 -0
- package/dist/types/identifiers/gs1Identifiers.d.ts +9 -0
- package/dist/types/index.d.ts +34 -0
- package/dist/types/models/epc/IEPCClassUri.d.ts +17 -0
- package/dist/types/models/epcis20/IAggregationEvent.d.ts +10 -0
- package/dist/types/models/epcis20/IAssociationEvent.d.ts +10 -0
- package/dist/types/models/epcis20/IBaseAggregationEvent.d.ts +19 -0
- package/dist/types/models/epcis20/IBizTransaction.d.ts +13 -0
- package/dist/types/models/epcis20/IDestination.d.ts +13 -0
- package/dist/types/models/epcis20/IEpcisDocument.d.ts +28 -0
- package/dist/types/models/epcis20/IEpcisEvent.d.ts +44 -0
- package/dist/types/models/epcis20/IEpcisEventDetails.d.ts +35 -0
- package/dist/types/models/epcis20/IEpcisQuery.d.ts +6 -0
- package/dist/types/models/epcis20/IEpcisQueryDocument.d.ts +54 -0
- package/dist/types/models/epcis20/IObjectEvent.d.ts +25 -0
- package/dist/types/models/epcis20/IQuantity.d.ts +13 -0
- package/dist/types/models/epcis20/ISensorElement.d.ts +15 -0
- package/dist/types/models/epcis20/ISensorMetadata.d.ts +21 -0
- package/dist/types/models/epcis20/ISensorReport.d.ts +17 -0
- package/dist/types/models/epcis20/ISimpleLocation.d.ts +9 -0
- package/dist/types/models/epcis20/ISource.d.ts +13 -0
- package/dist/types/models/epcis20/actionTypes.d.ts +21 -0
- package/dist/types/models/epcis20/bizStepTypes.d.ts +52 -0
- package/dist/types/models/epcis20/dispositionTypes.d.ts +44 -0
- package/dist/types/models/epcis20/epcisErrorTypes.d.ts +11 -0
- package/dist/types/models/epcis20/epcisEventUnionType.d.ts +7 -0
- package/dist/types/models/epcis20/eventTypes.d.ts +29 -0
- package/dist/types/models/gs1/gs1IdTypes.d.ts +89 -0
- package/dist/types/models/gs1/gs1IdentifierTypes.d.ts +25 -0
- package/dist/types/models/gs1/gs1Types.d.ts +13 -0
- package/dist/types/models/gs1/subSiteAttributes.d.ts +145 -0
- package/dist/types/models/gs1/subSiteTypes.d.ts +77 -0
- package/dist/types/utils/gs1IdentifiersValidation.d.ts +57 -0
- package/dist/types/utils/gs1Is.d.ts +17 -0
- package/dist/types/utils/gs1Validation.d.ts +16 -0
- package/docs/changelog.md +5 -0
- package/docs/examples.md +1 -0
- package/docs/reference/classes/Gs1DataTypes.md +26 -0
- package/docs/reference/classes/Gs1Identifiers.md +25 -0
- package/docs/reference/classes/Gs1IdentifiersValidation.md +215 -0
- package/docs/reference/classes/Gs1Is.md +57 -0
- package/docs/reference/classes/Gs1Location.md +135 -0
- package/docs/reference/classes/Gs1Validation.md +53 -0
- package/docs/reference/index.md +57 -0
- package/docs/reference/interfaces/IAggregationEvent.md +223 -0
- package/docs/reference/interfaces/IAssociationEvent.md +223 -0
- package/docs/reference/interfaces/IBizTransaction.md +19 -0
- package/docs/reference/interfaces/IDestination.md +19 -0
- package/docs/reference/interfaces/IEPCClassUri.md +27 -0
- package/docs/reference/interfaces/IEpcisDocument.md +41 -0
- package/docs/reference/interfaces/IEpcisEvent.md +79 -0
- package/docs/reference/interfaces/IEpcisEventDetails.md +167 -0
- package/docs/reference/interfaces/IEpcisQuery.md +7 -0
- package/docs/reference/interfaces/IEpcisQueryDocument.md +81 -0
- package/docs/reference/interfaces/IObjectEvent.md +211 -0
- package/docs/reference/interfaces/IQuantity.md +19 -0
- package/docs/reference/interfaces/ISensorElement.md +19 -0
- package/docs/reference/interfaces/ISensorMetadata.md +35 -0
- package/docs/reference/interfaces/ISensorReport.md +27 -0
- package/docs/reference/interfaces/ISimpleLocation.md +11 -0
- package/docs/reference/interfaces/ISource.md +19 -0
- package/docs/reference/type-aliases/ActionTypes.md +5 -0
- package/docs/reference/type-aliases/BizStepTypes.md +5 -0
- package/docs/reference/type-aliases/DispositionTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisErrorTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisEventUnionType.md +5 -0
- package/docs/reference/type-aliases/EventTypes.md +5 -0
- package/docs/reference/type-aliases/Gs1IdTypes.md +5 -0
- package/docs/reference/type-aliases/Gs1IdentifierTypes.md +5 -0
- package/docs/reference/type-aliases/Gs1Types.md +5 -0
- package/docs/reference/type-aliases/SubSiteAttributes.md +7 -0
- package/docs/reference/type-aliases/SubSiteTypes.md +7 -0
- package/docs/reference/variables/ActionTypes.md +25 -0
- package/docs/reference/variables/BizStepTypes.md +173 -0
- package/docs/reference/variables/DispositionTypes.md +141 -0
- package/docs/reference/variables/EpcisErrorTypes.md +15 -0
- package/docs/reference/variables/EventTypes.md +37 -0
- package/docs/reference/variables/Gs1IdTypes.md +127 -0
- package/docs/reference/variables/Gs1IdentifierTypes.md +31 -0
- package/docs/reference/variables/Gs1Types.md +13 -0
- package/docs/reference/variables/SubSiteAttributes.md +207 -0
- package/docs/reference/variables/SubSiteTypes.md +105 -0
- package/locales/en.json +12 -0
- package/package.json +41 -0
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# Interface: IAssociationEvent
|
|
2
|
+
|
|
3
|
+
Association Event.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- `IBaseAggregationEvent`
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### type
|
|
12
|
+
|
|
13
|
+
> **type**: `"AssociationEvent"`
|
|
14
|
+
|
|
15
|
+
Type.
|
|
16
|
+
|
|
17
|
+
#### Overrides
|
|
18
|
+
|
|
19
|
+
`IBaseAggregationEvent.type`
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### parentID?
|
|
24
|
+
|
|
25
|
+
> `optional` **parentID**: `string`
|
|
26
|
+
|
|
27
|
+
Parent is only optional when action is OBSERVE.
|
|
28
|
+
|
|
29
|
+
#### Inherited from
|
|
30
|
+
|
|
31
|
+
`IBaseAggregationEvent.parentID`
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### childEPCs?
|
|
36
|
+
|
|
37
|
+
> `optional` **childEPCs**: `string`[]
|
|
38
|
+
|
|
39
|
+
The children EPC which can be empty when action is DELETE.
|
|
40
|
+
|
|
41
|
+
#### Inherited from
|
|
42
|
+
|
|
43
|
+
`IBaseAggregationEvent.childEPCs`
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### childQuantityList?
|
|
48
|
+
|
|
49
|
+
> `optional` **childQuantityList**: [`IQuantity`](IQuantity.md)[]
|
|
50
|
+
|
|
51
|
+
Quantity in case of class-level event visibility data.
|
|
52
|
+
|
|
53
|
+
#### Inherited from
|
|
54
|
+
|
|
55
|
+
`IBaseAggregationEvent.childQuantityList`
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### @context?
|
|
60
|
+
|
|
61
|
+
> `optional` **@context**: `IJsonLdContextDefinition`
|
|
62
|
+
|
|
63
|
+
JSON-LD @context.
|
|
64
|
+
|
|
65
|
+
#### Inherited from
|
|
66
|
+
|
|
67
|
+
`IBaseAggregationEvent.@context`
|
|
68
|
+
|
|
69
|
+
***
|
|
70
|
+
|
|
71
|
+
### id?
|
|
72
|
+
|
|
73
|
+
> `optional` **id**: `string`
|
|
74
|
+
|
|
75
|
+
UUID of the event.
|
|
76
|
+
|
|
77
|
+
#### Inherited from
|
|
78
|
+
|
|
79
|
+
`IBaseAggregationEvent.id`
|
|
80
|
+
|
|
81
|
+
***
|
|
82
|
+
|
|
83
|
+
### eventID?
|
|
84
|
+
|
|
85
|
+
> `optional` **eventID**: `string`
|
|
86
|
+
|
|
87
|
+
The id of the event. Marked here as optional as we usually won't store it on Tangle.
|
|
88
|
+
|
|
89
|
+
#### Inherited from
|
|
90
|
+
|
|
91
|
+
`IBaseAggregationEvent.eventID`
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### eventTime
|
|
96
|
+
|
|
97
|
+
> **eventTime**: `string`
|
|
98
|
+
|
|
99
|
+
Timestamp in UTC.
|
|
100
|
+
|
|
101
|
+
#### Inherited from
|
|
102
|
+
|
|
103
|
+
`IBaseAggregationEvent.eventTime`
|
|
104
|
+
|
|
105
|
+
***
|
|
106
|
+
|
|
107
|
+
### eventTimeZoneOffset
|
|
108
|
+
|
|
109
|
+
> **eventTimeZoneOffset**: `string`
|
|
110
|
+
|
|
111
|
+
Timezone offset. Useful if we want to represent timestamp in local timezone.
|
|
112
|
+
|
|
113
|
+
#### Inherited from
|
|
114
|
+
|
|
115
|
+
`IBaseAggregationEvent.eventTimeZoneOffset`
|
|
116
|
+
|
|
117
|
+
***
|
|
118
|
+
|
|
119
|
+
### recordTime?
|
|
120
|
+
|
|
121
|
+
> `optional` **recordTime**: `string`
|
|
122
|
+
|
|
123
|
+
When the event was recorded. It will be automatically generated.
|
|
124
|
+
|
|
125
|
+
#### Inherited from
|
|
126
|
+
|
|
127
|
+
`IBaseAggregationEvent.recordTime`
|
|
128
|
+
|
|
129
|
+
***
|
|
130
|
+
|
|
131
|
+
### sourceList?
|
|
132
|
+
|
|
133
|
+
> `optional` **sourceList**: [`ISource`](ISource.md)[]
|
|
134
|
+
|
|
135
|
+
Source list. Semantics according to EPCIS standard.
|
|
136
|
+
|
|
137
|
+
#### Inherited from
|
|
138
|
+
|
|
139
|
+
`IBaseAggregationEvent.sourceList`
|
|
140
|
+
|
|
141
|
+
***
|
|
142
|
+
|
|
143
|
+
### destinationList?
|
|
144
|
+
|
|
145
|
+
> `optional` **destinationList**: [`IDestination`](IDestination.md)[]
|
|
146
|
+
|
|
147
|
+
Destination list. Semantics according to EPCIS standard.
|
|
148
|
+
|
|
149
|
+
#### Inherited from
|
|
150
|
+
|
|
151
|
+
`IBaseAggregationEvent.destinationList`
|
|
152
|
+
|
|
153
|
+
***
|
|
154
|
+
|
|
155
|
+
### action
|
|
156
|
+
|
|
157
|
+
> **action**: [`ActionTypes`](../type-aliases/ActionTypes.md)
|
|
158
|
+
|
|
159
|
+
Action: ADD, OBSERVE, DELETE.
|
|
160
|
+
|
|
161
|
+
#### Inherited from
|
|
162
|
+
|
|
163
|
+
`IBaseAggregationEvent.action`
|
|
164
|
+
|
|
165
|
+
***
|
|
166
|
+
|
|
167
|
+
### readPoint?
|
|
168
|
+
|
|
169
|
+
> `optional` **readPoint**: [`ISimpleLocation`](ISimpleLocation.md)
|
|
170
|
+
|
|
171
|
+
The location of reading point.
|
|
172
|
+
|
|
173
|
+
#### Inherited from
|
|
174
|
+
|
|
175
|
+
`IBaseAggregationEvent.readPoint`
|
|
176
|
+
|
|
177
|
+
***
|
|
178
|
+
|
|
179
|
+
### bizLocation?
|
|
180
|
+
|
|
181
|
+
> `optional` **bizLocation**: [`ISimpleLocation`](ISimpleLocation.md)
|
|
182
|
+
|
|
183
|
+
The biz location where the item ends up.
|
|
184
|
+
|
|
185
|
+
#### Inherited from
|
|
186
|
+
|
|
187
|
+
`IBaseAggregationEvent.bizLocation`
|
|
188
|
+
|
|
189
|
+
***
|
|
190
|
+
|
|
191
|
+
### bizStep?
|
|
192
|
+
|
|
193
|
+
> `optional` **bizStep**: [`BizStepTypes`](../type-aliases/BizStepTypes.md)
|
|
194
|
+
|
|
195
|
+
The business step as per EPCIS.
|
|
196
|
+
|
|
197
|
+
#### Inherited from
|
|
198
|
+
|
|
199
|
+
`IBaseAggregationEvent.bizStep`
|
|
200
|
+
|
|
201
|
+
***
|
|
202
|
+
|
|
203
|
+
### disposition?
|
|
204
|
+
|
|
205
|
+
> `optional` **disposition**: [`DispositionTypes`](../type-aliases/DispositionTypes.md)
|
|
206
|
+
|
|
207
|
+
The disposition as per EPCIS.
|
|
208
|
+
|
|
209
|
+
#### Inherited from
|
|
210
|
+
|
|
211
|
+
`IBaseAggregationEvent.disposition`
|
|
212
|
+
|
|
213
|
+
***
|
|
214
|
+
|
|
215
|
+
### bizTransactionList?
|
|
216
|
+
|
|
217
|
+
> `optional` **bizTransactionList**: [`IBizTransaction`](IBizTransaction.md)[]
|
|
218
|
+
|
|
219
|
+
The list of related business transactions.
|
|
220
|
+
|
|
221
|
+
#### Inherited from
|
|
222
|
+
|
|
223
|
+
`IBaseAggregationEvent.bizTransactionList`
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Interface: IEPCClassUri
|
|
2
|
+
|
|
3
|
+
Interface for EPC class URI.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### companyPrefix
|
|
8
|
+
|
|
9
|
+
> **companyPrefix**: `string`
|
|
10
|
+
|
|
11
|
+
The company prefix.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### itemRefAndIndicator
|
|
16
|
+
|
|
17
|
+
> **itemRefAndIndicator**: `string`
|
|
18
|
+
|
|
19
|
+
The item reference number.
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### lot
|
|
24
|
+
|
|
25
|
+
> **lot**: `string`
|
|
26
|
+
|
|
27
|
+
The batch/lot.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Interface: IEpcisDocument
|
|
2
|
+
|
|
3
|
+
EPCIS Document.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### @context
|
|
8
|
+
|
|
9
|
+
> **@context**: `IJsonLdContextDefinition`
|
|
10
|
+
|
|
11
|
+
The @context.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### id?
|
|
16
|
+
|
|
17
|
+
> `optional` **id**: `string`
|
|
18
|
+
|
|
19
|
+
The JSON-LD document id.
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### type
|
|
24
|
+
|
|
25
|
+
> **type**: `"EPCISDocument"`
|
|
26
|
+
|
|
27
|
+
JSON-LD Type.
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### epcisBody
|
|
32
|
+
|
|
33
|
+
> **epcisBody**: `object`
|
|
34
|
+
|
|
35
|
+
The EPCIS Body.
|
|
36
|
+
|
|
37
|
+
#### eventList
|
|
38
|
+
|
|
39
|
+
> **eventList**: [`IEpcisEvent`](IEpcisEvent.md)[]
|
|
40
|
+
|
|
41
|
+
The list of events.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Interface: IEpcisEvent
|
|
2
|
+
|
|
3
|
+
EPCIS Event.
|
|
4
|
+
|
|
5
|
+
## Extended by
|
|
6
|
+
|
|
7
|
+
- [`IEpcisEventDetails`](IEpcisEventDetails.md)
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### @context?
|
|
12
|
+
|
|
13
|
+
> `optional` **@context**: `IJsonLdContextDefinition`
|
|
14
|
+
|
|
15
|
+
JSON-LD @context.
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### id?
|
|
20
|
+
|
|
21
|
+
> `optional` **id**: `string`
|
|
22
|
+
|
|
23
|
+
UUID of the event.
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### eventID?
|
|
28
|
+
|
|
29
|
+
> `optional` **eventID**: `string`
|
|
30
|
+
|
|
31
|
+
The id of the event. Marked here as optional as we usually won't store it on Tangle.
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### type
|
|
36
|
+
|
|
37
|
+
> **type**: `string`
|
|
38
|
+
|
|
39
|
+
Type of Event.
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### eventTime
|
|
44
|
+
|
|
45
|
+
> **eventTime**: `string`
|
|
46
|
+
|
|
47
|
+
Timestamp in UTC.
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### eventTimeZoneOffset
|
|
52
|
+
|
|
53
|
+
> **eventTimeZoneOffset**: `string`
|
|
54
|
+
|
|
55
|
+
Timezone offset. Useful if we want to represent timestamp in local timezone.
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### recordTime?
|
|
60
|
+
|
|
61
|
+
> `optional` **recordTime**: `string`
|
|
62
|
+
|
|
63
|
+
When the event was recorded. It will be automatically generated.
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
67
|
+
### sourceList?
|
|
68
|
+
|
|
69
|
+
> `optional` **sourceList**: [`ISource`](ISource.md)[]
|
|
70
|
+
|
|
71
|
+
Source list. Semantics according to EPCIS standard.
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### destinationList?
|
|
76
|
+
|
|
77
|
+
> `optional` **destinationList**: [`IDestination`](IDestination.md)[]
|
|
78
|
+
|
|
79
|
+
Destination list. Semantics according to EPCIS standard.
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# Interface: IEpcisEventDetails
|
|
2
|
+
|
|
3
|
+
EPCIS Event Details.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- [`IEpcisEvent`](IEpcisEvent.md)
|
|
8
|
+
|
|
9
|
+
## Extended by
|
|
10
|
+
|
|
11
|
+
- [`IObjectEvent`](IObjectEvent.md)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### @context?
|
|
16
|
+
|
|
17
|
+
> `optional` **@context**: `IJsonLdContextDefinition`
|
|
18
|
+
|
|
19
|
+
JSON-LD @context.
|
|
20
|
+
|
|
21
|
+
#### Inherited from
|
|
22
|
+
|
|
23
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`@context`](IEpcisEvent.md#@context)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### id?
|
|
28
|
+
|
|
29
|
+
> `optional` **id**: `string`
|
|
30
|
+
|
|
31
|
+
UUID of the event.
|
|
32
|
+
|
|
33
|
+
#### Inherited from
|
|
34
|
+
|
|
35
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`id`](IEpcisEvent.md#id)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### eventID?
|
|
40
|
+
|
|
41
|
+
> `optional` **eventID**: `string`
|
|
42
|
+
|
|
43
|
+
The id of the event. Marked here as optional as we usually won't store it on Tangle.
|
|
44
|
+
|
|
45
|
+
#### Inherited from
|
|
46
|
+
|
|
47
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`eventID`](IEpcisEvent.md#eventid)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### type
|
|
52
|
+
|
|
53
|
+
> **type**: `string`
|
|
54
|
+
|
|
55
|
+
Type of Event.
|
|
56
|
+
|
|
57
|
+
#### Inherited from
|
|
58
|
+
|
|
59
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`type`](IEpcisEvent.md#type)
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### eventTime
|
|
64
|
+
|
|
65
|
+
> **eventTime**: `string`
|
|
66
|
+
|
|
67
|
+
Timestamp in UTC.
|
|
68
|
+
|
|
69
|
+
#### Inherited from
|
|
70
|
+
|
|
71
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`eventTime`](IEpcisEvent.md#eventtime)
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### eventTimeZoneOffset
|
|
76
|
+
|
|
77
|
+
> **eventTimeZoneOffset**: `string`
|
|
78
|
+
|
|
79
|
+
Timezone offset. Useful if we want to represent timestamp in local timezone.
|
|
80
|
+
|
|
81
|
+
#### Inherited from
|
|
82
|
+
|
|
83
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`eventTimeZoneOffset`](IEpcisEvent.md#eventtimezoneoffset)
|
|
84
|
+
|
|
85
|
+
***
|
|
86
|
+
|
|
87
|
+
### recordTime?
|
|
88
|
+
|
|
89
|
+
> `optional` **recordTime**: `string`
|
|
90
|
+
|
|
91
|
+
When the event was recorded. It will be automatically generated.
|
|
92
|
+
|
|
93
|
+
#### Inherited from
|
|
94
|
+
|
|
95
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`recordTime`](IEpcisEvent.md#recordtime)
|
|
96
|
+
|
|
97
|
+
***
|
|
98
|
+
|
|
99
|
+
### sourceList?
|
|
100
|
+
|
|
101
|
+
> `optional` **sourceList**: [`ISource`](ISource.md)[]
|
|
102
|
+
|
|
103
|
+
Source list. Semantics according to EPCIS standard.
|
|
104
|
+
|
|
105
|
+
#### Inherited from
|
|
106
|
+
|
|
107
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`sourceList`](IEpcisEvent.md#sourcelist)
|
|
108
|
+
|
|
109
|
+
***
|
|
110
|
+
|
|
111
|
+
### destinationList?
|
|
112
|
+
|
|
113
|
+
> `optional` **destinationList**: [`IDestination`](IDestination.md)[]
|
|
114
|
+
|
|
115
|
+
Destination list. Semantics according to EPCIS standard.
|
|
116
|
+
|
|
117
|
+
#### Inherited from
|
|
118
|
+
|
|
119
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`destinationList`](IEpcisEvent.md#destinationlist)
|
|
120
|
+
|
|
121
|
+
***
|
|
122
|
+
|
|
123
|
+
### action
|
|
124
|
+
|
|
125
|
+
> **action**: [`ActionTypes`](../type-aliases/ActionTypes.md)
|
|
126
|
+
|
|
127
|
+
Action: ADD, OBSERVE, DELETE.
|
|
128
|
+
|
|
129
|
+
***
|
|
130
|
+
|
|
131
|
+
### readPoint?
|
|
132
|
+
|
|
133
|
+
> `optional` **readPoint**: [`ISimpleLocation`](ISimpleLocation.md)
|
|
134
|
+
|
|
135
|
+
The location of reading point.
|
|
136
|
+
|
|
137
|
+
***
|
|
138
|
+
|
|
139
|
+
### bizLocation?
|
|
140
|
+
|
|
141
|
+
> `optional` **bizLocation**: [`ISimpleLocation`](ISimpleLocation.md)
|
|
142
|
+
|
|
143
|
+
The biz location where the item ends up.
|
|
144
|
+
|
|
145
|
+
***
|
|
146
|
+
|
|
147
|
+
### bizStep?
|
|
148
|
+
|
|
149
|
+
> `optional` **bizStep**: [`BizStepTypes`](../type-aliases/BizStepTypes.md)
|
|
150
|
+
|
|
151
|
+
The business step as per EPCIS.
|
|
152
|
+
|
|
153
|
+
***
|
|
154
|
+
|
|
155
|
+
### disposition?
|
|
156
|
+
|
|
157
|
+
> `optional` **disposition**: [`DispositionTypes`](../type-aliases/DispositionTypes.md)
|
|
158
|
+
|
|
159
|
+
The disposition as per EPCIS.
|
|
160
|
+
|
|
161
|
+
***
|
|
162
|
+
|
|
163
|
+
### bizTransactionList?
|
|
164
|
+
|
|
165
|
+
> `optional` **bizTransactionList**: [`IBizTransaction`](IBizTransaction.md)[]
|
|
166
|
+
|
|
167
|
+
The list of related business transactions.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Interface: IEpcisQueryDocument
|
|
2
|
+
|
|
3
|
+
EPCIS Query Document.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### @context
|
|
8
|
+
|
|
9
|
+
> **@context**: `IJsonLdContextDefinition`
|
|
10
|
+
|
|
11
|
+
The @context.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### id?
|
|
16
|
+
|
|
17
|
+
> `optional` **id**: `string`
|
|
18
|
+
|
|
19
|
+
The JSON-LD document id.
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### type
|
|
24
|
+
|
|
25
|
+
> **type**: `string`
|
|
26
|
+
|
|
27
|
+
JSON-LD Type.
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### schemaVersion?
|
|
32
|
+
|
|
33
|
+
> `optional` **schemaVersion**: `string`
|
|
34
|
+
|
|
35
|
+
Schema version.
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### creationDate?
|
|
40
|
+
|
|
41
|
+
> `optional` **creationDate**: `string`
|
|
42
|
+
|
|
43
|
+
Creation Date.
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### epcisBody
|
|
48
|
+
|
|
49
|
+
> **epcisBody**: `object`
|
|
50
|
+
|
|
51
|
+
The EPCIS Body.
|
|
52
|
+
|
|
53
|
+
#### queryResults
|
|
54
|
+
|
|
55
|
+
> **queryResults**: `object`
|
|
56
|
+
|
|
57
|
+
The results of the query.
|
|
58
|
+
|
|
59
|
+
##### queryResults.subscriptionID?
|
|
60
|
+
|
|
61
|
+
> `optional` **subscriptionID**: `string`
|
|
62
|
+
|
|
63
|
+
The concerned subscription.
|
|
64
|
+
|
|
65
|
+
##### queryResults.queryName
|
|
66
|
+
|
|
67
|
+
> **queryName**: `string`
|
|
68
|
+
|
|
69
|
+
The concerned query.
|
|
70
|
+
|
|
71
|
+
##### queryResults.resultsBody
|
|
72
|
+
|
|
73
|
+
> **resultsBody**: `object`
|
|
74
|
+
|
|
75
|
+
And now the results.
|
|
76
|
+
|
|
77
|
+
##### queryResults.resultsBody.eventList
|
|
78
|
+
|
|
79
|
+
> **eventList**: [`IEpcisEvent`](IEpcisEvent.md)[]
|
|
80
|
+
|
|
81
|
+
The list of events.
|