@twin.org/standards-gs1 0.0.3-next.10 → 0.0.3-next.11

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 (219) hide show
  1. package/dist/es/dataTypes/epcisDataTypes.js +61 -0
  2. package/dist/es/dataTypes/epcisDataTypes.js.map +1 -0
  3. package/dist/es/dataTypes/gs1DataTypes.js +2 -2
  4. package/dist/es/dataTypes/gs1DataTypes.js.map +1 -1
  5. package/dist/es/index.js +26 -7
  6. package/dist/es/index.js.map +1 -1
  7. package/dist/es/models/epcis20/IEpcisAggregationEvent.js.map +1 -1
  8. package/dist/es/models/epcis20/IEpcisAssociationEvent.js.map +1 -1
  9. package/dist/es/models/epcis20/IEpcisAttribute.js +2 -0
  10. package/dist/es/models/epcis20/IEpcisAttribute.js.map +1 -0
  11. package/dist/es/models/epcis20/IEpcisBizTransaction.js +0 -2
  12. package/dist/es/models/epcis20/IEpcisBizTransaction.js.map +1 -1
  13. package/dist/es/models/epcis20/IEpcisDestination.js +0 -2
  14. package/dist/es/models/epcis20/IEpcisDestination.js.map +1 -1
  15. package/dist/es/models/epcis20/IEpcisDocument.js.map +1 -1
  16. package/dist/es/models/epcis20/IEpcisErrorDeclaration.js +2 -0
  17. package/dist/es/models/epcis20/IEpcisErrorDeclaration.js.map +1 -0
  18. package/dist/es/models/epcis20/IEpcisEvent.js.map +1 -1
  19. package/dist/es/models/epcis20/IEpcisHeader.js +2 -0
  20. package/dist/es/models/epcis20/IEpcisHeader.js.map +1 -0
  21. package/dist/es/models/epcis20/IEpcisIlmd.js +2 -0
  22. package/dist/es/models/epcis20/IEpcisIlmd.js.map +1 -0
  23. package/dist/es/models/epcis20/IEpcisLocation.js +2 -0
  24. package/dist/es/models/epcis20/IEpcisLocation.js.map +1 -0
  25. package/dist/es/models/epcis20/IEpcisObjectEvent.js.map +1 -1
  26. package/dist/es/models/epcis20/IEpcisPersistentDisposition.js +2 -0
  27. package/dist/es/models/epcis20/IEpcisPersistentDisposition.js.map +1 -0
  28. package/dist/es/models/epcis20/IEpcisQuantity.js +0 -2
  29. package/dist/es/models/epcis20/IEpcisQuantity.js.map +1 -1
  30. package/dist/es/models/epcis20/IEpcisQuery.js.map +1 -1
  31. package/dist/es/models/epcis20/IEpcisQueryDocument.js.map +1 -1
  32. package/dist/es/models/epcis20/IEpcisQueryDocumentBody.js +2 -0
  33. package/dist/es/models/epcis20/IEpcisQueryDocumentBody.js.map +1 -0
  34. package/dist/es/models/epcis20/IEpcisQueryResults.js +2 -0
  35. package/dist/es/models/epcis20/IEpcisQueryResults.js.map +1 -0
  36. package/dist/es/models/epcis20/IEpcisQueryResultsBody.js +2 -0
  37. package/dist/es/models/epcis20/IEpcisQueryResultsBody.js.map +1 -0
  38. package/dist/es/models/epcis20/IEpcisSensorElement.js.map +1 -1
  39. package/dist/es/models/epcis20/IEpcisSensorMetadata.js +0 -2
  40. package/dist/es/models/epcis20/IEpcisSensorMetadata.js.map +1 -1
  41. package/dist/es/models/epcis20/IEpcisSensorReport.js +0 -2
  42. package/dist/es/models/epcis20/IEpcisSensorReport.js.map +1 -1
  43. package/dist/es/models/epcis20/IEpcisSource.js +0 -2
  44. package/dist/es/models/epcis20/IEpcisSource.js.map +1 -1
  45. package/dist/es/models/epcis20/IEpcisTransactionEvent.js +2 -0
  46. package/dist/es/models/epcis20/IEpcisTransactionEvent.js.map +1 -0
  47. package/dist/es/models/epcis20/IEpcisTransformationEvent.js +2 -0
  48. package/dist/es/models/epcis20/IEpcisTransformationEvent.js.map +1 -0
  49. package/dist/es/models/epcis20/IEpcisVocabulary.js +2 -0
  50. package/dist/es/models/epcis20/IEpcisVocabulary.js.map +1 -0
  51. package/dist/es/models/epcis20/IEpcisVocabularyElement.js +2 -0
  52. package/dist/es/models/epcis20/IEpcisVocabularyElement.js.map +1 -0
  53. package/dist/es/models/epcis20/epcisActionTypes.js +7 -4
  54. package/dist/es/models/epcis20/epcisActionTypes.js.map +1 -1
  55. package/dist/es/models/epcis20/epcisBizStepTypes.js +140 -2
  56. package/dist/es/models/epcis20/epcisBizStepTypes.js.map +1 -1
  57. package/dist/es/models/epcis20/epcisBizTransactionTypes.js +75 -0
  58. package/dist/es/models/epcis20/epcisBizTransactionTypes.js.map +1 -0
  59. package/dist/es/models/epcis20/epcisComponentTypes.js +77 -0
  60. package/dist/es/models/epcis20/epcisComponentTypes.js.map +1 -0
  61. package/dist/es/models/epcis20/epcisContextType.js +2 -0
  62. package/dist/es/models/epcis20/epcisContextType.js.map +1 -0
  63. package/dist/es/models/epcis20/epcisContexts.js +17 -0
  64. package/dist/es/models/epcis20/epcisContexts.js.map +1 -0
  65. package/dist/es/models/epcis20/epcisDispositionTypes.js +112 -2
  66. package/dist/es/models/epcis20/epcisDispositionTypes.js.map +1 -1
  67. package/dist/es/models/epcis20/epcisErrorReasonTypes.js +20 -0
  68. package/dist/es/models/epcis20/epcisErrorReasonTypes.js.map +1 -0
  69. package/dist/es/models/epcis20/epcisEventTypes.js +6 -6
  70. package/dist/es/models/epcis20/epcisEventTypes.js.map +1 -1
  71. package/dist/es/models/epcis20/epcisEvents.js +2 -0
  72. package/dist/es/models/epcis20/epcisEvents.js.map +1 -0
  73. package/dist/es/models/epcis20/epcisMeasurementTypes.js +301 -0
  74. package/dist/es/models/epcis20/epcisMeasurementTypes.js.map +1 -0
  75. package/dist/es/models/epcis20/epcisSensorAlertTypes.js +19 -0
  76. package/dist/es/models/epcis20/epcisSensorAlertTypes.js.map +1 -0
  77. package/dist/es/models/epcis20/epcisSourceDestTypes.js +26 -0
  78. package/dist/es/models/epcis20/epcisSourceDestTypes.js.map +1 -0
  79. package/dist/es/models/epcis20/epcisTypes.js +37 -0
  80. package/dist/es/models/epcis20/epcisTypes.js.map +1 -0
  81. package/dist/es/models/gs1/gs1Contexts.js +2 -2
  82. package/dist/es/models/gs1/gs1Contexts.js.map +1 -1
  83. package/dist/es/schemas/EpcisAggregationEvent.json +273 -0
  84. package/dist/es/schemas/EpcisAssociationEvent.json +274 -0
  85. package/dist/es/schemas/EpcisDocument.json +204 -0
  86. package/dist/es/schemas/EpcisObjectEvent.json +277 -0
  87. package/dist/es/schemas/EpcisQueryDocument.json +173 -0
  88. package/dist/es/schemas/EpcisTransactionEvent.json +274 -0
  89. package/dist/es/schemas/EpcisTransformationEvent.json +290 -0
  90. package/dist/types/dataTypes/epcisDataTypes.d.ts +13 -0
  91. package/dist/types/index.d.ts +26 -7
  92. package/dist/types/models/epcis20/IEpcisAggregationEvent.d.ts +75 -4
  93. package/dist/types/models/epcis20/IEpcisAssociationEvent.d.ts +74 -4
  94. package/dist/types/models/epcis20/IEpcisAttribute.d.ts +15 -0
  95. package/dist/types/models/epcis20/IEpcisBizTransaction.d.ts +12 -5
  96. package/dist/types/models/epcis20/IEpcisDestination.d.ts +13 -5
  97. package/dist/types/models/epcis20/IEpcisDocument.d.ts +35 -7
  98. package/dist/types/models/epcis20/IEpcisErrorDeclaration.d.ts +25 -0
  99. package/dist/types/models/epcis20/IEpcisEvent.d.ts +23 -22
  100. package/dist/types/models/epcis20/IEpcisHeader.d.ts +17 -0
  101. package/dist/types/models/epcis20/IEpcisIlmd.d.ts +8 -0
  102. package/dist/types/models/epcis20/IEpcisLocation.d.ts +12 -0
  103. package/dist/types/models/epcis20/IEpcisObjectEvent.d.ts +72 -12
  104. package/dist/types/models/epcis20/IEpcisPersistentDisposition.d.ts +17 -0
  105. package/dist/types/models/epcis20/IEpcisQuantity.d.ts +14 -5
  106. package/dist/types/models/epcis20/IEpcisQuery.d.ts +2 -1
  107. package/dist/types/models/epcis20/IEpcisQueryDocument.d.ts +10 -30
  108. package/dist/types/models/epcis20/IEpcisQueryDocumentBody.d.ts +12 -0
  109. package/dist/types/models/epcis20/IEpcisQueryResults.d.ts +20 -0
  110. package/dist/types/models/epcis20/IEpcisQueryResultsBody.d.ts +17 -0
  111. package/dist/types/models/epcis20/IEpcisSensorElement.d.ts +13 -8
  112. package/dist/types/models/epcis20/IEpcisSensorMetadata.d.ts +37 -10
  113. package/dist/types/models/epcis20/IEpcisSensorReport.d.ts +122 -8
  114. package/dist/types/models/epcis20/IEpcisSource.d.ts +12 -5
  115. package/dist/types/models/epcis20/IEpcisTransactionEvent.d.ts +78 -0
  116. package/dist/types/models/epcis20/IEpcisTransformationEvent.d.ts +96 -0
  117. package/dist/types/models/epcis20/IEpcisVocabulary.d.ts +16 -0
  118. package/dist/types/models/epcis20/IEpcisVocabularyElement.d.ts +21 -0
  119. package/dist/types/models/epcis20/epcisActionTypes.d.ts +9 -5
  120. package/dist/types/models/epcis20/epcisBizStepTypes.d.ts +144 -3
  121. package/dist/types/models/epcis20/epcisBizTransactionTypes.d.ts +74 -0
  122. package/dist/types/models/epcis20/epcisComponentTypes.d.ts +76 -0
  123. package/dist/types/models/epcis20/epcisContextType.d.ts +15 -0
  124. package/dist/types/models/epcis20/epcisContexts.d.ts +17 -0
  125. package/dist/types/models/epcis20/epcisDispositionTypes.d.ts +117 -3
  126. package/dist/types/models/epcis20/epcisErrorReasonTypes.d.ts +19 -0
  127. package/dist/types/models/epcis20/epcisEventTypes.d.ts +7 -7
  128. package/dist/types/models/epcis20/epcisEvents.d.ts +11 -0
  129. package/dist/types/models/epcis20/epcisMeasurementTypes.d.ts +303 -0
  130. package/dist/types/models/epcis20/epcisSensorAlertTypes.d.ts +19 -0
  131. package/dist/types/models/epcis20/epcisSourceDestTypes.d.ts +26 -0
  132. package/dist/types/models/epcis20/epcisTypes.d.ts +37 -0
  133. package/dist/types/models/gs1/gs1Contexts.d.ts +2 -2
  134. package/docs/changelog.md +8 -0
  135. package/docs/reference/classes/EpcisDataTypes.md +37 -0
  136. package/docs/reference/index.md +40 -15
  137. package/docs/reference/interfaces/IEpcisAggregationEvent.md +223 -0
  138. package/docs/reference/interfaces/IEpcisAssociationEvent.md +222 -0
  139. package/docs/reference/interfaces/IEpcisAttribute.md +31 -0
  140. package/docs/reference/interfaces/IEpcisBizTransaction.md +35 -0
  141. package/docs/reference/interfaces/IEpcisDestination.md +36 -0
  142. package/docs/reference/interfaces/IEpcisDocument.md +67 -3
  143. package/docs/reference/interfaces/IEpcisErrorDeclaration.md +44 -0
  144. package/docs/reference/interfaces/IEpcisEvent.md +46 -30
  145. package/docs/reference/interfaces/IEpcisHeader.md +31 -0
  146. package/docs/reference/interfaces/IEpcisIlmd.md +16 -0
  147. package/docs/reference/interfaces/IEpcisLocation.md +24 -0
  148. package/docs/reference/interfaces/IEpcisObjectEvent.md +228 -0
  149. package/docs/reference/interfaces/IEpcisPersistentDisposition.md +32 -0
  150. package/docs/reference/interfaces/IEpcisQuantity.md +42 -0
  151. package/docs/reference/interfaces/IEpcisQuery.md +5 -1
  152. package/docs/reference/interfaces/IEpcisQueryDocument.md +20 -34
  153. package/docs/reference/interfaces/IEpcisQueryDocumentBody.md +23 -0
  154. package/docs/reference/interfaces/IEpcisQueryResults.md +39 -0
  155. package/docs/reference/interfaces/IEpcisQueryResultsBody.md +31 -0
  156. package/docs/reference/interfaces/IEpcisSensorElement.md +34 -0
  157. package/docs/reference/interfaces/IEpcisSensorMetadata.md +88 -0
  158. package/docs/reference/interfaces/IEpcisSensorReport.md +232 -0
  159. package/docs/reference/interfaces/IEpcisSource.md +35 -0
  160. package/docs/reference/interfaces/IEpcisTransactionEvent.md +220 -0
  161. package/docs/reference/interfaces/IEpcisTransformationEvent.md +249 -0
  162. package/docs/reference/interfaces/IEpcisVocabulary.md +31 -0
  163. package/docs/reference/interfaces/IEpcisVocabularyElement.md +40 -0
  164. package/docs/reference/type-aliases/EpcisActionTypes.md +2 -1
  165. package/docs/reference/type-aliases/EpcisBizStepTypes.md +4 -1
  166. package/docs/reference/type-aliases/EpcisBizTransactionTypes.md +5 -0
  167. package/docs/reference/type-aliases/EpcisComponentTypes.md +5 -0
  168. package/docs/reference/type-aliases/EpcisContextType.md +6 -0
  169. package/docs/reference/type-aliases/EpcisContexts.md +5 -0
  170. package/docs/reference/type-aliases/EpcisDispositionTypes.md +5 -1
  171. package/docs/reference/type-aliases/EpcisErrorReasonTypes.md +5 -0
  172. package/docs/reference/type-aliases/EpcisEventTypes.md +1 -1
  173. package/docs/reference/type-aliases/EpcisEvents.md +6 -0
  174. package/docs/reference/type-aliases/EpcisMeasurementTypes.md +8 -0
  175. package/docs/reference/type-aliases/EpcisSensorAlertTypes.md +6 -0
  176. package/docs/reference/type-aliases/EpcisSourceDestTypes.md +6 -0
  177. package/docs/reference/variables/EpcisActionTypes.md +7 -4
  178. package/docs/reference/variables/EpcisBizStepTypes.md +99 -2
  179. package/docs/reference/variables/EpcisBizTransactionTypes.md +98 -0
  180. package/docs/reference/variables/EpcisComponentTypes.md +102 -0
  181. package/docs/reference/variables/EpcisContexts.md +19 -0
  182. package/docs/reference/variables/EpcisDispositionTypes.md +79 -2
  183. package/docs/reference/variables/EpcisErrorReasonTypes.md +21 -0
  184. package/docs/reference/variables/EpcisEventTypes.md +6 -6
  185. package/docs/reference/variables/EpcisMeasurementTypes.md +442 -0
  186. package/docs/reference/variables/EpcisSensorAlertTypes.md +20 -0
  187. package/docs/reference/variables/EpcisSourceDestTypes.md +29 -0
  188. package/docs/reference/variables/GS1Contexts.md +3 -3
  189. package/package.json +1 -1
  190. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js +0 -2
  191. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js.map +0 -1
  192. package/dist/es/models/epcis20/IEpcisEventDetails.js +0 -2
  193. package/dist/es/models/epcis20/IEpcisEventDetails.js.map +0 -1
  194. package/dist/es/models/epcis20/IEpcisSimpleLocation.js +0 -4
  195. package/dist/es/models/epcis20/IEpcisSimpleLocation.js.map +0 -1
  196. package/dist/es/models/epcis20/epcisErrorTypes.js +0 -11
  197. package/dist/es/models/epcis20/epcisErrorTypes.js.map +0 -1
  198. package/dist/es/models/epcis20/epcisEventUnionType.js +0 -2
  199. package/dist/es/models/epcis20/epcisEventUnionType.js.map +0 -1
  200. package/dist/types/models/epcis20/IEpcisBaseAggregationEvent.d.ts +0 -19
  201. package/dist/types/models/epcis20/IEpcisEventDetails.d.ts +0 -35
  202. package/dist/types/models/epcis20/IEpcisSimpleLocation.d.ts +0 -9
  203. package/dist/types/models/epcis20/epcisErrorTypes.d.ts +0 -11
  204. package/dist/types/models/epcis20/epcisEventUnionType.d.ts +0 -7
  205. package/docs/reference/interfaces/IAggregationEvent.md +0 -223
  206. package/docs/reference/interfaces/IAssociationEvent.md +0 -223
  207. package/docs/reference/interfaces/IBizTransaction.md +0 -19
  208. package/docs/reference/interfaces/IDestination.md +0 -19
  209. package/docs/reference/interfaces/IEpcisEventDetails.md +0 -167
  210. package/docs/reference/interfaces/IObjectEvent.md +0 -211
  211. package/docs/reference/interfaces/IQuantity.md +0 -19
  212. package/docs/reference/interfaces/ISensorElement.md +0 -19
  213. package/docs/reference/interfaces/ISensorMetadata.md +0 -35
  214. package/docs/reference/interfaces/ISensorReport.md +0 -27
  215. package/docs/reference/interfaces/ISimpleLocation.md +0 -11
  216. package/docs/reference/interfaces/ISource.md +0 -19
  217. package/docs/reference/type-aliases/EpcisErrorTypes.md +0 -5
  218. package/docs/reference/type-aliases/EpcisEventUnionType.md +0 -5
  219. package/docs/reference/variables/EpcisErrorTypes.md +0 -15
