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

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 (118) hide show
  1. package/dist/es/entities/gs1Location.js.map +1 -1
  2. package/dist/es/index.js +17 -17
  3. package/dist/es/index.js.map +1 -1
  4. package/dist/es/models/epcis20/IEpcisAggregationEvent.js +2 -0
  5. package/dist/es/models/epcis20/IEpcisAggregationEvent.js.map +1 -0
  6. package/dist/es/models/epcis20/IEpcisAssociationEvent.js +2 -0
  7. package/dist/es/models/epcis20/IEpcisAssociationEvent.js.map +1 -0
  8. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js +2 -0
  9. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js.map +1 -0
  10. package/dist/es/models/epcis20/{ISensorMetadata.js → IEpcisBizTransaction.js} +1 -1
  11. package/dist/es/models/epcis20/IEpcisBizTransaction.js.map +1 -0
  12. package/dist/es/models/epcis20/{IBizTransaction.js → IEpcisDestination.js} +1 -1
  13. package/dist/es/models/epcis20/IEpcisDestination.js.map +1 -0
  14. package/dist/es/models/epcis20/IEpcisEvent.js.map +1 -1
  15. package/dist/es/models/epcis20/IEpcisEventDetails.js.map +1 -1
  16. package/dist/es/models/epcis20/IEpcisObjectEvent.js +2 -0
  17. package/dist/es/models/epcis20/IEpcisObjectEvent.js.map +1 -0
  18. package/dist/es/models/epcis20/{ISensorReport.js → IEpcisQuantity.js} +1 -1
  19. package/dist/es/models/epcis20/IEpcisQuantity.js.map +1 -0
  20. package/dist/es/models/epcis20/IEpcisSensorElement.js +2 -0
  21. package/dist/es/models/epcis20/IEpcisSensorElement.js.map +1 -0
  22. package/dist/es/models/epcis20/IEpcisSensorMetadata.js +4 -0
  23. package/dist/es/models/epcis20/IEpcisSensorMetadata.js.map +1 -0
  24. package/dist/es/models/epcis20/{IQuantity.js → IEpcisSensorReport.js} +1 -1
  25. package/dist/es/models/epcis20/IEpcisSensorReport.js.map +1 -0
  26. package/dist/es/models/epcis20/IEpcisSimpleLocation.js +4 -0
  27. package/dist/es/models/epcis20/IEpcisSimpleLocation.js.map +1 -0
  28. package/dist/es/models/epcis20/{IDestination.js → IEpcisSource.js} +1 -1
  29. package/dist/es/models/epcis20/IEpcisSource.js.map +1 -0
  30. package/dist/es/models/epcis20/{actionTypes.js → epcisActionTypes.js} +2 -2
  31. package/dist/es/models/epcis20/epcisActionTypes.js.map +1 -0
  32. package/dist/es/models/epcis20/{bizStepTypes.js → epcisBizStepTypes.js} +2 -2
  33. package/dist/es/models/epcis20/epcisBizStepTypes.js.map +1 -0
  34. package/dist/es/models/epcis20/{dispositionTypes.js → epcisDispositionTypes.js} +2 -2
  35. package/dist/es/models/epcis20/epcisDispositionTypes.js.map +1 -0
  36. package/dist/es/models/epcis20/{eventTypes.js → epcisEventTypes.js} +2 -2
  37. package/dist/es/models/epcis20/epcisEventTypes.js.map +1 -0
  38. package/dist/es/models/epcis20/epcisEventUnionType.js.map +1 -1
  39. package/dist/es/models/gs1/{subSiteAttributes.js → gs1SubSiteAttributes.js} +2 -2
  40. package/dist/es/models/gs1/gs1SubSiteAttributes.js.map +1 -0
  41. package/dist/es/models/gs1/{subSiteTypes.js → gs1SubSiteTypes.js} +2 -2
  42. package/dist/es/models/gs1/gs1SubSiteTypes.js.map +1 -0
  43. package/dist/es/utils/gs1Validation.js +4 -4
  44. package/dist/es/utils/gs1Validation.js.map +1 -1
  45. package/dist/types/entities/gs1Location.d.ts +4 -4
  46. package/dist/types/index.d.ts +17 -17
  47. package/dist/types/models/epcis20/{IAggregationEvent.d.ts → IEpcisAggregationEvent.d.ts} +1 -1
  48. package/dist/types/models/epcis20/{IAssociationEvent.d.ts → IEpcisAssociationEvent.d.ts} +1 -1
  49. package/dist/types/models/epcis20/{IBaseAggregationEvent.d.ts → IEpcisBaseAggregationEvent.d.ts} +1 -1
  50. package/dist/types/models/epcis20/IEpcisEvent.d.ts +2 -2
  51. package/dist/types/models/epcis20/IEpcisEventDetails.d.ts +8 -8
  52. package/dist/types/models/epcis20/{IObjectEvent.d.ts → IEpcisObjectEvent.d.ts} +2 -2
  53. package/dist/types/models/epcis20/{ISensorElement.d.ts → IEpcisSensorElement.d.ts} +2 -2
  54. package/dist/types/models/epcis20/{actionTypes.d.ts → epcisActionTypes.d.ts} +2 -2
  55. package/dist/types/models/epcis20/{bizStepTypes.d.ts → epcisBizStepTypes.d.ts} +2 -2
  56. package/dist/types/models/epcis20/{dispositionTypes.d.ts → epcisDispositionTypes.d.ts} +2 -2
  57. package/dist/types/models/epcis20/{eventTypes.d.ts → epcisEventTypes.d.ts} +2 -2
  58. package/dist/types/models/epcis20/epcisEventUnionType.d.ts +3 -3
  59. package/dist/types/models/gs1/{subSiteAttributes.d.ts → gs1SubSiteAttributes.d.ts} +2 -2
  60. package/dist/types/models/gs1/{subSiteTypes.d.ts → gs1SubSiteTypes.d.ts} +2 -2
  61. package/docs/changelog.md +63 -0
  62. package/docs/reference/classes/Gs1Location.md +2 -2
  63. package/docs/reference/index.md +14 -14
  64. package/docs/reference/interfaces/IAggregationEvent.md +3 -3
  65. package/docs/reference/interfaces/IAssociationEvent.md +3 -3
  66. package/docs/reference/interfaces/IEpcisEventDetails.md +3 -3
  67. package/docs/reference/interfaces/IObjectEvent.md +3 -3
  68. package/docs/reference/type-aliases/EpcisActionTypes.md +5 -0
  69. package/docs/reference/type-aliases/EpcisBizStepTypes.md +5 -0
  70. package/docs/reference/type-aliases/EpcisDispositionTypes.md +5 -0
  71. package/docs/reference/type-aliases/EpcisEventTypes.md +5 -0
  72. package/docs/reference/type-aliases/Gs1SubSiteAttributes.md +7 -0
  73. package/docs/reference/type-aliases/Gs1SubSiteTypes.md +7 -0
  74. package/docs/reference/variables/{ActionTypes.md → EpcisActionTypes.md} +2 -2
  75. package/docs/reference/variables/{BizStepTypes.md → EpcisBizStepTypes.md} +2 -2
  76. package/docs/reference/variables/{DispositionTypes.md → EpcisDispositionTypes.md} +2 -2
  77. package/docs/reference/variables/{EventTypes.md → EpcisEventTypes.md} +2 -2
  78. package/docs/reference/variables/{SubSiteAttributes.md → Gs1SubSiteAttributes.md} +2 -2
  79. package/docs/reference/variables/{SubSiteTypes.md → Gs1SubSiteTypes.md} +2 -2
  80. package/package.json +1 -1
  81. package/dist/es/models/epcis20/IAggregationEvent.js +0 -2
  82. package/dist/es/models/epcis20/IAggregationEvent.js.map +0 -1
  83. package/dist/es/models/epcis20/IAssociationEvent.js +0 -2
  84. package/dist/es/models/epcis20/IAssociationEvent.js.map +0 -1
  85. package/dist/es/models/epcis20/IBaseAggregationEvent.js +0 -2
  86. package/dist/es/models/epcis20/IBaseAggregationEvent.js.map +0 -1
  87. package/dist/es/models/epcis20/IBizTransaction.js.map +0 -1
  88. package/dist/es/models/epcis20/IDestination.js.map +0 -1
  89. package/dist/es/models/epcis20/IObjectEvent.js +0 -2
  90. package/dist/es/models/epcis20/IObjectEvent.js.map +0 -1
  91. package/dist/es/models/epcis20/IQuantity.js.map +0 -1
  92. package/dist/es/models/epcis20/ISensorElement.js +0 -2
  93. package/dist/es/models/epcis20/ISensorElement.js.map +0 -1
  94. package/dist/es/models/epcis20/ISensorMetadata.js.map +0 -1
  95. package/dist/es/models/epcis20/ISensorReport.js.map +0 -1
  96. package/dist/es/models/epcis20/ISimpleLocation.js +0 -4
  97. package/dist/es/models/epcis20/ISimpleLocation.js.map +0 -1
  98. package/dist/es/models/epcis20/ISource.js +0 -4
  99. package/dist/es/models/epcis20/ISource.js.map +0 -1
  100. package/dist/es/models/epcis20/actionTypes.js.map +0 -1
  101. package/dist/es/models/epcis20/bizStepTypes.js.map +0 -1
  102. package/dist/es/models/epcis20/dispositionTypes.js.map +0 -1
  103. package/dist/es/models/epcis20/eventTypes.js.map +0 -1
  104. package/dist/es/models/gs1/subSiteAttributes.js.map +0 -1
  105. package/dist/es/models/gs1/subSiteTypes.js.map +0 -1
  106. package/docs/reference/type-aliases/ActionTypes.md +0 -5
  107. package/docs/reference/type-aliases/BizStepTypes.md +0 -5
  108. package/docs/reference/type-aliases/DispositionTypes.md +0 -5
  109. package/docs/reference/type-aliases/EventTypes.md +0 -5
  110. package/docs/reference/type-aliases/SubSiteAttributes.md +0 -7
  111. package/docs/reference/type-aliases/SubSiteTypes.md +0 -7
  112. /package/dist/types/models/epcis20/{IBizTransaction.d.ts → IEpcisBizTransaction.d.ts} +0 -0
  113. /package/dist/types/models/epcis20/{IDestination.d.ts → IEpcisDestination.d.ts} +0 -0
  114. /package/dist/types/models/epcis20/{IQuantity.d.ts → IEpcisQuantity.d.ts} +0 -0
  115. /package/dist/types/models/epcis20/{ISensorMetadata.d.ts → IEpcisSensorMetadata.d.ts} +0 -0
  116. /package/dist/types/models/epcis20/{ISensorReport.d.ts → IEpcisSensorReport.d.ts} +0 -0
  117. /package/dist/types/models/epcis20/{ISimpleLocation.d.ts → IEpcisSimpleLocation.d.ts} +0 -0
  118. /package/dist/types/models/epcis20/{ISource.d.ts → IEpcisSource.d.ts} +0 -0
