@twin.org/standards-gs1 0.0.3-next.9 → 0.9.0

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.
Files changed (238) hide show
  1. package/README.md +2 -2
  2. package/dist/es/dataTypes/epcisDataTypes.js +69 -0
  3. package/dist/es/dataTypes/epcisDataTypes.js.map +1 -0
  4. package/dist/es/dataTypes/gs1DataTypes.js +3 -3
  5. package/dist/es/dataTypes/gs1DataTypes.js.map +1 -1
  6. package/dist/es/entities/gs1Location.js +2 -3
  7. package/dist/es/entities/gs1Location.js.map +1 -1
  8. package/dist/es/index.js +26 -7
  9. package/dist/es/index.js.map +1 -1
  10. package/dist/es/models/epcis20/IEpcisAggregationEvent.js.map +1 -1
  11. package/dist/es/models/epcis20/IEpcisAssociationEvent.js.map +1 -1
  12. package/dist/es/models/epcis20/IEpcisAttribute.js +2 -0
  13. package/dist/es/models/epcis20/IEpcisAttribute.js.map +1 -0
  14. package/dist/es/models/epcis20/IEpcisBizTransaction.js +0 -2
  15. package/dist/es/models/epcis20/IEpcisBizTransaction.js.map +1 -1
  16. package/dist/es/models/epcis20/IEpcisDestination.js +0 -2
  17. package/dist/es/models/epcis20/IEpcisDestination.js.map +1 -1
  18. package/dist/es/models/epcis20/IEpcisDocument.js.map +1 -1
  19. package/dist/es/models/epcis20/IEpcisErrorDeclaration.js +2 -0
  20. package/dist/es/models/epcis20/IEpcisErrorDeclaration.js.map +1 -0
  21. package/dist/es/models/epcis20/IEpcisEvent.js.map +1 -1
  22. package/dist/es/models/epcis20/IEpcisHeader.js +2 -0
  23. package/dist/es/models/epcis20/IEpcisHeader.js.map +1 -0
  24. package/dist/es/models/epcis20/{IEpcisSimpleLocation.js → IEpcisIlmd.js} +1 -1
  25. package/dist/es/models/epcis20/IEpcisIlmd.js.map +1 -0
  26. package/dist/es/models/epcis20/IEpcisLocation.js +4 -0
  27. package/dist/es/models/epcis20/IEpcisLocation.js.map +1 -0
  28. package/dist/es/models/epcis20/IEpcisObjectEvent.js.map +1 -1
  29. package/dist/es/models/epcis20/IEpcisPersistentDisposition.js +2 -0
  30. package/dist/es/models/epcis20/IEpcisPersistentDisposition.js.map +1 -0
  31. package/dist/es/models/epcis20/IEpcisQuantity.js.map +1 -1
  32. package/dist/es/models/epcis20/IEpcisQuery.js.map +1 -1
  33. package/dist/es/models/epcis20/IEpcisQueryDocument.js.map +1 -1
  34. package/dist/es/models/epcis20/IEpcisQueryDocumentBody.js +2 -0
  35. package/dist/es/models/epcis20/IEpcisQueryDocumentBody.js.map +1 -0
  36. package/dist/es/models/epcis20/IEpcisQueryResults.js +2 -0
  37. package/dist/es/models/epcis20/IEpcisQueryResults.js.map +1 -0
  38. package/dist/es/models/epcis20/IEpcisQueryResultsBody.js +2 -0
  39. package/dist/es/models/epcis20/IEpcisQueryResultsBody.js.map +1 -0
  40. package/dist/es/models/epcis20/IEpcisSensorElement.js.map +1 -1
  41. package/dist/es/models/epcis20/IEpcisSensorMetadata.js.map +1 -1
  42. package/dist/es/models/epcis20/IEpcisSensorReport.js +0 -2
  43. package/dist/es/models/epcis20/IEpcisSensorReport.js.map +1 -1
  44. package/dist/es/models/epcis20/IEpcisSource.js +0 -2
  45. package/dist/es/models/epcis20/IEpcisSource.js.map +1 -1
  46. package/dist/es/models/epcis20/IEpcisTransactionEvent.js +2 -0
  47. package/dist/es/models/epcis20/IEpcisTransactionEvent.js.map +1 -0
  48. package/dist/es/models/epcis20/IEpcisTransformationEvent.js +2 -0
  49. package/dist/es/models/epcis20/IEpcisTransformationEvent.js.map +1 -0
  50. package/dist/es/models/epcis20/IEpcisVocabulary.js +2 -0
  51. package/dist/es/models/epcis20/IEpcisVocabulary.js.map +1 -0
  52. package/dist/es/models/epcis20/IEpcisVocabularyElement.js +2 -0
  53. package/dist/es/models/epcis20/IEpcisVocabularyElement.js.map +1 -0
  54. package/dist/es/models/epcis20/epcisActionTypes.js +7 -4
  55. package/dist/es/models/epcis20/epcisActionTypes.js.map +1 -1
  56. package/dist/es/models/epcis20/epcisBizStepTypes.js +140 -2
  57. package/dist/es/models/epcis20/epcisBizStepTypes.js.map +1 -1
  58. package/dist/es/models/epcis20/epcisBizTransactionTypes.js +75 -0
  59. package/dist/es/models/epcis20/epcisBizTransactionTypes.js.map +1 -0
  60. package/dist/es/models/epcis20/epcisComponentTypes.js +77 -0
  61. package/dist/es/models/epcis20/epcisComponentTypes.js.map +1 -0
  62. package/dist/es/models/epcis20/epcisContextType.js +2 -0
  63. package/dist/es/models/epcis20/epcisContextType.js.map +1 -0
  64. package/dist/es/models/epcis20/epcisContexts.js +27 -0
  65. package/dist/es/models/epcis20/epcisContexts.js.map +1 -0
  66. package/dist/es/models/epcis20/epcisDispositionTypes.js +112 -2
  67. package/dist/es/models/epcis20/epcisDispositionTypes.js.map +1 -1
  68. package/dist/es/models/epcis20/epcisErrorReasonTypes.js +20 -0
  69. package/dist/es/models/epcis20/epcisErrorReasonTypes.js.map +1 -0
  70. package/dist/es/models/epcis20/epcisEventTypes.js +6 -6
  71. package/dist/es/models/epcis20/epcisEventTypes.js.map +1 -1
  72. package/dist/es/models/epcis20/epcisEvents.js +2 -0
  73. package/dist/es/models/epcis20/epcisEvents.js.map +1 -0
  74. package/dist/es/models/epcis20/epcisMeasurementTypes.js +301 -0
  75. package/dist/es/models/epcis20/epcisMeasurementTypes.js.map +1 -0
  76. package/dist/es/models/epcis20/epcisSensorAlertTypes.js +19 -0
  77. package/dist/es/models/epcis20/epcisSensorAlertTypes.js.map +1 -0
  78. package/dist/es/models/epcis20/epcisSourceDestTypes.js +26 -0
  79. package/dist/es/models/epcis20/epcisSourceDestTypes.js.map +1 -0
  80. package/dist/es/models/epcis20/epcisTypes.js +37 -0
  81. package/dist/es/models/epcis20/epcisTypes.js.map +1 -0
  82. package/dist/es/models/gs1/gs1Contexts.js +8 -2
  83. package/dist/es/models/gs1/gs1Contexts.js.map +1 -1
  84. package/dist/es/schemas/EpcisAggregationEvent.json +102 -0
  85. package/dist/es/schemas/EpcisAssociationEvent.json +103 -0
  86. package/dist/es/schemas/EpcisContextType.json +30 -0
  87. package/dist/es/schemas/EpcisDocument.json +68 -0
  88. package/dist/es/schemas/EpcisObjectEvent.json +106 -0
  89. package/dist/es/schemas/EpcisQueryDocument.json +38 -0
  90. package/dist/es/schemas/EpcisTransactionEvent.json +103 -0
  91. package/dist/es/schemas/EpcisTransformationEvent.json +119 -0
  92. package/dist/es/utils/gs1Is.js +3 -2
  93. package/dist/es/utils/gs1Is.js.map +1 -1
  94. package/dist/types/dataTypes/epcisDataTypes.d.ts +13 -0
  95. package/dist/types/dataTypes/gs1DataTypes.d.ts +1 -1
  96. package/dist/types/entities/gs1Location.d.ts +2 -3
  97. package/dist/types/index.d.ts +26 -7
  98. package/dist/types/models/epcis20/IEpcisAggregationEvent.d.ts +75 -4
  99. package/dist/types/models/epcis20/IEpcisAssociationEvent.d.ts +74 -4
  100. package/dist/types/models/epcis20/IEpcisAttribute.d.ts +15 -0
  101. package/dist/types/models/epcis20/IEpcisBizTransaction.d.ts +11 -5
  102. package/dist/types/models/epcis20/IEpcisDestination.d.ts +12 -5
  103. package/dist/types/models/epcis20/IEpcisDocument.d.ts +33 -6
  104. package/dist/types/models/epcis20/IEpcisErrorDeclaration.d.ts +24 -0
  105. package/dist/types/models/epcis20/IEpcisEvent.d.ts +22 -21
  106. package/dist/types/models/epcis20/IEpcisHeader.d.ts +17 -0
  107. package/dist/types/models/epcis20/IEpcisIlmd.d.ts +7 -0
  108. package/dist/types/models/epcis20/IEpcisLocation.d.ts +11 -0
  109. package/dist/types/models/epcis20/IEpcisObjectEvent.d.ts +72 -12
  110. package/dist/types/models/epcis20/IEpcisPersistentDisposition.d.ts +16 -0
  111. package/dist/types/models/epcis20/IEpcisQuantity.d.ts +13 -5
  112. package/dist/types/models/epcis20/IEpcisQuery.d.ts +2 -1
  113. package/dist/types/models/epcis20/IEpcisQueryDocument.d.ts +8 -29
  114. package/dist/types/models/epcis20/IEpcisQueryDocumentBody.d.ts +11 -0
  115. package/dist/types/models/epcis20/IEpcisQueryResults.d.ts +19 -0
  116. package/dist/types/models/epcis20/IEpcisQueryResultsBody.d.ts +16 -0
  117. package/dist/types/models/epcis20/IEpcisSensorElement.d.ts +12 -8
  118. package/dist/types/models/epcis20/IEpcisSensorMetadata.d.ts +36 -10
  119. package/dist/types/models/epcis20/IEpcisSensorReport.d.ts +121 -8
  120. package/dist/types/models/epcis20/IEpcisSource.d.ts +11 -5
  121. package/dist/types/models/epcis20/IEpcisTransactionEvent.d.ts +78 -0
  122. package/dist/types/models/epcis20/IEpcisTransformationEvent.d.ts +96 -0
  123. package/dist/types/models/epcis20/IEpcisVocabulary.d.ts +15 -0
  124. package/dist/types/models/epcis20/IEpcisVocabularyElement.d.ts +20 -0
  125. package/dist/types/models/epcis20/epcisActionTypes.d.ts +9 -5
  126. package/dist/types/models/epcis20/epcisBizStepTypes.d.ts +144 -3
  127. package/dist/types/models/epcis20/epcisBizTransactionTypes.d.ts +74 -0
  128. package/dist/types/models/epcis20/epcisComponentTypes.d.ts +76 -0
  129. package/dist/types/models/epcis20/epcisContextType.d.ts +8 -0
  130. package/dist/types/models/epcis20/epcisContexts.d.ts +27 -0
  131. package/dist/types/models/epcis20/epcisDispositionTypes.d.ts +117 -3
  132. package/dist/types/models/epcis20/epcisErrorReasonTypes.d.ts +19 -0
  133. package/dist/types/models/epcis20/epcisEventTypes.d.ts +7 -7
  134. package/dist/types/models/epcis20/epcisEvents.d.ts +11 -0
  135. package/dist/types/models/epcis20/epcisMeasurementTypes.d.ts +303 -0
  136. package/dist/types/models/epcis20/epcisSensorAlertTypes.d.ts +19 -0
  137. package/dist/types/models/epcis20/epcisSourceDestTypes.d.ts +26 -0
  138. package/dist/types/models/epcis20/epcisTypes.d.ts +37 -0
  139. package/dist/types/models/gs1/gs1Contexts.d.ts +8 -2
  140. package/dist/types/utils/gs1Is.d.ts +3 -2
  141. package/docs/changelog.md +535 -60
  142. package/docs/examples.md +58 -1
  143. package/docs/reference/classes/EpcisDataTypes.md +37 -0
  144. package/docs/reference/classes/Gs1DataTypes.md +5 -2
  145. package/docs/reference/classes/Gs1Identifiers.md +1 -1
  146. package/docs/reference/classes/Gs1IdentifiersValidation.md +7 -7
  147. package/docs/reference/classes/Gs1Is.md +8 -4
  148. package/docs/reference/classes/Gs1Location.md +34 -32
  149. package/docs/reference/classes/Gs1Validation.md +1 -1
  150. package/docs/reference/index.md +40 -15
  151. package/docs/reference/interfaces/IEPCClassUri.md +3 -3
  152. package/docs/reference/interfaces/IEpcisAggregationEvent.md +219 -0
  153. package/docs/reference/interfaces/IEpcisAssociationEvent.md +218 -0
  154. package/docs/reference/interfaces/IEpcisAttribute.md +23 -0
  155. package/docs/reference/interfaces/IEpcisBizTransaction.md +27 -0
  156. package/docs/reference/interfaces/IEpcisDestination.md +28 -0
  157. package/docs/reference/interfaces/IEpcisDocument.md +60 -8
  158. package/docs/reference/interfaces/IEpcisErrorDeclaration.md +36 -0
  159. package/docs/reference/interfaces/IEpcisEvent.md +37 -33
  160. package/docs/reference/interfaces/IEpcisHeader.md +23 -0
  161. package/docs/reference/interfaces/IEpcisIlmd.md +8 -0
  162. package/docs/reference/interfaces/IEpcisLocation.md +16 -0
  163. package/docs/reference/interfaces/IEpcisObjectEvent.md +224 -0
  164. package/docs/reference/interfaces/IEpcisPersistentDisposition.md +24 -0
  165. package/docs/reference/interfaces/IEpcisQuantity.md +34 -0
  166. package/docs/reference/interfaces/IEpcisQuery.md +6 -2
  167. package/docs/reference/interfaces/IEpcisQueryDocument.md +17 -43
  168. package/docs/reference/interfaces/IEpcisQueryDocumentBody.md +15 -0
  169. package/docs/reference/interfaces/IEpcisQueryResults.md +31 -0
  170. package/docs/reference/interfaces/IEpcisQueryResultsBody.md +23 -0
  171. package/docs/reference/interfaces/IEpcisSensorElement.md +26 -0
  172. package/docs/reference/interfaces/IEpcisSensorMetadata.md +80 -0
  173. package/docs/reference/interfaces/IEpcisSensorReport.md +224 -0
  174. package/docs/reference/interfaces/IEpcisSource.md +27 -0
  175. package/docs/reference/interfaces/IEpcisTransactionEvent.md +216 -0
  176. package/docs/reference/interfaces/IEpcisTransformationEvent.md +245 -0
  177. package/docs/reference/interfaces/IEpcisVocabulary.md +23 -0
  178. package/docs/reference/interfaces/IEpcisVocabularyElement.md +32 -0
  179. package/docs/reference/type-aliases/EpcisActionTypes.md +2 -1
  180. package/docs/reference/type-aliases/EpcisBizStepTypes.md +4 -1
  181. package/docs/reference/type-aliases/EpcisBizTransactionTypes.md +5 -0
  182. package/docs/reference/type-aliases/EpcisComponentTypes.md +5 -0
  183. package/docs/reference/type-aliases/EpcisContextType.md +6 -0
  184. package/docs/reference/type-aliases/EpcisContexts.md +5 -0
  185. package/docs/reference/type-aliases/EpcisDispositionTypes.md +5 -1
  186. package/docs/reference/type-aliases/EpcisErrorReasonTypes.md +5 -0
  187. package/docs/reference/type-aliases/EpcisEventTypes.md +1 -1
  188. package/docs/reference/type-aliases/EpcisEvents.md +6 -0
  189. package/docs/reference/type-aliases/EpcisMeasurementTypes.md +8 -0
  190. package/docs/reference/type-aliases/EpcisSensorAlertTypes.md +6 -0
  191. package/docs/reference/type-aliases/EpcisSourceDestTypes.md +6 -0
  192. package/docs/reference/variables/EpcisActionTypes.md +10 -7
  193. package/docs/reference/variables/EpcisBizStepTypes.md +140 -43
  194. package/docs/reference/variables/EpcisBizTransactionTypes.md +98 -0
  195. package/docs/reference/variables/EpcisComponentTypes.md +102 -0
  196. package/docs/reference/variables/EpcisContexts.md +33 -0
  197. package/docs/reference/variables/EpcisDispositionTypes.md +112 -35
  198. package/docs/reference/variables/EpcisErrorReasonTypes.md +21 -0
  199. package/docs/reference/variables/EpcisEventTypes.md +11 -11
  200. package/docs/reference/variables/EpcisMeasurementTypes.md +442 -0
  201. package/docs/reference/variables/EpcisSensorAlertTypes.md +20 -0
  202. package/docs/reference/variables/EpcisSourceDestTypes.md +29 -0
  203. package/docs/reference/variables/GS1Contexts.md +11 -3
  204. package/docs/reference/variables/Gs1IdTypes.md +20 -20
  205. package/docs/reference/variables/Gs1IdentifierTypes.md +4 -4
  206. package/docs/reference/variables/Gs1SubSiteAttributes.md +33 -33
  207. package/docs/reference/variables/Gs1SubSiteTypes.md +16 -16
  208. package/docs/reference/variables/Gs1Types.md +1 -1
  209. package/package.json +9 -9
  210. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js +0 -2
  211. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js.map +0 -1
  212. package/dist/es/models/epcis20/IEpcisEventDetails.js +0 -2
  213. package/dist/es/models/epcis20/IEpcisEventDetails.js.map +0 -1
  214. package/dist/es/models/epcis20/IEpcisSimpleLocation.js.map +0 -1
  215. package/dist/es/models/epcis20/epcisErrorTypes.js +0 -11
  216. package/dist/es/models/epcis20/epcisErrorTypes.js.map +0 -1
  217. package/dist/es/models/epcis20/epcisEventUnionType.js +0 -2
  218. package/dist/es/models/epcis20/epcisEventUnionType.js.map +0 -1
  219. package/dist/types/models/epcis20/IEpcisBaseAggregationEvent.d.ts +0 -19
  220. package/dist/types/models/epcis20/IEpcisEventDetails.d.ts +0 -35
  221. package/dist/types/models/epcis20/IEpcisSimpleLocation.d.ts +0 -9
  222. package/dist/types/models/epcis20/epcisErrorTypes.d.ts +0 -11
  223. package/dist/types/models/epcis20/epcisEventUnionType.d.ts +0 -7
  224. package/docs/reference/interfaces/IAggregationEvent.md +0 -223
  225. package/docs/reference/interfaces/IAssociationEvent.md +0 -223
  226. package/docs/reference/interfaces/IBizTransaction.md +0 -19
  227. package/docs/reference/interfaces/IDestination.md +0 -19
  228. package/docs/reference/interfaces/IEpcisEventDetails.md +0 -167
  229. package/docs/reference/interfaces/IObjectEvent.md +0 -211
  230. package/docs/reference/interfaces/IQuantity.md +0 -19
  231. package/docs/reference/interfaces/ISensorElement.md +0 -19
  232. package/docs/reference/interfaces/ISensorMetadata.md +0 -35
  233. package/docs/reference/interfaces/ISensorReport.md +0 -27
  234. package/docs/reference/interfaces/ISimpleLocation.md +0 -11
  235. package/docs/reference/interfaces/ISource.md +0 -19
  236. package/docs/reference/type-aliases/EpcisErrorTypes.md +0 -5
  237. package/docs/reference/type-aliases/EpcisEventUnionType.md +0 -5
  238. package/docs/reference/variables/EpcisErrorTypes.md +0 -15