@@ -0,0 +1,21 @@
1
+ # Variable: EpcisErrorReasonTypes
2
+
3
+ > `const` **EpcisErrorReasonTypes**: `object`
4
+
5
+ Supported EPCIS 2.0 `error-reason` values from the GS1 EPCIS JSON Schema.
6
+
7
+ ## Type Declaration
8
+
9
+ ### DidNotOccur
10
+
11
+ > `readonly` **DidNotOccur**: `"did_not_occur"` = `"did_not_occur"`
12
+
13
+ Prior event is erroneous because it did not actually occur; no corrective
14
+ events exist.
15
+
16
+ ### IncorrectData
17
+
18
+ > `readonly` **IncorrectData**: `"incorrect_data"` = `"incorrect_data"`
19
+
20
+ Prior event has incorrect data and may be corrected by subsequent linked
21
+ events.
@@ -2,7 +2,7 @@
2
2
 
3
3
  > `const` **EpcisEventTypes**: `object`
4
4
 
5
- EPCIS 2.0 event types.
5
+ EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.
6
6
 
7
7
  ## Type Declaration
8
8
 
@@ -10,28 +10,28 @@ EPCIS 2.0 event types.
10
10
 
11
11
  > `readonly` **ObjectEvent**: `"ObjectEvent"` = `"ObjectEvent"`
