@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
@@ -8,199 +8,199 @@ Section 10.3.2 .
8
8
 
9
9
  ## Type Declaration
10
10
 
11
- ### Electronics
11
+ ### Electronics {#electronics}
12
12
 
13
13
  > `readonly` **Electronics**: `"401"` = `"401"`
14
14
 
15
15
  Electronics.
16
16
 
17
- ### ColdStorage
17
+ ### ColdStorage {#coldstorage}
18
18
 
19
19
  > `readonly` **ColdStorage**: `"402"` = `"402"`
20
20
 
21
21
  Cold Storage.
22
22
 
23
- ### Shelf
23
+ ### Shelf {#shelf}
24
24
 
25
25
  > `readonly` **Shelf**: `"403"` = `"403"`
26
26
 
27
27
  Shelf.
28
28
 
29
- ### Frozen
29
+ ### Frozen {#frozen}
30
30
 
31
31
  > `readonly` **Frozen**: `"404"` = `"404"`
32
32
 
33
33
  Frozen.
34
34
 
35
- ### Fresh
35
+ ### Fresh {#fresh}
36
36
 
37
37
  > `readonly` **Fresh**: `"405"` = `"405"`
38
38
 
39
39
  Fresh.
40
40
 
41
- ### Promotion
41
+ ### Promotion {#promotion}
42
42
 
43
43
  > `readonly` **Promotion**: `"406"` = `"406"`
44
44
 
45
45
  Promotion.
46
46
 
47
- ### EndCap
47
+ ### EndCap {#endcap}
48
48
 
49
49
  > `readonly` **EndCap**: `"407"` = `"407"`
50
50
 
51
51
  End Cap.
52
52
 
53
- ### PointOfSale
53
+ ### PointOfSale {#pointofsale}
54
54
 
55
55
  > `readonly` **PointOfSale**: `"408"` = `"408"`
56
56
 
57
57
  Point of Sale.
58
58
 
59
- ### Security
59
+ ### Security {#security}
60
60
 
61
61
  > `readonly` **Security**: `"409"` = `"409"`
62
62
 
63
63
  Security.
64
64
 
65
- ### GeneralMdse
65
+ ### GeneralMdse {#generalmdse}
66
66
 
67
67
  > `readonly` **GeneralMdse**: `"411"` = `"411"`
68
68
 
69
69
  General Mdse.
70
70
 
71
- ### Grocery
71
+ ### Grocery {#grocery}
72
72
 
73
73
  > `readonly` **Grocery**: `"412"` = `"412"`
74
74
 
75
75
  Grocery.
76
76
 
77
- ### BoxCrusher
77
+ ### BoxCrusher {#boxcrusher}
78
78
 
79
79
  > `readonly` **BoxCrusher**: `"413"` = `"413"`
80
80
 
81
81
  Box crusher.
82
82
 
83
- ### DockDoor
83
+ ### DockDoor {#dockdoor}
84
84
 
85
85
  > `readonly` **DockDoor**: `"414"` = `"414"`
86
86
 
87
87
  Dock/Door.
88
88
 
89
- ### ConveyorBelt
89
+ ### ConveyorBelt {#conveyorbelt}
90
90
 
91
91
  > `readonly` **ConveyorBelt**: `"415"` = `"415"`
92
92
 
93
93
  Conveyor Belt.
94
94
 
95
- ### PalletWrapper
95
+ ### PalletWrapper {#palletwrapper}
96
96
 
97
97
  > `readonly` **PalletWrapper**: `"416"` = `"416"`
98
98
 
99
99
  Pallet Wrapper.
100
100
 
101
- ### FixedReader
101
+ ### FixedReader {#fixedreader}
102
102
 
103
103
  > `readonly` **FixedReader**: `"417"` = `"417"`
104
104
 
105
105
  Fixed Reader.
106
106
 
107
- ### MobileReader
107
+ ### MobileReader {#mobilereader}
108
108
 
109
109
  > `readonly` **MobileReader**: `"418"` = `"418"`
110
110
 
111
111
  Mobile Reader.
112
112
 
113
- ### ShelfStorage
113
+ ### ShelfStorage {#shelfstorage}
114
114
 
115
115
  > `readonly` **ShelfStorage**: `"419"` = `"419"`
116
116
 
117
117
  Shelf Storage.
118
118
 
119
- ### Returns
119
+ ### Returns {#returns}
120
120
 
121
121
  > `readonly` **Returns**: `"420"` = `"420"`
122
122
 
123
123
  Returns.
124
124
 
125
- ### Staging
125
+ ### Staging {#staging}
126
126
 
127
127
  > `readonly` **Staging**: `"421"` = `"421"`
128
128
 
129
129
  Staging.
130
130
 
131
- ### Assembly
131
+ ### Assembly {#assembly}
132
132
 
133
133
  > `readonly` **Assembly**: `"422"` = `"422"`
134
134
 
135
135
  Assembly.
136
136
 