@@ -1,79 +1,83 @@
1
1
  # Interface: IEpcisEvent
2
2
 
3
- EPCIS Event.
3
+ Base EPCIS 2.0 Event carrying shared fields across all event types.
4
+
5
+ ## See
6
+
7
+ https://ref.gs1.org/epcis/Event
4
8
 
5
9
  ## Extended by
6
10
 
7
- - [`IEpcisEventDetails`](IEpcisEventDetails.md)
11
+ - [`IEpcisAggregationEvent`](IEpcisAggregationEvent.md)
12
+ - [`IEpcisAssociationEvent`](IEpcisAssociationEvent.md)
13
+ - [`IEpcisObjectEvent`](IEpcisObjectEvent.md)
14
+ - [`IEpcisTransactionEvent`](IEpcisTransactionEvent.md)
15
+ - [`IEpcisTransformationEvent`](IEpcisTransformationEvent.md)
8
16
 
9
17
  ## Properties
10
18
 
11
- ### @context?
19
+ ### @context {#context}
12
20
 
13
- > `optional` **@context**: `IJsonLdContextDefinition`
21
+ > **@context**: [`EpcisContextType`](../type-aliases/EpcisContextType.md)
14
22
 
15
23
  JSON-LD @context.
16
24
 
17
25
  ***