12
12
 
13
- ObjectEvent.
13
+ Event that observes one or more instance- or class-level objects.
14
14
 
15
15
  ### AggregationEvent
16
16
 
17
17
  > `readonly` **AggregationEvent**: `"AggregationEvent"` = `"AggregationEvent"`
18
18
 
19
- Aggregation Event.
19
+ Event recording child objects aggregated under a parent identifier.
20
20
 
21
21
  ### AssociationEvent
22
22
 
23
23
  > `readonly` **AssociationEvent**: `"AssociationEvent"` = `"AssociationEvent"`
24
24
 
25
- Association Event.
25
+ Event recording parent/child associations without implying containment.
26
26
 
27
27
  ### TransformationEvent
28
28
 
29
29
  > `readonly` **TransformationEvent**: `"TransformationEvent"` = `"TransformationEvent"`
30
30
 
31
- Transformation Event.
31
+ Event recording how inputs are transformed into outputs.
32
32
 
33
33
  ### TransactionEvent
34
34
 
35
35
  > `readonly` **TransactionEvent**: `"TransactionEvent"` = `"TransactionEvent"`
36
36
 
37
- Transaction Event.
37
+ Event linking objects or quantities to business transactions.
@@ -0,0 +1,442 @@
1
+ # Variable: EpcisMeasurementTypes
2
+
3
+ > `const` **EpcisMeasurementTypes**: `object`
4
+
5
+ Supported EPCIS 2.0 `measurementType` values.
6
+
7
+ These values come from the GS1 EPCIS JSON Schema enumeration.
8
+ Use the union type `EpcisMeasurementTypes` when you want to restrict a field to known values.
9
+
10
+ ## Type Declaration
11
+
12
+ ### AbsoluteHumidity
13
+
14
+ > `readonly` **AbsoluteHumidity**: `"AbsoluteHumidity"` = `"AbsoluteHumidity"`
15
+
16
+ Measurement type "AbsoluteHumidity".
17
+
18
+ ### AbsorbedDose
19
+
20
+ > `readonly` **AbsorbedDose**: `"AbsorbedDose"` = `"AbsorbedDose"`
21
+
22
+ Measurement type "AbsorbedDose".
23
+
24
+ ### AbsorbedDoseRate
25
+
26
+ > `readonly` **AbsorbedDoseRate**: `"AbsorbedDoseRate"` = `"AbsorbedDoseRate"`
27
+
28
+ Measurement type "AbsorbedDoseRate".
29
+
30
+ ### Acceleration
31
+
32
+ > `readonly` **Acceleration**: `"Acceleration"` = `"Acceleration"`
33
+
34
+ Measurement type "Acceleration".
35
+
36
+ ### Radioactivity
37
+
38
+ > `readonly` **Radioactivity**: `"Radioactivity"` = `"Radioactivity"`
39
+
40
+ Measurement type "Radioactivity".
41
+
42
+ ### Altitude
43
+
44
+ > `readonly` **Altitude**: `"Altitude"` = `"Altitude"`
45
+
46
+ Measurement type "Altitude".
47
+
48
+ ### AmountOfSubstance
49
+
50
+ > `readonly` **AmountOfSubstance**: `"AmountOfSubstance"` = `"AmountOfSubstance"`
51
+
52
+ Measurement type "AmountOfSubstance".
53
+
54
+ ### AmountOfSubstancePerUnitVolume
55
+
56
+ > `readonly` **AmountOfSubstancePerUnitVolume**: `"AmountOfSubstancePerUnitVolume"` = `"AmountOfSubstancePerUnitVolume"`
57
+
58
+ Measurement type "AmountOfSubstancePerUnitVolume".
59
+
60
+ ### Angle
61
+
62
+ > `readonly` **Angle**: `"Angle"` = `"Angle"`
63
+
64
+ Measurement type "Angle".
65
+
66
+ ### AngularAcceleration
67
+
68
+ > `readonly` **AngularAcceleration**: `"AngularAcceleration"` = `"AngularAcceleration"`
69
+
70
+ Measurement type "AngularAcceleration".
71
+
72
+ ### AngularMomentum
73
+
74
+ > `readonly` **AngularMomentum**: `"AngularMomentum"` = `"AngularMomentum"`
75
+
76
+ Measurement type "AngularMomentum".
77
+
78
+ ### AngularVelocity
79
+
80
+ > `readonly` **AngularVelocity**: `"AngularVelocity"` = `"AngularVelocity"`
81
+
82
+ Measurement type "AngularVelocity".
83
+
84
+ ### Area
85
+
86
+ > `readonly` **Area**: `"Area"` = `"Area"`
87
+
88
+ Measurement type "Area".
89
+
90
+ ### Capacitance
91
+
92
+ > `readonly` **Capacitance**: `"Capacitance"` = `"Capacitance"`
93
+
94
+ Measurement type "Capacitance".
95
+
96
+ ### Conductance
97
+
98
+ > `readonly` **Conductance**: `"Conductance"` = `"Conductance"`
99
+
100
+ Measurement type "Conductance".
101
+
102
+ ### Conductivity
103
+
104
+ > `readonly` **Conductivity**: `"Conductivity"` = `"Conductivity"`
105
+
106
+ Measurement type "Conductivity".
107
+
108
+ ### Count
109
+
110
+ > `readonly` **Count**: `"Count"` = `"Count"`
111
+
112
+ Measurement type "Count".
113
+
114
+ ### Density
115
+
116
+ > `readonly` **Density**: `"Density"` = `"Density"`
117
+
118
+ Measurement type "Density".
119
+
120
+ ### Dimensionless
121
+
122
+ > `readonly` **Dimensionless**: `"Dimensionless"` = `"Dimensionless"`
123
+
124
+ Measurement type "Dimensionless".
125
+
126
+ ### DoseEquivalent
127
+
128
+ > `readonly` **DoseEquivalent**: `"DoseEquivalent"` = `"DoseEquivalent"`
129
+
130
+ Measurement type "DoseEquivalent".
131
+
132
+ ### DoseEquivalentRate
133
+
134
+ > `readonly` **DoseEquivalentRate**: `"DoseEquivalentRate"` = `"DoseEquivalentRate"`
135
+
136
+ Measurement type "DoseEquivalentRate".
137
+
138
+ ### DynamicViscosity
139
+
140
+ > `readonly` **DynamicViscosity**: `"DynamicViscosity"` = `"DynamicViscosity"`
141
+
142
+ Measurement type "DynamicViscosity".
143
+
144
+ ### ElectricCharge
145
+
146
+ > `readonly` **ElectricCharge**: `"ElectricCharge"` = `"ElectricCharge"`
147
+
148
+ Measurement type "ElectricCharge".
149
+
150
+ ### ElectricCurrent
151
+
152
+ > `readonly` **ElectricCurrent**: `"ElectricCurrent"` = `"ElectricCurrent"`
153
+
154
+ Measurement type "ElectricCurrent".
155
+
156
+ ### ElectricCurrentDensity
157
+
158
+ > `readonly` **ElectricCurrentDensity**: `"ElectricCurrentDensity"` = `"ElectricCurrentDensity"`
159
+
160
+ Measurement type "ElectricCurrentDensity".
161
+
162
+ ### ElectricFieldStrength
163
+
164
+ > `readonly` **ElectricFieldStrength**: `"ElectricFieldStrength"` = `"ElectricFieldStrength"`
165
+
166
+ Measurement type "ElectricFieldStrength".
167
+
168
+ ### Energy
169
+
170
+ > `readonly` **Energy**: `"Energy"` = `"Energy"`
171
+
172
+ Measurement type "Energy".
173
+
174
+ ### Exposure
175
+
176
+ > `readonly` **Exposure**: `"Exposure"` = `"Exposure"`
177
+
178
+ Measurement type "Exposure".
179
+
180
+ ### Force
181
+
182
+ > `readonly` **Force**: `"Force"` = `"Force"`
183
+
184
+ Measurement type "Force".
185
+
186
+ ### Frequency
187
+
188
+ > `readonly` **Frequency**: `"Frequency"` = `"Frequency"`
189
+
190
+ Measurement type "Frequency".
191
+
192
+ ### Illuminance
193
+
194
+ > `readonly` **Illuminance**: `"Illuminance"` = `"Illuminance"`
195
+
196
+ Measurement type "Illuminance".
197
+
198
+ ### Inductance
199
+
200
+ > `readonly` **Inductance**: `"Inductance"` = `"Inductance"`
201
+
202
+ Measurement type "Inductance".
203
+
204
+ ### Irradiance
205
+
206
+ > `readonly` **Irradiance**: `"Irradiance"` = `"Irradiance"`
207
+
208
+ Measurement type "Irradiance".
209
+
210
+ ### KinematicViscosity
211
+
212
+ > `readonly` **KinematicViscosity**: `"KinematicViscosity"` = `"KinematicViscosity"`
213
+
214
+ Measurement type "KinematicViscosity".
215
+
216
+ ### Length
217
+
218
+ > `readonly` **Length**: `"Length"` = `"Length"`
219
+
220
+ Measurement type "Length".
221
+
222
+ ### LinearMomentum
223
+
224
+ > `readonly` **LinearMomentum**: `"LinearMomentum"` = `"LinearMomentum"`
225
+
226
+ Measurement type "LinearMomentum".
227
+
228
+ ### Luminance
229
+
230
+ > `readonly` **Luminance**: `"Luminance"` = `"Luminance"`
231
+
232
+ Measurement type "Luminance".
233
+
234
+ ### LuminousFlux
235
+
236
+ > `readonly` **LuminousFlux**: `"LuminousFlux"` = `"LuminousFlux"`
237
+
238
+ Measurement type "LuminousFlux".
239
+
240
+ ### LuminousIntensity
241
+
242
+ > `readonly` **LuminousIntensity**: `"LuminousIntensity"` = `"LuminousIntensity"`
243
+
244
+ Measurement type "LuminousIntensity".
245
+
246
+ ### MagneticFlux
247
+
248
+ > `readonly` **MagneticFlux**: `"MagneticFlux"` = `"MagneticFlux"`
249
+
250
+ Measurement type "MagneticFlux".
251
+
252
+ ### MagneticFluxDensity
253
+
254
+ > `readonly` **MagneticFluxDensity**: `"MagneticFluxDensity"` = `"MagneticFluxDensity"`
255
+
256
+ Measurement type "MagneticFluxDensity".
257
+
258
+ ### MagneticVectorPotential
259
+
260
+ > `readonly` **MagneticVectorPotential**: `"MagneticVectorPotential"` = `"MagneticVectorPotential"`
261
+
262
+ Measurement type "MagneticVectorPotential".
263
+
264
+ ### Mass
265
+
266
+ > `readonly` **Mass**: `"Mass"` = `"Mass"`
267
+
268
+ Measurement type "Mass".
269
+
270
+ ### MassConcentration
271
+
272
+ > `readonly` **MassConcentration**: `"MassConcentration"` = `"MassConcentration"`
273
+
274
+ Measurement type "MassConcentration".
275
+
276
+ ### MassFlowRate
277
+
278
+ > `readonly` **MassFlowRate**: `"MassFlowRate"` = `"MassFlowRate"`
279
+
280
+ Measurement type "MassFlowRate".
281
+
282
+ ### MassPerAreaTime
283
+
284
+ > `readonly` **MassPerAreaTime**: `"MassPerAreaTime"` = `"MassPerAreaTime"`
285
+
286
+ Measurement type "MassPerAreaTime".
287
+
288
+ ### MemoryCapacity
289
+
290
+ > `readonly` **MemoryCapacity**: `"MemoryCapacity"` = `"MemoryCapacity"`
291
+
292
+ Measurement type "MemoryCapacity".
293
+
294
+ ### MolalityOfSolute
295
+
296
+ > `readonly` **MolalityOfSolute**: `"MolalityOfSolute"` = `"MolalityOfSolute"`
297
+
298
+ Measurement type "MolalityOfSolute".
299
+
300
+ ### MolarEnergy
301
+
302
+ > `readonly` **MolarEnergy**: `"MolarEnergy"` = `"MolarEnergy"`
303
+
304
+ Measurement type "MolarEnergy".
305
+
306
+ ### MolarMass
307
+
308
+ > `readonly` **MolarMass**: `"MolarMass"` = `"MolarMass"`
309
+
310
+ Measurement type "MolarMass".
311
+
312
+ ### MolarVolume
313
+
314
+ > `readonly` **MolarVolume**: `"MolarVolume"` = `"MolarVolume"`
315
+
316
+ Measurement type "MolarVolume".
317
+
318
+ ### Power
319
+
320
+ > `readonly` **Power**: `"Power"` = `"Power"`
321
+
322
+ Measurement type "Power".
323
+
324
+ ### Pressure
325
+
326
+ > `readonly` **Pressure**: `"Pressure"` = `"Pressure"`
327
+
328
+ Measurement type "Pressure".
329
+
330
+ ### RadiantFlux
331
+
332
+ > `readonly` **RadiantFlux**: `"RadiantFlux"` = `"RadiantFlux"`
333
+
334
+ Measurement type "RadiantFlux".
335
+
336
+ ### RadiantIntensity
337
+
338
+ > `readonly` **RadiantIntensity**: `"RadiantIntensity"` = `"RadiantIntensity"`
339
+
340
+ Measurement type "RadiantIntensity".
341
+
342
+ ### RelativeHumidity
343
+
344
+ > `readonly` **RelativeHumidity**: `"RelativeHumidity"` = `"RelativeHumidity"`
345
+
346
+ Measurement type "RelativeHumidity".
347
+
348
+ ### Resistance
349
+
350
+ > `readonly` **Resistance**: `"Resistance"` = `"Resistance"`
351
+
352
+ Measurement type "Resistance".
353
+
354
+ ### Resistivity
355
+
356
+ > `readonly` **Resistivity**: `"Resistivity"` = `"Resistivity"`
357
+
358
+ Measurement type "Resistivity".
359
+
360
+ ### SolidAngle
361
+
362
+ > `readonly` **SolidAngle**: `"SolidAngle"` = `"SolidAngle"`
363
+
364
+ Measurement type "SolidAngle".
365
+
366
+ ### SpecificVolume
367
+
368
+ > `readonly` **SpecificVolume**: `"SpecificVolume"` = `"SpecificVolume"`
369
+
370
+ Measurement type "SpecificVolume".
371
+
372
+ ### Speed
373
+
374
+ > `readonly` **Speed**: `"Speed"` = `"Speed"`
375
+
376
+ Measurement type "Speed".
377
+
378
+ ### SurfaceDensity
379
+
380
+ > `readonly` **SurfaceDensity**: `"SurfaceDensity"` = `"SurfaceDensity"`
381
+
382
+ Measurement type "SurfaceDensity".
383
+
384
+ ### SurfaceTension
385
+
386
+ > `readonly` **SurfaceTension**: `"SurfaceTension"` = `"SurfaceTension"`
387
+
388
+ Measurement type "SurfaceTension".
389
+
390
+ ### Temperature
391
+
392
+ > `readonly` **Temperature**: `"Temperature"` = `"Temperature"`
393
+
394
+ Measurement type "Temperature".
395
+
396
+ ### Time
397
+
398
+ > `readonly` **Time**: `"Time"` = `"Time"`
399
+
400
+ Measurement type "Time".
401
+
402
+ ### Torque
403
+
404
+ > `readonly` **Torque**: `"Torque"` = `"Torque"`
405
+
406
+ Measurement type "Torque".
407
+
408
+ ### Voltage
409
+
410
+ > `readonly` **Voltage**: `"Voltage"` = `"Voltage"`
411
+
412
+ Measurement type "Voltage".
413
+
414
+ ### Volume
415
+
416
+ > `readonly` **Volume**: `"Volume"` = `"Volume"`
417
+
418
+ Measurement type "Volume".
419
+
420
+ ### VolumeFlowRate
421
+
422
+ > `readonly` **VolumeFlowRate**: `"VolumeFlowRate"` = `"VolumeFlowRate"`
423
+
424
+ Measurement type "VolumeFlowRate".
425
+
426
+ ### VolumeFraction
427
+
428
+ > `readonly` **VolumeFraction**: `"VolumeFraction"` = `"VolumeFraction"`
429
+
430
+ Measurement type "VolumeFraction".
431
+
432
+ ### VolumetricFlux
433
+
434
+ > `readonly` **VolumetricFlux**: `"VolumetricFlux"` = `"VolumetricFlux"`
435
+
436
+ Measurement type "VolumetricFlux".
437
+
438
+ ### Wavenumber
439
+
440
+ > `readonly` **Wavenumber**: `"Wavenumber"` = `"Wavenumber"`
441
+
442
+ Measurement type "Wavenumber".
@@ -0,0 +1,20 @@
1
+ # Variable: EpcisSensorAlertTypes
2
+
3
+ > `const` **EpcisSensorAlertTypes**: `object`
4
+
5
+ Supported EPCIS 2.0 `sensorAlertType` values for sensor-generated alarms or
6
+ errors.
7
+
8
+ ## Type Declaration
9
+
10
+ ### AlarmCondition
11
+
12
+ > `readonly` **AlarmCondition**: `"ALARM_CONDITION"` = `"ALARM_CONDITION"`
13
+
14
+ Sensor alert indicating an alarm condition.
15
+
16
+ ### ErrorCondition
17
+
18
+ > `readonly` **ErrorCondition**: `"ERROR_CONDITION"` = `"ERROR_CONDITION"`
19
+
20
+ Sensor alert indicating an error condition.
@@ -0,0 +1,29 @@
1
+ # Variable: EpcisSourceDestTypes
2
+
3
+ > `const` **EpcisSourceDestTypes**: `object`
4
+
5
+ Supported EPCIS 2.0 `source-dest-type` values describing the role of a party
6
+ or location in a transfer.
7
+
8
+ ## Type Declaration
9
+
10
+ ### OwningParty
11
+
12
+ > `readonly` **OwningParty**: `"owning_party"` = `"owning_party"`
13
+
14
+ Identifier denotes the party who owns (or will own) the objects at the
15
+ business transfer endpoint.
16
+
17
+ ### PossessingParty
18
+
19
+ > `readonly` **PossessingParty**: `"possessing_party"` = `"possessing_party"`
20
+
21
+ Identifier denotes the party who has (or will have) physical possession of
22
+ the objects at the endpoint.
23
+
24
+ ### Location
25
+
26
+ > `readonly` **Location**: `"location"` = `"location"`
27
+
28
+ Identifier denotes the physical location of the originating or terminating
29
+ endpoint of the business transfer.
@@ -6,8 +6,8 @@ The contexts of GS1.
6
6
 