137
- ### LayAway
137
+ ### LayAway {#layaway}
138
138
 
139
139
  > `readonly` **LayAway**: `"423"` = `"423"`
140
140
 
141
141
  Lay-Away.
142
142
 
143
- ### Dispenser
143
+ ### Dispenser {#dispenser}
144
144
 
145
145
  > `readonly` **Dispenser**: `"424"` = `"424"`
146
146
 
147
147
  Dispenser.
148
148
 
149
- ### Quarantine
149
+ ### Quarantine {#quarantine}
150
150
 
151
151
  > `readonly` **Quarantine**: `"425"` = `"425"`
152
152
 
153
153
  Quarantine.
154
154
 
155
- ### ControlledSubstance
155
+ ### ControlledSubstance {#controlledsubstance}
156
156
 
157
157
  > `readonly` **ControlledSubstance**: `"426"` = `"426"`
158
158
 
159
159
  Controlled Substance.
160
160
 
161
- ### RecalledProduct
161
+ ### RecalledProduct {#recalledproduct}
162
162
 
163
163
  > `readonly` **RecalledProduct**: `"427"` = `"427"`
164
164
 
165
165
  Recalled Product.
166
166
 
167
- ### QualityControl
167
+ ### QualityControl {#qualitycontrol}
168
168
 
169
169
  > `readonly` **QualityControl**: `"428"` = `"428"`
170
170
 
171
171
  Quality Control.
172
172
 
173
- ### PrintingRoom
173
+ ### PrintingRoom {#printingroom}
174
174
 
175
175
  > `readonly` **PrintingRoom**: `"429"` = `"429"`
176
176
 
177
177
  Printing Room.
178
178
 
179
- ### LoadingDock
179
+ ### LoadingDock {#loadingdock}
180
180
 
181
181
  > `readonly` **LoadingDock**: `"420"` = `"420"`
182
182
 
183
183
  Loading Dock.
184
184
 
185
- ### EntranceGate
185
+ ### EntranceGate {#entrancegate}
186
186
 
187
187
  > `readonly` **EntranceGate**: `"431"` = `"431"`
188
188
 
189
189
  Entrance Gate.
190
190
 
191
- ### ExitGate
191
+ ### ExitGate {#exitgate}
192
192
 
193
193
  > `readonly` **ExitGate**: `"432"` = `"432"`
194
194
 
195
195
  Exit Gate.
196
196
 
197
- ### Gate
197
+ ### Gate {#gate}
198
198
 
199
199
  > `readonly` **Gate**: `"433"` = `"433"`
200
200
 
201
201
  Gate.
202
202
 
203
- ### ReadPointVerificationSpot
203
+ ### ReadPointVerificationSpot {#readpointverificationspot}
204
204
 
205
205
  > `readonly` **ReadPointVerificationSpot**: `"434"` = `"434"`
206
206
 
@@ -8,97 +8,97 @@ Section 10.3.1 .
8
8
 
9
9
  ## Type Declaration
10
10
 
11
- ### Backroom
11
+ ### Backroom {#backroom}
12
12
 
13
13
  > `readonly` **Backroom**: `"201"` = `"201"`
14
14
 
15
15
  The Backroom.
16
16
 
17
- ### StorageArea
17
+ ### StorageArea {#storagearea}
18
18
 
19
19
  > `readonly` **StorageArea**: `"202"` = `"202"`
20
20
 
21
21
  The Storage Area.
22
22
 
23
- ### SalesFloor
23
+ ### SalesFloor {#salesfloor}
24
24
 
25
25
  > `readonly` **SalesFloor**: `"203"` = `"203"`
26
26
 
27
27
  The Sales Floor.
28
28
 
29
- ### ReturnsArea
29
+ ### ReturnsArea {#returnsarea}
30
30
 
31
31
  > `readonly` **ReturnsArea**: `"207"` = `"207"`
32
32
 
33
33
  The Returns Area.
34
34
 
35
- ### ProductionArea
35
+ ### ProductionArea {#productionarea}
36
36
 
37
37
  > `readonly` **ProductionArea**: `"208"` = `"208"`
38
38
 
39
39
  The Production Area.
40
40
 
41
- ### ReceivingArea
41
+ ### ReceivingArea {#receivingarea}
42
42
 
43
43
  > `readonly` **ReceivingArea**: `"209"` = `"209"`
44
44
 
45
45
  The Receiving Area.
46
46
 
47
- ### ShippingArea
47
+ ### ShippingArea {#shippingarea}
48
48
 
49
49
  > `readonly` **ShippingArea**: `"210"` = `"210"`
50
50
 
51
51
  The Shipping Area.
52
52
 
53
- ### SalesFloorTransitionArea
53
+ ### SalesFloorTransitionArea {#salesfloortransitionarea}
54
54
 
55
55
  > `readonly` **SalesFloorTransitionArea**: `"211"` = `"211"`
56
56
 