18
26
 
19
- ### id?
20
-
21
- > `optional` **id**: `string`
22
-
23
- UUID of the event.
24
-
25
- ***
26
-
27
- ### eventID?
27
+ ### type {#type}
28
28
 
29
- > `optional` **eventID**: `string`
29
+ > **type**: `string`
30
30
 
31
- The id of the event. Marked here as optional as we usually won't store it on Tangle.
31
+ Type of Event.
32
32
 
33
33
  ***
34
34
 
35
- ### type
35
+ ### eventID? {#eventid}
36
36
 
37
- > **type**: `string`
37
+ > `optional` **eventID?**: `string`
38
38
 
39
- Type of Event.
39
+ URI identifier of a specific EPCIS event (alias of id in JSON or XML).
40
40
 
41
41
  ***
42
42
 
43
- ### eventTime
43
+ ### certificationInfo? {#certificationinfo}
44
44
 
45
- > **eventTime**: `string`
45
+ > `optional` **certificationInfo?**: `ObjectOrArray`\<`string`\>
46
46
 
47
- Timestamp in UTC.
47
+ (Optional) CertificationDetails relevant for Objects, Places and/or
48
+ Organizations mentioned in this Event.
48
49
 
49
50
  ***
50
51
 
51
- ### eventTimeZoneOffset
52
+ ### errorDeclaration? {#errordeclaration}
52
53
 