7
7
  ## Type Declaration
8
8
 
9
- ### ContextRoot
9
+ ### Namespace
10
10
 
11
- > `readonly` **ContextRoot**: `"https://gs1.org/voc/"` = `"https://gs1.org/voc/"`
11
+ > `readonly` **Namespace**: `"https://gs1.org/voc/"` = `"https://gs1.org/voc/"`
12
12
 
13
- The context root for the GS1 types.
13
+ The namespace for the GS1 types.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-gs1",
3
- "version": "0.0.3-next.10",
3
+ "version": "0.0.3-next.11",
4
4
  "description": "Models which define the structure of GS1 Standard",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IEpcisBaseAggregationEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IEpcisBaseAggregationEvent.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisBaseAggregationEvent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEpcisEventDetails } from \"./IEpcisEventDetails.js\";\nimport type { IQuantity } from \"./IEpcisQuantity.js\";\n\n/**\n * Describes an AggregationEvent.\n */\nexport interface IBaseAggregationEvent extends IEpcisEventDetails {\n\t/**\n\t * Parent is only optional when action is OBSERVE.\n\t */\n\tparentID?: string;\n\n\t/**\n\t * The children EPC which can be empty when action is DELETE.\n\t */\n\tchildEPCs?: string[];\n\n\t/**\n\t * Quantity in case of class-level event visibility data.\n\t */\n\tchildQuantityList?: IQuantity[];\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IEpcisEventDetails.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IEpcisEventDetails.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisEventDetails.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { EpcisActionTypes } from \"./epcisActionTypes.js\";\nimport type { EpcisBizStepTypes } from \"./epcisBizStepTypes.js\";\nimport type { EpcisDispositionTypes } from \"./epcisDispositionTypes.js\";\nimport type { IBizTransaction } from \"./IEpcisBizTransaction.js\";\nimport type { IEpcisEvent } from \"./IEpcisEvent.js\";\nimport type { ISimpleLocation } from \"./IEpcisSimpleLocation.js\";\n\n/**\n * EPCIS Event Details.\n */\nexport interface IEpcisEventDetails extends IEpcisEvent {\n\t/**\n\t * Action: ADD, OBSERVE, DELETE.\n\t */\n\taction: EpcisActionTypes;\n\n\t/**\n\t * The location of reading point.\n\t */\n\treadPoint?: ISimpleLocation;\n\n\t/**\n\t * The biz location where the item ends up.\n\t */\n\tbizLocation?: ISimpleLocation;\n\n\t/**\n\t * The business step as per EPCIS.\n\t */\n\tbizStep?: EpcisBizStepTypes;\n\n\t/**\n\t * The disposition as per EPCIS.\n\t */\n\tdisposition?: EpcisDispositionTypes;\n\n\t/**\n\t * The list of related business transactions.\n\t */\n\tbizTransactionList?: IBizTransaction[];\n}\n"]}