@@ -1,9 +1,9 @@
1
- import type { ActionTypes } from "./actionTypes.js";
2
- import type { BizStepTypes } from "./bizStepTypes.js";
3
- import type { DispositionTypes } from "./dispositionTypes.js";
4
- import type { IBizTransaction } from "./IBizTransaction.js";
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
5
  import type { IEpcisEvent } from "./IEpcisEvent.js";
6
- import type { ISimpleLocation } from "./ISimpleLocation.js";
6
+ import type { ISimpleLocation } from "./IEpcisSimpleLocation.js";
7
7
  /**
8
8
  * EPCIS Event Details.
9
9
  */
@@ -11,7 +11,7 @@ export interface IEpcisEventDetails extends IEpcisEvent {
11
11
  /**
12
12
  * Action: ADD, OBSERVE, DELETE.
13
13
  */
14
- action: ActionTypes;
14
+ action: EpcisActionTypes;
15
15
  /**
16
16
  * The location of reading point.
17
17
  */
@@ -23,11 +23,11 @@ export interface IEpcisEventDetails extends IEpcisEvent {
23
23
  /**
24
24
  * The business step as per EPCIS.
25
25
  */
26
- bizStep?: BizStepTypes;
26
+ bizStep?: EpcisBizStepTypes;
27
27
  /**
28
28
  * The disposition as per EPCIS.
29
29
  */
30
- disposition?: DispositionTypes;
30
+ disposition?: EpcisDispositionTypes;
31
31
  /**
32
32
  * The list of related business transactions.
33
33
  */
@@ -1,6 +1,6 @@
1
1
  import type { IEpcisEventDetails } from "./IEpcisEventDetails.js";
2
- import type { IQuantity } from "./IQuantity.js";
3
- import type { ISensorElement } from "./ISensorElement.js";
2
+ import type { IQuantity } from "./IEpcisQuantity.js";
3
+ import type { ISensorElement } from "./IEpcisSensorElement.js";
4
4
  /**
5
5
  * Defines an EPCIS 2.0 Object Event.
6
6
  *
@@ -1,5 +1,5 @@
1
- import type { ISensorMetadata } from "./ISensorMetadata.js";
2
- import type { ISensorReport } from "./ISensorReport.js";
1
+ import type { ISensorMetadata } from "./IEpcisSensorMetadata.js";
2
+ import type { ISensorReport } from "./IEpcisSensorReport.js";
3
3
  /**
4
4
  * EPCIS SensorElement.
5
5
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * EPCIS 2.0 action types.
3
3
  */
4
- export declare const ActionTypes: {
4
+ export declare const EpcisActionTypes: {
5
5
  /**
6
6
  * ADD action.
7
7
  */
@@ -18,4 +18,4 @@ export declare const ActionTypes: {
18
18
  /**
19
19
  * EPCIS 2.0 action types.
20
20
  */
21
- export type ActionTypes = (typeof ActionTypes)[keyof typeof ActionTypes];
21
+ export type EpcisActionTypes = (typeof EpcisActionTypes)[keyof typeof EpcisActionTypes];
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * See EPCIS CVB specification for details.
5
5
  */
6
- export declare const BizStepTypes: {
6
+ export declare const EpcisBizStepTypes: {
7
7
  readonly Accepting: "accepting";
8
8
  readonly Arriving: "arriving";
9
9
  readonly Assembling: "assembling";
@@ -49,4 +49,4 @@ export declare const BizStepTypes: {
49
49
  /**
50
50
  * EPCIS 2.0 action types.
51
51
  */
52
- export type BizStepTypes = (typeof BizStepTypes)[keyof typeof BizStepTypes];
52
+ export type EpcisBizStepTypes = (typeof EpcisBizStepTypes)[keyof typeof EpcisBizStepTypes];
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * See EPCIS CVB for more details.
5
5
  */
6
- export declare const DispositionTypes: {
6
+ export declare const EpcisDispositionTypes: {
7
7
  readonly Active: "active";
8
8
  readonly ContainerClosed: "container_closed";
9
9
  readonly Damaged: "damaged";
@@ -41,4 +41,4 @@ export declare const DispositionTypes: {
41
41
  /**
42
42
  * EPCIS 2.0 disposition types.
43
43
  */
44
- export type DispositionTypes = (typeof DispositionTypes)[keyof typeof DispositionTypes];
44
+ export type EpcisDispositionTypes = (typeof EpcisDispositionTypes)[keyof typeof EpcisDispositionTypes];
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * EPCIS 2.0 event types.
3
3
  */
4
- export declare const EventTypes: {
4
+ export declare const EpcisEventTypes: {
5
5
  /**
6
6
  * ObjectEvent.
7
7
  */
@@ -26,4 +26,4 @@ export declare const EventTypes: {
26
26
  /**
27
27
  * EPCIS 2.0 event types.
28
28
  */
29
- export type EventTypes = (typeof EventTypes)[keyof typeof EventTypes];
29
+ export type EpcisEventTypes = (typeof EpcisEventTypes)[keyof typeof EpcisEventTypes];
@@ -1,6 +1,6 @@
1
- import type { IAggregationEvent } from "./IAggregationEvent.js";
2
- import type { IAssociationEvent } from "./IAssociationEvent.js";
3
- import type { IObjectEvent } from "./IObjectEvent.js";
1
+ import type { IAggregationEvent } from "./IEpcisAggregationEvent.js";
2
+ import type { IAssociationEvent } from "./IEpcisAssociationEvent.js";
3
+ import type { IObjectEvent } from "./IEpcisObjectEvent.js";
4
4
  /**
5
5
  * The type that subsumes an EPCIS Event.
6
6
  */
@@ -3,7 +3,7 @@
3
3
  * Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .
4
4
  * Section 10.3.2 .
5
5
  */
6
- export declare const SubSiteAttributes: {
6
+ export declare const Gs1SubSiteAttributes: {
7
7
  /**
8
8
  * Electronics.
9
9
  */
@@ -142,4 +142,4 @@ export declare const SubSiteAttributes: {
142
142
  * Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .
143
143
  * Section 10.3.2 .
144
144
  */
145
- export type SubSiteAttributes = (typeof SubSiteAttributes)[keyof typeof SubSiteAttributes];
145
+ export type Gs1SubSiteAttributes = (typeof Gs1SubSiteAttributes)[keyof typeof Gs1SubSiteAttributes];
@@ -3,7 +3,7 @@
3
3
  * Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .
4
4
  * Section 10.3.1 .
5
5
  */
6
- export declare const SubSiteTypes: {
6
+ export declare const Gs1SubSiteTypes: {
7
7
  /**
8
8
  * The Backroom.
9
9
  */
@@ -74,4 +74,4 @@ export declare const SubSiteTypes: {
74
74
  * Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .
75
75
  * Section 10.3.1 .
76
76
  */
77
- export type SubSiteTypes = (typeof SubSiteTypes)[keyof typeof SubSiteTypes];
77
+ export type Gs1SubSiteTypes = (typeof Gs1SubSiteTypes)[keyof typeof Gs1SubSiteTypes];
package/docs/changelog.md CHANGED
@@ -1,5 +1,68 @@
1
1
  # @twin.org/standards-gs1 - Changelog
2
2
 
3
+ ## [0.0.3-next.10](https://github.com/twinfoundation/standards/compare/standards-gs1-v0.0.3-next.9...standards-gs1-v0.0.3-next.10) (2026-01-13)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **standards-gs1:** Synchronize repo versions
9
+
10
+ ## [0.0.3-next.9](https://github.com/twinfoundation/standards/compare/standards-gs1-v0.0.3-next.8...standards-gs1-v0.0.3-next.9) (2026-01-09)
11
+
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **standards-gs1:** Synchronize repo versions
16
+
17
+ ## [0.0.3-next.8](https://github.com/twinfoundation/standards/compare/standards-gs1-v0.0.3-next.7...standards-gs1-v0.0.3-next.8) (2026-01-08)
18
+
19
+
20
+ ### Miscellaneous Chores
21
+
22
+ * **standards-gs1:** Synchronize repo versions
23
+
24
+ ## [0.0.3-next.7](https://github.com/twinfoundation/standards/compare/standards-gs1-v0.0.3-next.6...standards-gs1-v0.0.3-next.7) (2026-01-06)
25
+
26
+
27
+ ### Features
28
+
29
+ * update type names ([#89](https://github.com/twinfoundation/standards/issues/89)) ([6fdef47](https://github.com/twinfoundation/standards/commit/6fdef4792151f89d1a95a07da8309d05a7b6de3d))
30
+
31
+ ## [0.0.3-next.6](https://github.com/twinfoundation/standards/compare/standards-gs1-v0.0.3-next.5...standards-gs1-v0.0.3-next.6) (2025-12-03)
32
+
33
+
34
+ ### Miscellaneous Chores
35
+
36
+ * **standards-gs1:** Synchronize repo versions
37
+
38
+ ## [0.0.3-next.5](https://github.com/twinfoundation/standards/compare/standards-gs1-v0.0.3-next.4...standards-gs1-v0.0.3-next.5) (2025-11-28)
39
+
40
+
41
+ ### Miscellaneous Chores
42
+
43
+ * **standards-gs1:** Synchronize repo versions
44
+
45
+ ## [0.0.3-next.4](https://github.com/twinfoundation/standards/compare/standards-gs1-v0.0.3-next.3...standards-gs1-v0.0.3-next.4) (2025-11-18)
46
+
47
+
48
+ ### Miscellaneous Chores
49
+
50
+ * **standards-gs1:** Synchronize repo versions
51
+
52
+ ## [0.0.3-next.3](https://github.com/twinfoundation/standards/compare/standards-gs1-v0.0.3-next.2...standards-gs1-v0.0.3-next.3) (2025-11-18)
53
+
54
+
55
+ ### Miscellaneous Chores
56
+
57
+ * **standards-gs1:** Synchronize repo versions
58
+
59
+ ## [0.0.3-next.2](https://github.com/twinfoundation/standards/compare/standards-gs1-v0.0.3-next.1...standards-gs1-v0.0.3-next.2) (2025-11-11)
60
+
61
+
62
+ ### Miscellaneous Chores
63
+
64
+ * **standards-gs1:** Synchronize repo versions
65
+
3
66
  ## [0.0.3-next.1](https://github.com/twinfoundation/standards/compare/standards-gs1-v0.0.3-next.0...standards-gs1-v0.0.3-next.1) (2025-11-10)
4
67
 
5
68
 
@@ -34,7 +34,7 @@ Identifies the site in which the location is contained.
34
34
 
35
35
  ### sst?
36
36
 
37
- > `optional` **sst**: [`SubSiteTypes`](../type-aliases/SubSiteTypes.md)
37
+ > `optional` **sst**: [`Gs1SubSiteTypes`](../type-aliases/Gs1SubSiteTypes.md)
38
38
 
39
39
  Sub site type describes the primary business function of the sub site location.
40
40
 
@@ -42,7 +42,7 @@ Sub site type describes the primary business function of the sub site location.
42
42
 
43
43
  ### ssa?
44
44
 
45
- > `optional` **ssa**: [`SubSiteAttributes`](../type-aliases/SubSiteAttributes.md)
45
+ > `optional` **ssa**: [`Gs1SubSiteAttributes`](../type-aliases/Gs1SubSiteAttributes.md)
46
46
 
47
47
  Sub site attribute further qualifies the business function of the sub site location.
48
48
 
@@ -19,10 +19,10 @@
19
19
  - [IEpcisDocument](interfaces/IEpcisDocument.md)
20
20
  - [IEpcisEvent](interfaces/IEpcisEvent.md)
21
21
  - [IEpcisEventDetails](interfaces/IEpcisEventDetails.md)
22
- - [IEpcisQuery](interfaces/IEpcisQuery.md)
23
- - [IEpcisQueryDocument](interfaces/IEpcisQueryDocument.md)
24
22
  - [IObjectEvent](interfaces/IObjectEvent.md)
25
23
  - [IQuantity](interfaces/IQuantity.md)
24
+ - [IEpcisQuery](interfaces/IEpcisQuery.md)
25
+ - [IEpcisQueryDocument](interfaces/IEpcisQueryDocument.md)
26
26
  - [ISensorElement](interfaces/ISensorElement.md)
27
27
  - [ISensorMetadata](interfaces/ISensorMetadata.md)
28
28
  - [ISensorReport](interfaces/ISensorReport.md)
@@ -31,29 +31,29 @@
31
31
 
32
32
  ## Type Aliases
33
33
 
34
- - [ActionTypes](type-aliases/ActionTypes.md)
35
- - [BizStepTypes](type-aliases/BizStepTypes.md)
36
- - [DispositionTypes](type-aliases/DispositionTypes.md)
34
+ - [EpcisActionTypes](type-aliases/EpcisActionTypes.md)
35
+ - [EpcisBizStepTypes](type-aliases/EpcisBizStepTypes.md)
36
+ - [EpcisDispositionTypes](type-aliases/EpcisDispositionTypes.md)
37
37
  - [EpcisErrorTypes](type-aliases/EpcisErrorTypes.md)
38
+ - [EpcisEventTypes](type-aliases/EpcisEventTypes.md)
38
39
  - [EpcisEventUnionType](type-aliases/EpcisEventUnionType.md)
39
- - [EventTypes](type-aliases/EventTypes.md)
40
40
  - [GS1Contexts](type-aliases/GS1Contexts.md)
41
41
  - [Gs1IdTypes](type-aliases/Gs1IdTypes.md)
42
42
  - [Gs1IdentifierTypes](type-aliases/Gs1IdentifierTypes.md)
43
+ - [Gs1SubSiteAttributes](type-aliases/Gs1SubSiteAttributes.md)
44
+ - [Gs1SubSiteTypes](type-aliases/Gs1SubSiteTypes.md)
43
45
  - [Gs1Types](type-aliases/Gs1Types.md)
44
- - [SubSiteAttributes](type-aliases/SubSiteAttributes.md)
45
- - [SubSiteTypes](type-aliases/SubSiteTypes.md)
46
46
 
47
47
  ## Variables
48
48
 
49
- - [ActionTypes](variables/ActionTypes.md)
50
- - [BizStepTypes](variables/BizStepTypes.md)
51
- - [DispositionTypes](variables/DispositionTypes.md)
49
+ - [EpcisActionTypes](variables/EpcisActionTypes.md)
50
+ - [EpcisBizStepTypes](variables/EpcisBizStepTypes.md)
51
+ - [EpcisDispositionTypes](variables/EpcisDispositionTypes.md)
52
52
  - [EpcisErrorTypes](variables/EpcisErrorTypes.md)
53
- - [EventTypes](variables/EventTypes.md)
53
+ - [EpcisEventTypes](variables/EpcisEventTypes.md)
54
54
  - [GS1Contexts](variables/GS1Contexts.md)
55
55
  - [Gs1IdTypes](variables/Gs1IdTypes.md)
56
56
  - [Gs1IdentifierTypes](variables/Gs1IdentifierTypes.md)
57
+ - [Gs1SubSiteAttributes](variables/Gs1SubSiteAttributes.md)
58
+ - [Gs1SubSiteTypes](variables/Gs1SubSiteTypes.md)
57
59
  - [Gs1Types](variables/Gs1Types.md)
58
- - [SubSiteAttributes](variables/SubSiteAttributes.md)
59
- - [SubSiteTypes](variables/SubSiteTypes.md)
@@ -154,7 +154,7 @@ Destination list. Semantics according to EPCIS standard.
154
154
 
155
155
  ### action
156
156
 
157
- > **action**: [`ActionTypes`](../type-aliases/ActionTypes.md)
157
+ > **action**: [`EpcisActionTypes`](../type-aliases/EpcisActionTypes.md)
158
158
 
159
159
  Action: ADD, OBSERVE, DELETE.
160
160
 
@@ -190,7 +190,7 @@ The biz location where the item ends up.
190
190
 
191
191
  ### bizStep?
192
192
 
193
- > `optional` **bizStep**: [`BizStepTypes`](../type-aliases/BizStepTypes.md)
193
+ > `optional` **bizStep**: [`EpcisBizStepTypes`](../type-aliases/EpcisBizStepTypes.md)
194
194
 
195
195
  The business step as per EPCIS.
196
196
 
@@ -202,7 +202,7 @@ The business step as per EPCIS.
202
202
 
203
203
  ### disposition?
204
204
 
205
- > `optional` **disposition**: [`DispositionTypes`](../type-aliases/DispositionTypes.md)
205
+ > `optional` **disposition**: [`EpcisDispositionTypes`](../type-aliases/EpcisDispositionTypes.md)
206
206
 
207
207
  The disposition as per EPCIS.
208
208
 
@@ -154,7 +154,7 @@ Destination list. Semantics according to EPCIS standard.
154
154
 
155
155
  ### action
156
156
 
157
- > **action**: [`ActionTypes`](../type-aliases/ActionTypes.md)
157
+ > **action**: [`EpcisActionTypes`](../type-aliases/EpcisActionTypes.md)
158
158
 
159
159
  Action: ADD, OBSERVE, DELETE.
160
160
 
@@ -190,7 +190,7 @@ The biz location where the item ends up.
190
190
 
191
191
  ### bizStep?
192
192
 
193
- > `optional` **bizStep**: [`BizStepTypes`](../type-aliases/BizStepTypes.md)
193
+ > `optional` **bizStep**: [`EpcisBizStepTypes`](../type-aliases/EpcisBizStepTypes.md)
194
194
 
195
195
  The business step as per EPCIS.
196
196
 
@@ -202,7 +202,7 @@ The business step as per EPCIS.
202
202
 
203
203
  ### disposition?
204
204
 
205
- > `optional` **disposition**: [`DispositionTypes`](../type-aliases/DispositionTypes.md)
205
+ > `optional` **disposition**: [`EpcisDispositionTypes`](../type-aliases/EpcisDispositionTypes.md)
206
206
 
207
207
  The disposition as per EPCIS.
208
208
 
@@ -122,7 +122,7 @@ Destination list. Semantics according to EPCIS standard.
122
122
 
123
123
  ### action
124
124
 
125
- > **action**: [`ActionTypes`](../type-aliases/ActionTypes.md)
125
+ > **action**: [`EpcisActionTypes`](../type-aliases/EpcisActionTypes.md)
126
126
 
127
127
  Action: ADD, OBSERVE, DELETE.
128
128
 
@@ -146,7 +146,7 @@ The biz location where the item ends up.
146
146
 
147
147
  ### bizStep?
148
148
 
149
- > `optional` **bizStep**: [`BizStepTypes`](../type-aliases/BizStepTypes.md)
149
+ > `optional` **bizStep**: [`EpcisBizStepTypes`](../type-aliases/EpcisBizStepTypes.md)
150
150
 
151
151
  The business step as per EPCIS.
152
152
 
@@ -154,7 +154,7 @@ The business step as per EPCIS.
154
154
 
155
155
  ### disposition?
156
156
 
157
- > `optional` **disposition**: [`DispositionTypes`](../type-aliases/DispositionTypes.md)
157
+ > `optional` **disposition**: [`EpcisDispositionTypes`](../type-aliases/EpcisDispositionTypes.md)
158
158
 
159
159
  The disposition as per EPCIS.
160
160
 
@@ -106,7 +106,7 @@ Destination list. Semantics according to EPCIS standard.
106
106
 
107
107
  ### action
108
108
 
109
- > **action**: [`ActionTypes`](../type-aliases/ActionTypes.md)
109
+ > **action**: [`EpcisActionTypes`](../type-aliases/EpcisActionTypes.md)
110
110
 
111
111
  Action: ADD, OBSERVE, DELETE.
112
112
 
@@ -142,7 +142,7 @@ The biz location where the item ends up.
142
142
 
143
143
  ### bizStep?
144
144
 
145
- > `optional` **bizStep**: [`BizStepTypes`](../type-aliases/BizStepTypes.md)
145
+ > `optional` **bizStep**: [`EpcisBizStepTypes`](../type-aliases/EpcisBizStepTypes.md)
146
146
 
147
147
  The business step as per EPCIS.
148
148
 
@@ -154,7 +154,7 @@ The business step as per EPCIS.
154
154
 
155
155
  ### disposition?
156
156
 
157
- > `optional` **disposition**: [`DispositionTypes`](../type-aliases/DispositionTypes.md)
157
+ > `optional` **disposition**: [`EpcisDispositionTypes`](../type-aliases/EpcisDispositionTypes.md)
158
158
 
159
159
  The disposition as per EPCIS.
160
160
 
@@ -0,0 +1,5 @@
1
+ # Type Alias: EpcisActionTypes
2
+
3
+ > **EpcisActionTypes** = *typeof* [`EpcisActionTypes`](../variables/EpcisActionTypes.md)\[keyof *typeof* [`EpcisActionTypes`](../variables/EpcisActionTypes.md)\]
4
+
5
+ EPCIS 2.0 action types.
@@ -0,0 +1,5 @@
1
+ # Type Alias: EpcisBizStepTypes
2
+
3
+ > **EpcisBizStepTypes** = *typeof* [`EpcisBizStepTypes`](../variables/EpcisBizStepTypes.md)\[keyof *typeof* [`EpcisBizStepTypes`](../variables/EpcisBizStepTypes.md)\]
4
+
5
+ EPCIS 2.0 action types.
@@ -0,0 +1,5 @@
1
+ # Type Alias: EpcisDispositionTypes
2
+
3
+ > **EpcisDispositionTypes** = *typeof* [`EpcisDispositionTypes`](../variables/EpcisDispositionTypes.md)\[keyof *typeof* [`EpcisDispositionTypes`](../variables/EpcisDispositionTypes.md)\]
4
+
5
+ EPCIS 2.0 disposition types.
@@ -0,0 +1,5 @@
1
+ # Type Alias: EpcisEventTypes
2
+
3
+ > **EpcisEventTypes** = *typeof* [`EpcisEventTypes`](../variables/EpcisEventTypes.md)\[keyof *typeof* [`EpcisEventTypes`](../variables/EpcisEventTypes.md)\]
4
+
5
+ EPCIS 2.0 event types.
@@ -0,0 +1,7 @@
1
+ # Type Alias: Gs1SubSiteAttributes
2
+
3
+ > **Gs1SubSiteAttributes** = *typeof* [`Gs1SubSiteAttributes`](../variables/Gs1SubSiteAttributes.md)\[keyof *typeof* [`Gs1SubSiteAttributes`](../variables/Gs1SubSiteAttributes.md)\]
4
+
5
+ Sub Site Attributes.
6
+ Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .
7
+ Section 10.3.2 .
@@ -0,0 +1,7 @@
1
+ # Type Alias: Gs1SubSiteTypes
2
+
3
+ > **Gs1SubSiteTypes** = *typeof* [`Gs1SubSiteTypes`](../variables/Gs1SubSiteTypes.md)\[keyof *typeof* [`Gs1SubSiteTypes`](../variables/Gs1SubSiteTypes.md)\]
4
+
5
+ Sub Site Identifier Types.
6
+ Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .
7
+ Section 10.3.1 .
@@ -1,6 +1,6 @@
1
- # Variable: ActionTypes
1
+ # Variable: EpcisActionTypes
2
2
 
3
- > `const` **ActionTypes**: `object`
3
+ > `const` **EpcisActionTypes**: `object`
4
4
 
5
5
  EPCIS 2.0 action types.
6
6
 
@@ -1,6 +1,6 @@
1
- # Variable: BizStepTypes
1
+ # Variable: EpcisBizStepTypes
2
2
 
3
- > `const` **BizStepTypes**: `object`
3
+ > `const` **EpcisBizStepTypes**: `object`
4
4
 
5
5
  Supported EPCIS 2.0 bizStep.
6
6
 
@@ -1,6 +1,6 @@
1
- # Variable: DispositionTypes
1
+ # Variable: EpcisDispositionTypes
2
2
 
3
- > `const` **DispositionTypes**: `object`
3
+ > `const` **EpcisDispositionTypes**: `object`
4
4
 
5
5
  EPCIS 2.0 disposition types.
6
6
 
@@ -1,6 +1,6 @@
1
- # Variable: EventTypes
1
+ # Variable: EpcisEventTypes
2
2
 
3
- > `const` **EventTypes**: `object`
3
+ > `const` **EpcisEventTypes**: `object`
4
4
 
5
5
  EPCIS 2.0 event types.
6
6
 
@@ -1,6 +1,6 @@
1
- # Variable: SubSiteAttributes
1
+ # Variable: Gs1SubSiteAttributes
2
2
 
3
- > `const` **SubSiteAttributes**: `object`
3
+ > `const` **Gs1SubSiteAttributes**: `object`
4
4
 
5
5
  Sub Site Attributes.
6
6
  Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .
@@ -1,6 +1,6 @@
1
- # Variable: SubSiteTypes
1
+ # Variable: Gs1SubSiteTypes
2
2
 
3
- > `const` **SubSiteTypes**: `object`
3
+ > `const` **Gs1SubSiteTypes**: `object`
4
4
 
5
5
  Sub Site Identifier Types.
6
6
  Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-gs1",
3
- "version": "0.0.3-next.1",
3
+ "version": "0.0.3-next.10",
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=IAggregationEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAggregationEvent.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IAggregationEvent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IBaseAggregationEvent } from \"./IBaseAggregationEvent.js\";\n\n/**\n * Describes an AggregationEvent.\n */\nexport interface IAggregationEvent extends IBaseAggregationEvent {\n\t/**\n\t * The type.\n\t */\n\ttype: \"AggregationEvent\";\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IAssociationEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAssociationEvent.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IAssociationEvent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IBaseAggregationEvent } from \"./IBaseAggregationEvent.js\";\n\n/**\n * Association Event.\n */\nexport interface IAssociationEvent extends IBaseAggregationEvent {\n\t/**\n\t * Type.\n\t */\n\ttype: \"AssociationEvent\";\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IBaseAggregationEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IBaseAggregationEvent.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IBaseAggregationEvent.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 \"./IQuantity.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 +0,0 @@
1
- {"version":3,"file":"IBizTransaction.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IBizTransaction.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Biz Transaction.\n */\nexport interface IBizTransaction {\n\t/**\n\t * Type.\n\t */\n\ttype: string;\n\n\t/**\n\t * The transaction.\n\t */\n\tbizTransaction: string;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IDestination.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IDestination.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Destination.\n */\nexport interface IDestination {\n\t/**\n\t * Type.\n\t */\n\ttype: string;\n\n\t/**\n\t * The destination.\n\t */\n\tdestination: string;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IObjectEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IObjectEvent.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IObjectEvent.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 \"./IQuantity.js\";\nimport type { ISensorElement } from \"./ISensorElement.js\";\n\n/**\n * Defines an EPCIS 2.0 Object Event.\n *\n */\nexport interface IObjectEvent extends IEpcisEventDetails {\n\t/**\n\t * Fixed to ObjectEvent.\n\t */\n\ttype: \"ObjectEvent\";\n\n\t/**\n\t * List of EPCs involved.\n\t */\n\tepcList: string[];\n\n\t/**\n\t * Quantity in case of class-level event visibility data.\n\t */\n\tquantityList?: IQuantity[];\n\n\t/**\n\t * Sensor element list.\n\t */\n\tsensorElementList?: ISensorElement[];\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IQuantity.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IQuantity.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Quantity.\n */\nexport interface IQuantity {\n\t/**\n\t * EPC Class.\n\t */\n\tepcClass: string;\n\n\t/**\n\t * Quantity.\n\t */\n\tquantity: number;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ISensorElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISensorElement.js","sourceRoot":"","sources":["../../../../src/models/epcis20/ISensorElement.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ISensorMetadata } from \"./ISensorMetadata.js\";\nimport type { ISensorReport } from \"./ISensorReport.js\";\n\n/**\n * EPCIS SensorElement.\n */\nexport interface ISensorElement {\n\t/**\n\t * Sensor metadata.\n\t */\n\tsensorMetadata?: ISensorMetadata;\n\n\t/**\n\t * Sensor report.\n\t */\n\tsensorReport: ISensorReport[];\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISensorMetadata.js","sourceRoot":"","sources":["../../../../src/models/epcis20/ISensorMetadata.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Sensor metadata.\n */\nexport interface ISensorMetadata {\n\t/**\n\t * Time.\n\t */\n\ttime: string;\n\n\t/**\n\t * Device ID.\n\t */\n\tdeviceID: string;\n\n\t/**\n\t * Device Metadata.\n\t */\n\tdeviceMetadata: string;\n\n\t/**\n\t * Raw data.\n\t */\n\trawData: string;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISensorReport.js","sourceRoot":"","sources":["../../../../src/models/epcis20/ISensorReport.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS SensorReport.\n */\nexport interface ISensorReport {\n\t/**\n\t * Type.\n\t */\n\ttype: string;\n\n\t/**\n\t * Value.\n\t */\n\tvalue: number;\n\n\t/**\n\t * Unit of measurement.\n\t */\n\tuom: string;\n}\n"]}
@@ -1,4 +0,0 @@
1
- // Copyright 2024 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- export {};
4
- //# sourceMappingURL=ISimpleLocation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISimpleLocation.js","sourceRoot":"","sources":["../../../../src/models/epcis20/ISimpleLocation.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,4 +0,0 @@
1
- // Copyright 2024 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- export {};
4
- //# sourceMappingURL=ISource.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISource.js","sourceRoot":"","sources":["../../../../src/models/epcis20/ISource.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Biz Transaction.\n */\nexport interface ISource {\n\t/**\n\t * Type.\n\t */\n\ttype: string;\n\n\t/**\n\t * The source.\n\t */\n\tsource: string;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"actionTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/actionTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B;;OAEG;IACH,GAAG,EAAE,KAAK;IAEV;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,MAAM,EAAE,QAAQ;CACP,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS 2.0 action types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ActionTypes = {\n\t/**\n\t * ADD action.\n\t */\n\tAdd: \"ADD\",\n\n\t/**\n\t * OBSERVE action.\n\t */\n\tObserve: \"OBSERVE\",\n\n\t/**\n\t * DELETE action.\n\t */\n\tDelete: \"DELETE\"\n} as const;\n\n/**\n * EPCIS 2.0 action types.\n */\nexport type ActionTypes = (typeof ActionTypes)[keyof typeof ActionTypes];\n"]}