53
- > **eventTimeZoneOffset**: `string`
54
+ > `optional` **errorDeclaration?**: [`IEpcisErrorDeclaration`](IEpcisErrorDeclaration.md)
54
55
 
55
- Timezone offset. Useful if we want to represent timestamp in local timezone.
56
+ Error declaration.
56
57
 
57
58
  ***
58
59
 
59
- ### recordTime?
60
+ ### eventTime {#eventtime}
60
61
 
61
- > `optional` **recordTime**: `string`
62
+ > **eventTime**: `string`
62
63
 
63
- When the event was recorded. It will be automatically generated.
64
+ The date and time at which the EPCIS Capturing Applications asserts the event
65
+ occurred.
64
66
 
65
67
  ***
66
68
 
67
- ### sourceList?
69
+ ### eventTimeZoneOffset {#eventtimezoneoffset}
68
70
 
69
- > `optional` **sourceList**: [`ISource`](ISource.md)[]
71
+ > **eventTimeZoneOffset**: `string`
70
72
 
71
- Source list. Semantics according to EPCIS standard.
73
+ The time zone offset in effect at the time and place the event occurred,
74
+ expressed as an offset from UTC.
72
75
 
73
76
  ***
74
77
 
75
- ### destinationList?
78
+ ### recordTime? {#recordtime}
76
79
 