57
57
  The Sales Floor Transition Area.
58
58
 
59
- ### CustomerPickupArea
59
+ ### CustomerPickupArea {#customerpickuparea}
60
60
 
61
61
  > `readonly` **CustomerPickupArea**: `"212"` = `"212"`
62
62
 
63
63
  The Customer Pick-Up Area.
64
64
 
65
- ### Yard
65
+ ### Yard {#yard}
66
66
 
67
67
  > `readonly` **Yard**: `"213"` = `"213"`
68
68
 
69
69
  The Yard.
70
70
 
71
- ### ContainerDeck
71
+ ### ContainerDeck {#containerdeck}
72
72
 
73
73
  > `readonly` **ContainerDeck**: `"214"` = `"214"`
74
74
 
75
75
  The Container Deck.
76
76
 
77
- ### CargoTerminal
77
+ ### CargoTerminal {#cargoterminal}
78
78
 
79
79
  > `readonly` **CargoTerminal**: `"215"` = `"215"`
80
80
 
81
81
  The Cargo Terminal.
82
82
 
83
- ### PackagingArea
83
+ ### PackagingArea {#packagingarea}
84
84
 
85
85
  > `readonly` **PackagingArea**: `"251"` = `"251"`
86
86
 
87
87
  The Packaging Area.
88
88
 
89
- ### PickingArea
89
+ ### PickingArea {#pickingarea}
90
90
 
91
91
  > `readonly` **PickingArea**: `"252"` = `"252"`
92
92
 
93
93
  The Picking Area.
94
94
 
95
- ### PharmacyArea
95
+ ### PharmacyArea {#pharmacyarea}
96
96
 
97
97
  > `readonly` **PharmacyArea**: `"253"` = `"253"`
98
98
 
99
99
  The Pharmacy Area.
100
100
 
101
- ### Undefined
101
+ ### Undefined {#undefined}
102
102
 
103
103
  > `readonly` **Undefined**: `"299"` = `"299"`
104
104
 
@@ -6,7 +6,7 @@ The types of GS1 data.
6
6
 
7
7
  ## Type Declaration
8
8
 
9
- ### LocationMasterData
9
+ ### LocationMasterData {#locationmasterdata}
10
10
 
11
11
  > `readonly` **LocationMasterData**: `"gs1_location_masterdata"` = `"gs1_location_masterdata"`
12
12
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@twin.org/standards-gs1",
3
- "version": "0.0.3-next.9",
4
- "description": "Models which define the structure of GS1 Standard",
3
+ "version": "0.9.0",
4
+ "description": "Data models for GS1 vocabularies and semantics.",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/twinfoundation/standards.git",
7
+ "url": "git+https://github.com/iotaledger/twin-standards.git",
8
8
  "directory": "packages/standards-gs1"
9
9
  },
10
10
  "author": "martyn.janes@iota.org",
@@ -14,11 +14,11 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "next",
18
- "@twin.org/data-core": "next",
19
- "@twin.org/data-json-ld": "next",
20
- "@twin.org/entity": "next",
21
- "@twin.org/nameof": "next"
17
+ "@twin.org/core": "^0.9.0",
18
+ "@twin.org/data-core": "^0.9.0",
19
+ "@twin.org/data-json-ld": "^0.9.0",
20
+ "@twin.org/entity": "^0.9.0",
21
+ "@twin.org/nameof": "^0.9.0"
22
22
  },
23
23
  "main": "./dist/es/index.js",
24
24
  "types": "./dist/types/index.d.ts",
@@ -47,7 +47,7 @@
47
47
  "specification"
48
48
  ],
49
49
  "bugs": {
50
- "url": "git+https://github.com/twinfoundation/standards/issues"
50
+ "url": "git+https://github.com/iotaledger/twin-standards/issues"
51
51
  },
52
52
  "homepage": "https://twindev.org"
53
53
  }
@@ -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 +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
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * EPCIS Location.
3
- */
4
- export interface ISimpleLocation {
5
- /**
6
- * The id.
7
- */
8
- id: string;
9
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * EPCIS Error types.
3
- */
4
- export declare const EpcisErrorTypes: {
5
- readonly ValidationFailed: "epcisException:ValidationException";
6
- readonly NoSuchResource: "epcisException:NoSuchResourceException";
7
- };
8
- /**
9
- * EPCIS Error types.
10
- */
11
- export type EpcisErrorTypes = (typeof EpcisErrorTypes)[keyof typeof EpcisErrorTypes];
@@ -1,7 +0,0 @@
1
- import type { IAggregationEvent } from "./IEpcisAggregationEvent.js";
2
- import type { IAssociationEvent } from "./IEpcisAssociationEvent.js";
3
- import type { IObjectEvent } from "./IEpcisObjectEvent.js";
4
- /**
5
- * The type that subsumes an EPCIS Event.
6
- */
7
- export type EpcisEventUnionType = IObjectEvent | IAssociationEvent | IAggregationEvent;