@@ -1,4 +0,0 @@
1
- // Copyright 2024 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- export {};
4
- //# sourceMappingURL=IEpcisSimpleLocation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IEpcisSimpleLocation.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisSimpleLocation.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Location.\n */\nexport interface ISimpleLocation {\n\t/**\n\t * The id.\n\t */\n\tid: string;\n}\n"]}
@@ -1,11 +0,0 @@
1
- // Copyright 2024 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- /**
4
- * EPCIS Error types.
5
- */
6
- // eslint-disable-next-line @typescript-eslint/naming-convention
7
- export const EpcisErrorTypes = {
8
- ValidationFailed: "epcisException:ValidationException",
9
- NoSuchResource: "epcisException:NoSuchResourceException"
10
- };
11
- //# sourceMappingURL=epcisErrorTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"epcisErrorTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisErrorTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,gBAAgB,EAAE,oCAAoC;IAEtD,cAAc,EAAE,wCAAwC;CAC/C,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Error types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisErrorTypes = {\n\tValidationFailed: \"epcisException:ValidationException\",\n\n\tNoSuchResource: \"epcisException:NoSuchResourceException\"\n} as const;\n\n/**\n * EPCIS Error types.\n */\nexport type EpcisErrorTypes = (typeof EpcisErrorTypes)[keyof typeof EpcisErrorTypes];\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=epcisEventUnionType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"epcisEventUnionType.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisEventUnionType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAggregationEvent } from \"./IEpcisAggregationEvent.js\";\nimport type { IAssociationEvent } from \"./IEpcisAssociationEvent.js\";\nimport type { IObjectEvent } from \"./IEpcisObjectEvent.js\";\n\n/**\n * The type that subsumes an EPCIS Event.\n */\nexport type EpcisEventUnionType = IObjectEvent | IAssociationEvent | IAggregationEvent;\n"]}
@@ -1,19 +0,0 @@
1
- import type { IEpcisEventDetails } from "./IEpcisEventDetails.js";
2
- import type { IQuantity } from "./IEpcisQuantity.js";
3
- /**
4
- * Describes an AggregationEvent.
5
- */
6
- export interface IBaseAggregationEvent extends IEpcisEventDetails {
7
- /**
8
- * Parent is only optional when action is OBSERVE.
9
- */
10
- parentID?: string;
11
- /**
12
- * The children EPC which can be empty when action is DELETE.
13
- */
14
- childEPCs?: string[];
15
- /**
16
- * Quantity in case of class-level event visibility data.
17
- */
18
- childQuantityList?: IQuantity[];
19
- }
@@ -1,35 +0,0 @@
1
- import type { EpcisActionTypes } from "./epcisActionTypes.js";
2
- import type { EpcisBizStepTypes } from "./epcisBizStepTypes.js";
3
- import type { EpcisDispositionTypes } from "./epcisDispositionTypes.js";
4
- import type { IBizTransaction } from "./IEpcisBizTransaction.js";
5
- import type { IEpcisEvent } from "./IEpcisEvent.js";
6
- import type { ISimpleLocation } from "./IEpcisSimpleLocation.js";
7
- /**
8
- * EPCIS Event Details.
9
- */
10
- export interface IEpcisEventDetails extends IEpcisEvent {
11
- /**
12
- * Action: ADD, OBSERVE, DELETE.
13
- */
14
- action: EpcisActionTypes;
15
- /**
16
- * The location of reading point.
17
- */
18
- readPoint?: ISimpleLocation;
19
- /**
20
- * The biz location where the item ends up.
21
- */
22
- bizLocation?: ISimpleLocation;
23
- /**
24
- * The business step as per EPCIS.
25
- */
26
- bizStep?: EpcisBizStepTypes;
27
- /**
28
- * The disposition as per EPCIS.
29
- */
30
- disposition?: EpcisDispositionTypes;
31
- /**
32
- * The list of related business transactions.
33
- */
34
- bizTransactionList?: IBizTransaction[];
35
- }