77
- > `optional` **destinationList**: [`IDestination`](IDestination.md)[]
80
+ > `optional` **recordTime?**: `string`
78
81
 
79
- Destination list. Semantics according to EPCIS standard.
82
+ (Optional) The date and time at which this event was recorded by an EPCIS
83
+ Repository; ignored at capture and present on query results.
@@ -0,0 +1,23 @@
1
+ # Interface: IEpcisHeader
2
+
3
+ EPCIS 2.0 Header carrying optional master data alongside an EPCIS document.
4
+
5
+ ## See
6
+
7
+ https://ref.gs1.org/epcis/EPCISHeader
8
+
9
+ ## Properties
10
+
11
+ ### epcisMasterData? {#epcismasterdata}
12
+
13
+ > `optional` **epcisMasterData?**: `IJsonLdNodeObject` & `object`
14
+
15
+ EPCIS master data.
16
+
17
+ #### Type Declaration
18
+
19
+ ##### vocabularyList?
20
+
21
+ > `optional` **vocabularyList?**: [`IEpcisVocabulary`](IEpcisVocabulary.md)[]
22
+
23
+ Vocabulary list.
@@ -0,0 +1,8 @@
1
+ # Interface: IEpcisIlmd
2
+
3
+ EPCIS 2.0 Instance/Lot Master Data (ILMD) container for event-level master
4
+ data extensions.
5
+
6
+ ## See
7
+
8
+ https://ref.gs1.org/epcis/ILMD
@@ -0,0 +1,16 @@
1
+ # Interface: IEpcisLocation
2
+
3
+ EPCIS 2.0 Location reference (readPoint/bizLocation) that wraps a location
4
+ identifier.
5
+
6
+ ## See
7
+
8
+ https://ref.gs1.org/epcis/ReadPoint
9
+
10
+ ## Properties
11
+
12
+ ### id {#id}
13
+
14
+ > **id**: `string`
15
+
16
+ The location identifier (URI/IRI per EPCIS schema and SHACL).
@@ -0,0 +1,224 @@
1
+ # Interface: IEpcisObjectEvent
2
+
3
+ EPCIS 2.0 ObjectEvent describing one or more objects (instance- or class-level)
4
+ observed at a point in the business process.
5
+
6
+ ## See
7
+
8
+ https://ref.gs1.org/epcis/ObjectEvent
9
+
10
+ ## Extends
11
+
12
+ - [`IEpcisEvent`](IEpcisEvent.md)
13
+
14
+ ## Properties
15
+
16
+ ### @context {#context}
17
+
18
+ > **@context**: [`EpcisContextType`](../type-aliases/EpcisContextType.md)
19
+
20
+ JSON-LD @context.
21
+
22
+ #### Inherited from
23
+
24
+ [`IEpcisEvent`](IEpcisEvent.md).[`@context`](IEpcisEvent.md#context)
25
+
26
+ ***
27
+
28
+ ### eventID? {#eventid}
29
+
30
+ > `optional` **eventID?**: `string`
31
+
32
+ URI identifier of a specific EPCIS event (alias of id in JSON or XML).
33
+
34
+ #### Inherited from
35
+
36
+ [`IEpcisEvent`](IEpcisEvent.md).[`eventID`](IEpcisEvent.md#eventid)
37
+
38
+ ***
39
+
40
+ ### certificationInfo? {#certificationinfo}
41
+
42
+ > `optional` **certificationInfo?**: `ObjectOrArray`\<`string`\>
43
+
44
+ (Optional) CertificationDetails relevant for Objects, Places and/or
45
+ Organizations mentioned in this Event.
46
+
47
+ #### Inherited from
48
+
49
+ [`IEpcisEvent`](IEpcisEvent.md).[`certificationInfo`](IEpcisEvent.md#certificationinfo)
50
+
51
+ ***
52
+
53
+ ### errorDeclaration? {#errordeclaration}
54
+
55
+ > `optional` **errorDeclaration?**: [`IEpcisErrorDeclaration`](IEpcisErrorDeclaration.md)
56
+
57
+ Error declaration.
58
+
59
+ #### Inherited from
60
+
61
+ [`IEpcisEvent`](IEpcisEvent.md).[`errorDeclaration`](IEpcisEvent.md#errordeclaration)
62
+
63
+ ***
64
+
65
+ ### eventTime {#eventtime}
66
+
67
+ > **eventTime**: `string`
68
+
69
+ The date and time at which the EPCIS Capturing Applications asserts the event
70
+ occurred.
71
+
72
+ #### Inherited from
73
+
74
+ [`IEpcisEvent`](IEpcisEvent.md).[`eventTime`](IEpcisEvent.md#eventtime)
75
+
76
+ ***
77
+
78
+ ### eventTimeZoneOffset {#eventtimezoneoffset}
79
+
80
+ > **eventTimeZoneOffset**: `string`
81
+
82
+ The time zone offset in effect at the time and place the event occurred,
83
+ expressed as an offset from UTC.
84
+
85
+ #### Inherited from
86
+
87
+ [`IEpcisEvent`](IEpcisEvent.md).[`eventTimeZoneOffset`](IEpcisEvent.md#eventtimezoneoffset)
88
+
89
+ ***
90
+
91
+ ### recordTime? {#recordtime}
92
+
93
+ > `optional` **recordTime?**: `string`
94
+
95
+ (Optional) The date and time at which this event was recorded by an EPCIS
96
+ Repository; ignored at capture and present on query results.
97
+
98
+ #### Inherited from
99
+
100
+ [`IEpcisEvent`](IEpcisEvent.md).[`recordTime`](IEpcisEvent.md#recordtime)
101
+
102
+ ***
103
+
104
+ ### type {#type}
105
+
106
+ > **type**: `"ObjectEvent"`
107
+
108
+ Fixed to ObjectEvent.
109
+
110
+ #### Overrides
111
+
112
+ [`IEpcisEvent`](IEpcisEvent.md).[`type`](IEpcisEvent.md#type)
113
+
114
+ ***
115
+
116
+ ### epcList? {#epclist}
117
+
118
+ > `optional` **epcList?**: `string`[]
119
+
120
+ (Optional) Unordered list of one or more EPCs naming specific objects to which
121
+ the event pertained.
122
+
123
+ ***
124
+
125
+ ### quantityList? {#quantitylist}
126
+
127
+ > `optional` **quantityList?**: [`IEpcisQuantity`](IEpcisQuantity.md)[]
128
+
129
+ Unordered list of one or more QuantityElements identifying contained objects at
130
+ the class level.
131
+
132
+ ***
133
+
134
+ ### action {#action}
135
+
136
+ > **action**: [`EpcisActionTypes`](../type-aliases/EpcisActionTypes.md)
137
+
138
+ How this event relates to the lifecycle of the EPCs named in this event.
139
+
140
+ ***
141
+
142
+ ### bizStep? {#bizstep}
143
+
144
+ > `optional` **bizStep?**: `string`
145
+
146
+ (Optional) The business step of which this event was a part.
147
+
148
+ ***
149
+
150
+ ### disposition? {#disposition}
151
+
152
+ > `optional` **disposition?**: `string`
153
+
154
+ (Optional) The business condition of the objects associated with the EPCs,
155
+ presumed to hold true until contradicted by a subsequent event.
156
+
157
+ ***
158
+
159
+ ### persistentDisposition? {#persistentdisposition}
160
+
161
+ > `optional` **persistentDisposition?**: [`IEpcisPersistentDisposition`](IEpcisPersistentDisposition.md)
162
+
163
+ Persistent disposition.
164
+
165
+ ***
166
+
167
+ ### readPoint? {#readpoint}
168
+
169
+ > `optional` **readPoint?**: [`IEpcisLocation`](IEpcisLocation.md)
170
+
171
+ (Optional) The read point at which the event took place.
172
+
173
+ ***
174
+
175
+ ### bizLocation? {#bizlocation}
176
+
177
+ > `optional` **bizLocation?**: [`IEpcisLocation`](IEpcisLocation.md)
178
+
179
+ (Optional) The business location where the objects associated with the EPCs may
180
+ be found, until contradicted by a subsequent event.
181
+
182
+ ***
183
+
184
+ ### bizTransactionList? {#biztransactionlist}
185
+
186
+ > `optional` **bizTransactionList?**: [`IEpcisBizTransaction`](IEpcisBizTransaction.md)[]
187
+
188
+ (Optional) Unordered list of business transactions that define the context of
189
+ this event.
190
+
191
+ ***
192
+
193
+ ### sourceList? {#sourcelist}
194
+
195
+ > `optional` **sourceList?**: [`IEpcisSource`](IEpcisSource.md)[]
196
+
197
+ (Optional) Unordered list of Source elements that provide context about the
198
+ originating endpoint of a business transfer of which this event is a part.
199
+
200
+ ***
201
+
202
+ ### destinationList? {#destinationlist}
203
+
204
+ > `optional` **destinationList?**: [`IEpcisDestination`](IEpcisDestination.md)[]
205
+
206
+ (Optional) Unordered list of Destination elements that provide context about the
207
+ terminating endpoint of a business transfer of which this event is a part.
208
+
209
+ ***
210
+
211
+ ### sensorElementList? {#sensorelementlist}
212
+
213
+ > `optional` **sensorElementList?**: [`IEpcisSensorElement`](IEpcisSensorElement.md)[]
214
+
215
+ (Optional) Connects event to one or more SensorElements.
216
+
217
+ ***
218
+
219
+ ### ilmd? {#ilmd}
220
+
221
+ > `optional` **ilmd?**: [`IEpcisIlmd`](IEpcisIlmd.md)
222
+
223
+ (Optional) Instance/Lot master data that describes the objects created during
224
+ this event.
@@ -0,0 +1,24 @@
1
+ # Interface: IEpcisPersistentDisposition
2
+
3
+ EPCIS 2.0 PersistentDisposition indicating business conditions to set or unset
4
+ independently of event disposition.
5
+
6
+ ## See
7
+
8
+ https://ref.gs1.org/epcis/PersistentDisposition
9
+
10
+ ## Properties
11
+
12
+ ### set? {#set}
13
+
14
+ > `optional` **set?**: `string`[]
15
+
16
+ (Optional) List of persistentDisposition URI values to be set.
17
+
18
+ ***
19
+
20
+ ### unset? {#unset}
21
+
22
+ > `optional` **unset?**: `string`[]
23
+
24
+ (Optional) List of persistentDisposition URI values to be unset (revoked).
@@ -0,0 +1,34 @@
1
+ # Interface: IEpcisQuantity
2
+
3
+ EPCIS 2.0 QuantityElement defining class-level identifiers and amounts.
4
+
5
+ ## See
6
+
7
+ https://ref.gs1.org/epcis/QuantityElement
8
+
9
+ ## Properties
10
+
11
+ ### epcClass {#epcclass}
12
+
13
+ > **epcClass**: `string`
14
+
15
+ A class-level identifier for the class to which the specified quantity of
16
+ objects belongs.
17
+
18
+ ***
19
+
20
+ ### quantity? {#quantity}
21
+
22
+ > `optional` **quantity?**: `number`
23
+
24
+ (Optional) A number that specifies how many or how much of the specified
25
+ EPCClass is denoted by this QuantityElement.
26
+
27
+ ***
28
+
29
+ ### uom? {#uom}
30
+
31
+ > `optional` **uom?**: `string`
32
+
33
+ (Optional) Unit of measure by which the specified value(s) of the property
34
+ specified by type should be interpreted.
@@ -1,7 +1,11 @@
1
1
  # Interface: IEpcisQuery
2
2
 
3
- EPCIS Query type.
3
+ EPCIS 2.0 Query key/value parameter map used in query documents.
4
+
5
+ ## See
6
+
7
+ https://ref.gs1.org/epcis/Query
4
8
 
5
9
  ## Indexable
6
10
 
7
- \[`key`: `string`\]: `string`
11
+ > \[`key`: `string`\]: `string`
@@ -1,81 +1,55 @@
1
1
  # Interface: IEpcisQueryDocument
2
2
 
3
- EPCIS Query Document.
3
+ EPCIS 2.0 QueryDocument used to submit queries to an EPCIS repository.
4
+
5
+ ## See
6
+
7
+ https://ref.gs1.org/epcis/EPCISQueryDocument
4
8
 
5
9
  ## Properties
6
10
 
7
- ### @context
11
+ ### @context {#context}
8
12
 
9
- > **@context**: `IJsonLdContextDefinition`
13
+ > **@context**: [`EpcisContextType`](../type-aliases/EpcisContextType.md)
10
14
 
11
15
  The @context.
12
16
 
13
17
  ***
14
18
 
15
- ### id?
19
+ ### id? {#id}
16
20
 
17
- > `optional` **id**: `string`
21
+ > `optional` **id?**: `string`
18
22
 
19
23
  The JSON-LD document id.
20
24
 
21
25
  ***
22
26
 
23
- ### type
27
+ ### type {#type}
24
28
 
25
- > **type**: `string`
29
+ > **type**: `"EPCISQueryDocument"`
26
30
 
27
31
  JSON-LD Type.
28
32
 
29
33
  ***
30
34
 
31
- ### schemaVersion?
35
+ ### schemaVersion? {#schemaversion}
32
36
 
33
- > `optional` **schemaVersion**: `string`
37
+ > `optional` **schemaVersion?**: `string`
34
38
 
35
39
  Schema version.
36
40
 
37
41
  ***
38
42
 
39
- ### creationDate?
43
+ ### creationDate? {#creationdate}
40
44
 
41
- > `optional` **creationDate**: `string`
45
+ > `optional` **creationDate?**: `string`
42
46
 
43
47
  Creation Date.
44
48
 
45
49
  ***
46
50
 
47
- ### epcisBody
51
+ ### epcisBody {#epcisbody}
48
52
 
49
- > **epcisBody**: `object`
53
+ > **epcisBody**: [`IEpcisQueryDocumentBody`](IEpcisQueryDocumentBody.md)
50
54
 
51
55
  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.
@@ -0,0 +1,15 @@
1
+ # Interface: IEpcisQueryDocumentBody
2
+
3
+ EPCIS 2.0 QueryDocumentBody wrapper that carries query results.
4
+
5
+ ## See
6
+
7
+ https://ref.gs1.org/epcis/QueryDocumentBody
8
+
9
+ ## Properties
10
+
11
+ ### queryResults {#queryresults}
12
+
13
+ > **queryResults**: [`IEpcisQueryResults`](IEpcisQueryResults.md)
14
+
15
+ The results of the query.
@@ -0,0 +1,31 @@
1
+ # Interface: IEpcisQueryResults
2
+
3
+ EPCIS 2.0 QueryResults payload returned from a repository query.
4
+
5
+ ## See
6
+
7
+ https://ref.gs1.org/epcis/QueryResults
8
+
9
+ ## Properties
10
+
11
+ ### subscriptionID? {#subscriptionid}
12
+
13
+ > `optional` **subscriptionID?**: `string`
14
+
15
+ The concerned subscription.
16
+
17
+ ***
18
+
19
+ ### queryName {#queryname}
20
+
21
+ > **queryName**: `string`
22
+
23
+ The concerned query.
24
+
25
+ ***
26
+
27
+ ### resultsBody {#resultsbody}
28
+
29
+ > **resultsBody**: [`IEpcisQueryResultsBody`](IEpcisQueryResultsBody.md)
30
+
31
+ The query results payload.
@@ -0,0 +1,23 @@
1
+ # Interface: IEpcisQueryResultsBody
2
+
3
+ EPCIS 2.0 QueryResultsBody containing events and optional master data.
4
+
5
+ ## See
6
+
7
+ https://ref.gs1.org/epcis/QueryResultsBody
8
+
9
+ ## Properties
10
+
11
+ ### eventList {#eventlist}
12
+
13
+ > **eventList**: [`EpcisEvents`](../type-aliases/EpcisEvents.md)[]
14
+
15
+ The list of events.
16
+
17
+ ***
18
+
19
+ ### vocabularyList? {#vocabularylist}
20
+
21
+ > `optional` **vocabularyList?**: [`IEpcisVocabulary`](IEpcisVocabulary.md)[]
22
+
23
+ Optional master data.
@@ -0,0 +1,26 @@
1
+ # Interface: IEpcisSensorElement
2
+
3
+ EPCIS 2.0 SensorElement grouping metadata and one or more SensorReport
4
+ entries.
5
+
6
+ ## See
7
+
8
+ https://ref.gs1.org/epcis/SensorElement
9
+
10
+ ## Properties
11
+
12
+ ### sensorMetadata? {#sensormetadata}
13
+
14
+ > `optional` **sensorMetadata?**: [`IEpcisSensorMetadata`](IEpcisSensorMetadata.md)
15
+
16
+ (Optional) Element containing metadata attributes applicable to all
17
+ sensorReport entries within this sensorElement.
18
+
19
+ ***
20
+
21
+ ### sensorReport {#sensorreport}
22
+
23
+ > **sensorReport**: [`IEpcisSensorReport`](IEpcisSensorReport.md)[]
24
+
25
+ An element containing one or several attributes that pertain to a specific
26
+ sensor observation.