@twin.org/standards-gs1 0.0.3-next.6 → 0.0.3-next.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/entities/gs1Location.js.map +1 -1
- package/dist/es/index.js +17 -17
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisAggregationEvent.js +2 -0
- package/dist/es/models/epcis20/IEpcisAggregationEvent.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisAssociationEvent.js +2 -0
- package/dist/es/models/epcis20/IEpcisAssociationEvent.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js +2 -0
- package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js.map +1 -0
- package/dist/es/models/epcis20/{ISensorMetadata.js → IEpcisBizTransaction.js} +1 -1
- package/dist/es/models/epcis20/IEpcisBizTransaction.js.map +1 -0
- package/dist/es/models/epcis20/{IBizTransaction.js → IEpcisDestination.js} +1 -1
- package/dist/es/models/epcis20/IEpcisDestination.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisEvent.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisEventDetails.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisObjectEvent.js +2 -0
- package/dist/es/models/epcis20/IEpcisObjectEvent.js.map +1 -0
- package/dist/es/models/epcis20/{ISensorReport.js → IEpcisQuantity.js} +1 -1
- package/dist/es/models/epcis20/IEpcisQuantity.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisSensorElement.js +2 -0
- package/dist/es/models/epcis20/IEpcisSensorElement.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisSensorMetadata.js +4 -0
- package/dist/es/models/epcis20/IEpcisSensorMetadata.js.map +1 -0
- package/dist/es/models/epcis20/{IQuantity.js → IEpcisSensorReport.js} +1 -1
- package/dist/es/models/epcis20/IEpcisSensorReport.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisSimpleLocation.js +4 -0
- package/dist/es/models/epcis20/IEpcisSimpleLocation.js.map +1 -0
- package/dist/es/models/epcis20/{IDestination.js → IEpcisSource.js} +1 -1
- package/dist/es/models/epcis20/IEpcisSource.js.map +1 -0
- package/dist/es/models/epcis20/{actionTypes.js → epcisActionTypes.js} +2 -2
- package/dist/es/models/epcis20/epcisActionTypes.js.map +1 -0
- package/dist/es/models/epcis20/{bizStepTypes.js → epcisBizStepTypes.js} +2 -2
- package/dist/es/models/epcis20/epcisBizStepTypes.js.map +1 -0
- package/dist/es/models/epcis20/{dispositionTypes.js → epcisDispositionTypes.js} +2 -2
- package/dist/es/models/epcis20/epcisDispositionTypes.js.map +1 -0
- package/dist/es/models/epcis20/{eventTypes.js → epcisEventTypes.js} +2 -2
- package/dist/es/models/epcis20/epcisEventTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisEventUnionType.js.map +1 -1
- package/dist/es/models/gs1/{subSiteAttributes.js → gs1SubSiteAttributes.js} +2 -2
- package/dist/es/models/gs1/gs1SubSiteAttributes.js.map +1 -0
- package/dist/es/models/gs1/{subSiteTypes.js → gs1SubSiteTypes.js} +2 -2
- package/dist/es/models/gs1/gs1SubSiteTypes.js.map +1 -0
- package/dist/es/utils/gs1Validation.js +4 -4
- package/dist/es/utils/gs1Validation.js.map +1 -1
- package/dist/types/entities/gs1Location.d.ts +4 -4
- package/dist/types/index.d.ts +17 -17
- package/dist/types/models/epcis20/{IAggregationEvent.d.ts → IEpcisAggregationEvent.d.ts} +1 -1
- package/dist/types/models/epcis20/{IAssociationEvent.d.ts → IEpcisAssociationEvent.d.ts} +1 -1
- package/dist/types/models/epcis20/{IBaseAggregationEvent.d.ts → IEpcisBaseAggregationEvent.d.ts} +1 -1
- package/dist/types/models/epcis20/IEpcisEvent.d.ts +2 -2
- package/dist/types/models/epcis20/IEpcisEventDetails.d.ts +8 -8
- package/dist/types/models/epcis20/{IObjectEvent.d.ts → IEpcisObjectEvent.d.ts} +2 -2
- package/dist/types/models/epcis20/{ISensorElement.d.ts → IEpcisSensorElement.d.ts} +2 -2
- package/dist/types/models/epcis20/{actionTypes.d.ts → epcisActionTypes.d.ts} +2 -2
- package/dist/types/models/epcis20/{bizStepTypes.d.ts → epcisBizStepTypes.d.ts} +2 -2
- package/dist/types/models/epcis20/{dispositionTypes.d.ts → epcisDispositionTypes.d.ts} +2 -2
- package/dist/types/models/epcis20/{eventTypes.d.ts → epcisEventTypes.d.ts} +2 -2
- package/dist/types/models/epcis20/epcisEventUnionType.d.ts +3 -3
- package/dist/types/models/gs1/{subSiteAttributes.d.ts → gs1SubSiteAttributes.d.ts} +2 -2
- package/dist/types/models/gs1/{subSiteTypes.d.ts → gs1SubSiteTypes.d.ts} +2 -2
- package/docs/changelog.md +14 -0
- package/docs/reference/classes/Gs1Location.md +2 -2
- package/docs/reference/index.md +14 -14
- package/docs/reference/interfaces/IAggregationEvent.md +3 -3
- package/docs/reference/interfaces/IAssociationEvent.md +3 -3
- package/docs/reference/interfaces/IEpcisEventDetails.md +3 -3
- package/docs/reference/interfaces/IObjectEvent.md +3 -3
- package/docs/reference/type-aliases/EpcisActionTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisBizStepTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisDispositionTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisEventTypes.md +5 -0
- package/docs/reference/type-aliases/Gs1SubSiteAttributes.md +7 -0
- package/docs/reference/type-aliases/Gs1SubSiteTypes.md +7 -0
- package/docs/reference/variables/{ActionTypes.md → EpcisActionTypes.md} +2 -2
- package/docs/reference/variables/{BizStepTypes.md → EpcisBizStepTypes.md} +2 -2
- package/docs/reference/variables/{DispositionTypes.md → EpcisDispositionTypes.md} +2 -2
- package/docs/reference/variables/{EventTypes.md → EpcisEventTypes.md} +2 -2
- package/docs/reference/variables/{SubSiteAttributes.md → Gs1SubSiteAttributes.md} +2 -2
- package/docs/reference/variables/{SubSiteTypes.md → Gs1SubSiteTypes.md} +2 -2
- package/package.json +1 -1
- package/dist/es/models/epcis20/IAggregationEvent.js +0 -2
- package/dist/es/models/epcis20/IAggregationEvent.js.map +0 -1
- package/dist/es/models/epcis20/IAssociationEvent.js +0 -2
- package/dist/es/models/epcis20/IAssociationEvent.js.map +0 -1
- package/dist/es/models/epcis20/IBaseAggregationEvent.js +0 -2
- package/dist/es/models/epcis20/IBaseAggregationEvent.js.map +0 -1
- package/dist/es/models/epcis20/IBizTransaction.js.map +0 -1
- package/dist/es/models/epcis20/IDestination.js.map +0 -1
- package/dist/es/models/epcis20/IObjectEvent.js +0 -2
- package/dist/es/models/epcis20/IObjectEvent.js.map +0 -1
- package/dist/es/models/epcis20/IQuantity.js.map +0 -1
- package/dist/es/models/epcis20/ISensorElement.js +0 -2
- package/dist/es/models/epcis20/ISensorElement.js.map +0 -1
- package/dist/es/models/epcis20/ISensorMetadata.js.map +0 -1
- package/dist/es/models/epcis20/ISensorReport.js.map +0 -1
- package/dist/es/models/epcis20/ISimpleLocation.js +0 -4
- package/dist/es/models/epcis20/ISimpleLocation.js.map +0 -1
- package/dist/es/models/epcis20/ISource.js +0 -4
- package/dist/es/models/epcis20/ISource.js.map +0 -1
- package/dist/es/models/epcis20/actionTypes.js.map +0 -1
- package/dist/es/models/epcis20/bizStepTypes.js.map +0 -1
- package/dist/es/models/epcis20/dispositionTypes.js.map +0 -1
- package/dist/es/models/epcis20/eventTypes.js.map +0 -1
- package/dist/es/models/gs1/subSiteAttributes.js.map +0 -1
- package/dist/es/models/gs1/subSiteTypes.js.map +0 -1
- package/docs/reference/type-aliases/ActionTypes.md +0 -5
- package/docs/reference/type-aliases/BizStepTypes.md +0 -5
- package/docs/reference/type-aliases/DispositionTypes.md +0 -5
- package/docs/reference/type-aliases/EventTypes.md +0 -5
- package/docs/reference/type-aliases/SubSiteAttributes.md +0 -7
- package/docs/reference/type-aliases/SubSiteTypes.md +0 -7
- /package/dist/types/models/epcis20/{IBizTransaction.d.ts → IEpcisBizTransaction.d.ts} +0 -0
- /package/dist/types/models/epcis20/{IDestination.d.ts → IEpcisDestination.d.ts} +0 -0
- /package/dist/types/models/epcis20/{IQuantity.d.ts → IEpcisQuantity.d.ts} +0 -0
- /package/dist/types/models/epcis20/{ISensorMetadata.d.ts → IEpcisSensorMetadata.d.ts} +0 -0
- /package/dist/types/models/epcis20/{ISensorReport.d.ts → IEpcisSensorReport.d.ts} +0 -0
- /package/dist/types/models/epcis20/{ISimpleLocation.d.ts → IEpcisSimpleLocation.d.ts} +0 -0
- /package/dist/types/models/epcis20/{ISource.d.ts → IEpcisSource.d.ts} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type { IBizTransaction } from "./
|
|
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 "./
|
|
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:
|
|
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?:
|
|
26
|
+
bizStep?: EpcisBizStepTypes;
|
|
27
27
|
/**
|
|
28
28
|
* The disposition as per EPCIS.
|
|
29
29
|
*/
|
|
30
|
-
disposition?:
|
|
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 "./
|
|
3
|
-
import type { ISensorElement } from "./
|
|
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 "./
|
|
2
|
-
import type { ISensorReport } from "./
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
29
|
+
export type EpcisEventTypes = (typeof EpcisEventTypes)[keyof typeof EpcisEventTypes];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IAggregationEvent } from "./
|
|
2
|
-
import type { IAssociationEvent } from "./
|
|
3
|
-
import type { IObjectEvent } from "./
|
|
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
|
|
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
|
|
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
|
|
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
|
|
77
|
+
export type Gs1SubSiteTypes = (typeof Gs1SubSiteTypes)[keyof typeof Gs1SubSiteTypes];
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/standards-gs1 - Changelog
|
|
2
2
|
|
|
3
|
+
## [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)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **standards-gs1:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
## [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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* update type names ([#89](https://github.com/twinfoundation/standards/issues/89)) ([6fdef47](https://github.com/twinfoundation/standards/commit/6fdef4792151f89d1a95a07da8309d05a7b6de3d))
|
|
16
|
+
|
|
3
17
|
## [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)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -34,7 +34,7 @@ Identifies the site in which the location is contained.
|
|
|
34
34
|
|
|
35
35
|
### sst?
|
|
36
36
|
|
|
37
|
-
> `optional` **sst**: [`
|
|
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**: [`
|
|
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
|
|
package/docs/reference/index.md
CHANGED
|
@@ -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
|
-
- [
|
|
35
|
-
- [
|
|
36
|
-
- [
|
|
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
|
-
- [
|
|
50
|
-
- [
|
|
51
|
-
- [
|
|
49
|
+
- [EpcisActionTypes](variables/EpcisActionTypes.md)
|
|
50
|
+
- [EpcisBizStepTypes](variables/EpcisBizStepTypes.md)
|
|
51
|
+
- [EpcisDispositionTypes](variables/EpcisDispositionTypes.md)
|
|
52
52
|
- [EpcisErrorTypes](variables/EpcisErrorTypes.md)
|
|
53
|
-
- [
|
|
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**: [`
|
|
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**: [`
|
|
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**: [`
|
|
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**: [`
|
|
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**: [`
|
|
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**: [`
|
|
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**: [`
|
|
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**: [`
|
|
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**: [`
|
|
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**: [`
|
|
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**: [`
|
|
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**: [`
|
|
157
|
+
> `optional` **disposition**: [`EpcisDispositionTypes`](../type-aliases/EpcisDispositionTypes.md)
|
|
158
158
|
|
|
159
159
|
The disposition as per EPCIS.
|
|
160
160
|
|
|
@@ -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:
|
|
1
|
+
# Variable: Gs1SubSiteAttributes
|
|
2
2
|
|
|
3
|
-
> `const` **
|
|
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 .
|
package/package.json
CHANGED
|
@@ -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 +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 +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 +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 +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 +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 +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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bizStepTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/bizStepTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;GAIG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B,SAAS,EAAE,WAAW;IAEtB,QAAQ,EAAE,UAAU;IAEpB,UAAU,EAAE,YAAY;IAExB,UAAU,EAAE,YAAY;IAExB,aAAa,EAAE,eAAe;IAE9B,UAAU,EAAE,YAAY;IAExB,qBAAqB,EAAE,yBAAyB;IAEhD,aAAa,EAAE,gBAAgB;IAE/B,eAAe,EAAE,iBAAiB;IAElC,SAAS,EAAE,WAAW;IAEtB,UAAU,EAAE,YAAY;IAExB,aAAa,EAAE,eAAe;IAE9B,UAAU,EAAE,YAAY;IAExB,QAAQ,EAAE,UAAU;IAEpB,eAAe,EAAE,kBAAkB;IAEnC,OAAO,EAAE,SAAS;IAElB,UAAU,EAAE,YAAY;IAExB,UAAU,EAAE,YAAY;IAExB,OAAO,EAAE,SAAS;IAElB,OAAO,EAAE,SAAS;IAElB,KAAK,EAAE,OAAO;IAEd,OAAO,EAAE,SAAS;IAElB,OAAO,EAAE,SAAS;IAElB,SAAS,EAAE,WAAW;IAEtB,QAAQ,EAAE,UAAU;IAEpB,WAAW,EAAE,aAAa;IAE1B,SAAS,EAAE,WAAW;IAEtB,SAAS,EAAE,WAAW;IAEtB,SAAS,EAAE,WAAW;IAEtB,aAAa,EAAE,gBAAgB;IAE/B,QAAQ,EAAE,UAAU;IAEpB,eAAe,EAAE,kBAAkB;IAEnC,WAAW,EAAE,cAAc;IAE3B,QAAQ,EAAE,UAAU;IAEpB,OAAO,EAAE,SAAS;IAElB,YAAY,EAAE,cAAc;IAE5B,SAAS,EAAE,WAAW;IAEtB,SAAS,EAAE,WAAW;IAEtB,YAAY,EAAE,eAAe;IAE7B,eAAe,EAAE,kBAAkB;IAEnC,QAAQ,EAAE,UAAU;CACX,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Supported EPCIS 2.0 bizStep.\n *\n * See EPCIS CVB specification for details.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const BizStepTypes = {\n\tAccepting: \"accepting\",\n\n\tArriving: \"arriving\",\n\n\tAssembling: \"assembling\",\n\n\tCollecting: \"collecting\",\n\n\tCommissioning: \"commissioning\",\n\n\tConsigning: \"consigning\",\n\n\tCreatingClassInstance: \"creating_class_instance\",\n\n\tCycleCounting: \"cycle_counting\",\n\n\tDecommissioning: \"decommissioning\",\n\n\tDeparting: \"departing\",\n\n\tDestroying: \"destroying\",\n\n\tDisassembling: \"disassembling\",\n\n\tDispensing: \"dispensing\",\n\n\tEncoding: \"encoding\",\n\n\tEnteringExiting: \"entering_exiting\",\n\n\tHolding: \"holding\",\n\n\tInspecting: \"inspecting\",\n\n\tInstalling: \"installing\",\n\n\tKilling: \"killing\",\n\n\tLoading: \"loading\",\n\n\tOther: \"other\",\n\n\tPacking: \"packing\",\n\n\tPicking: \"picking\",\n\n\tReceiving: \"receiving\",\n\n\tRemoving: \"removing\",\n\n\tRepackaging: \"repackaging\",\n\n\tRepairing: \"repairing\",\n\n\tReplacing: \"replacing\",\n\n\tReserving: \"reserving\",\n\n\tRetailSelling: \"retail_selling\",\n\n\tShipping: \"shipping\",\n\n\tStagingOutbound: \"staging_outbound\",\n\n\tStockTaking: \"stock_taking\",\n\n\tStocking: \"stocking\",\n\n\tStoring: \"storing\",\n\n\tTransporting: \"transporting\",\n\n\tUnloading: \"unloading\",\n\n\tUnpacking: \"unpacking\",\n\n\tVoidShipping: \"void_shipping\",\n\n\tSensorReporting: \"sensor_reporting\",\n\n\tSampling: \"sampling\"\n} as const;\n\n/**\n * EPCIS 2.0 action types.\n */\nexport type BizStepTypes = (typeof BizStepTypes)[keyof typeof BizStepTypes];\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dispositionTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/dispositionTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,oBAAoB;AAEpB;;;;GAIG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B,MAAM,EAAE,QAAQ;IAEhB,eAAe,EAAE,kBAAkB;IAEnC,OAAO,EAAE,SAAS;IAElB,SAAS,EAAE,WAAW;IAEtB,SAAS,EAAE,WAAW;IAEtB,QAAQ,EAAE,UAAU;IAEpB,OAAO,EAAE,SAAS;IAElB,OAAO,EAAE,SAAS;IAElB,UAAU,EAAE,aAAa;IAEzB,SAAS,EAAE,YAAY;IAEvB,QAAQ,EAAE,UAAU;IAEpB,eAAe,EAAE,mBAAmB;IAEpC,gBAAgB,EAAE,oBAAoB;IAEtC,kBAAkB,EAAE,qBAAqB;IAEzC,QAAQ,EAAE,UAAU;IAEpB,QAAQ,EAAE,UAAU;IAEpB,UAAU,EAAE,aAAa;IAEzB,QAAQ,EAAE,UAAU;IAEpB,kBAAkB,EAAE,qBAAqB;IAEzC,qBAAqB,EAAE,yBAAyB;IAEhD,MAAM,EAAE,QAAQ;IAEhB,OAAO,EAAE,SAAS;IAElB,SAAS,EAAE,WAAW;IAEtB,oBAAoB,EAAE,uBAAuB;IAE7C,oBAAoB,EAAE,uBAAuB;IAE7C,UAAU,EAAE,YAAY;IAExB,aAAa,EAAE,gBAAgB;IAE/B,gBAAgB,EAAE,mBAAmB;IAErC,aAAa,EAAE,gBAAgB;IAE/B,gBAAgB,EAAE,mBAAmB;IAErC,gBAAgB,EAAE,mBAAmB;IAErC,aAAa,EAAE,gBAAgB;IAE/B,WAAW,EAAE,aAAa;CACjB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n/* cSpell:disable */\n\n/**\n * EPCIS 2.0 disposition types.\n *\n * See EPCIS CVB for more details.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DispositionTypes = {\n\tActive: \"active\",\n\n\tContainerClosed: \"container_closed\",\n\n\tDamaged: \"damaged\",\n\n\tDestroyed: \"destroyed\",\n\n\tDispensed: \"dispensed\",\n\n\tDisposed: \"disposed\",\n\n\tEncoded: \"encoded\",\n\n\tExpired: \"expired\",\n\n\tInProgress: \"in_progress\",\n\n\tInTransit: \"in_transit\",\n\n\tInactive: \"inactive\",\n\n\tNoPedigreeMatch: \"no_pedigree_match\",\n\n\tNonSellableOther: \"non_sellable_other\",\n\n\tPartiallyDispensed: \"partially_dispensed\",\n\n\tRecalled: \"recalled\",\n\n\tReserved: \"reserved\",\n\n\tRetailSold: \"retail_sold\",\n\n\tReturned: \"returned\",\n\n\tSellableAccessible: \"sellable_accessible\",\n\n\tSellableNotAccessible: \"sellable_not_accessible\",\n\n\tStolen: \"stolen\",\n\n\tUnknown: \"unknown\",\n\n\tAvailable: \"available\",\n\n\tCompletenessVerified: \"completeness_verified\",\n\n\tCompletenessInferred: \"completeness_inferred\",\n\n\tConformant: \"conformant\",\n\n\tContainerOpen: \"container_open\",\n\n\tMismatchInstance: \"mismatch_instance\",\n\n\tMismatchClass: \"mismatch_class\",\n\n\tMismatchQuantity: \"mismatch_quantity\",\n\n\tNeedsReplacement: \"needs_replacement\",\n\n\tNonConformant: \"non_conformant\",\n\n\tUnavailable: \"unavailable\"\n} as const;\n\n/**\n * EPCIS 2.0 disposition types.\n */\nexport type DispositionTypes = (typeof DispositionTypes)[keyof typeof DispositionTypes];\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eventTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/eventTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,UAAU,GAAG;IACzB;;OAEG;IACH,WAAW,EAAE,aAAa;IAE1B;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;CAC3B,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS 2.0 event types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EventTypes = {\n\t/**\n\t * ObjectEvent.\n\t */\n\tObjectEvent: \"ObjectEvent\",\n\n\t/**\n\t * Aggregation Event.\n\t */\n\tAggregationEvent: \"AggregationEvent\",\n\n\t/**\n\t * Association Event.\n\t */\n\tAssociationEvent: \"AssociationEvent\",\n\n\t/**\n\t * Transformation Event.\n\t */\n\tTransformationEvent: \"TransformationEvent\",\n\n\t/**\n\t * Transaction Event.\n\t */\n\tTransactionEvent: \"TransactionEvent\"\n} as const;\n\n/**\n * EPCIS 2.0 event types.\n */\nexport type EventTypes = (typeof EventTypes)[keyof typeof EventTypes];\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subSiteAttributes.js","sourceRoot":"","sources":["../../../../src/models/gs1/subSiteAttributes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;GAIG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC;;OAEG;IACH,WAAW,EAAE,KAAK;IAElB;;OAEG;IACH,WAAW,EAAE,KAAK;IAElB;;OAEG;IACH,KAAK,EAAE,KAAK;IAEZ;;OAEG;IACH,MAAM,EAAE,KAAK;IAEb;;OAEG;IACH,KAAK,EAAE,KAAK;IAEZ;;OAEG;IACH,SAAS,EAAE,KAAK;IAEhB;;OAEG;IACH,MAAM,EAAE,KAAK;IAEb;;OAEG;IACH,WAAW,EAAE,KAAK;IAElB;;OAEG;IACH,QAAQ,EAAE,KAAK;IAEf;;OAEG;IACH,WAAW,EAAE,KAAK;IAElB;;OAEG;IACH,OAAO,EAAE,KAAK;IAEd;;OAEG;IACH,UAAU,EAAE,KAAK;IAEjB;;OAEG;IACH,QAAQ,EAAE,KAAK;IAEf;;OAEG;IACH,YAAY,EAAE,KAAK;IAEnB;;OAEG;IACH,aAAa,EAAE,KAAK;IAEpB;;OAEG;IACH,WAAW,EAAE,KAAK;IAElB;;OAEG;IACH,YAAY,EAAE,KAAK;IAEnB;;OAEG;IACH,YAAY,EAAE,KAAK;IAEnB;;OAEG;IACH,OAAO,EAAE,KAAK;IAEd;;OAEG;IACH,OAAO,EAAE,KAAK;IAEd;;OAEG;IACH,QAAQ,EAAE,KAAK;IAEf;;OAEG;IACH,OAAO,EAAE,KAAK;IAEd;;OAEG;IACH,SAAS,EAAE,KAAK;IAEhB;;OAEG;IACH,UAAU,EAAE,KAAK;IAEjB;;OAEG;IACH,mBAAmB,EAAE,KAAK;IAE1B;;OAEG;IACH,eAAe,EAAE,KAAK;IAEtB;;OAEG;IACH,cAAc,EAAE,KAAK;IAErB;;OAEG;IACH,YAAY,EAAE,KAAK;IAEnB;;OAEG;IACH,WAAW,EAAE,KAAK;IAElB;;OAEG;IACH,YAAY,EAAE,KAAK;IAEnB;;OAEG;IACH,QAAQ,EAAE,KAAK;IAEf;;OAEG;IACH,IAAI,EAAE,KAAK;IAEX;;OAEG;IACH,yBAAyB,EAAE,KAAK;CACvB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Sub Site Attributes.\n * Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .\n * Section 10.3.2 .\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const SubSiteAttributes = {\n\t/**\n\t * Electronics.\n\t */\n\tElectronics: \"401\",\n\n\t/**\n\t * Cold Storage.\n\t */\n\tColdStorage: \"402\",\n\n\t/**\n\t * Shelf.\n\t */\n\tShelf: \"403\",\n\n\t/**\n\t * Frozen.\n\t */\n\tFrozen: \"404\",\n\n\t/**\n\t * Fresh.\n\t */\n\tFresh: \"405\",\n\n\t/**\n\t * Promotion.\n\t */\n\tPromotion: \"406\",\n\n\t/**\n\t * End Cap.\n\t */\n\tEndCap: \"407\",\n\n\t/**\n\t * Point of Sale.\n\t */\n\tPointOfSale: \"408\",\n\n\t/**\n\t * Security.\n\t */\n\tSecurity: \"409\",\n\n\t/**\n\t * General Mdse.\n\t */\n\tGeneralMdse: \"411\",\n\n\t/**\n\t * Grocery.\n\t */\n\tGrocery: \"412\",\n\n\t/**\n\t * Box crusher.\n\t */\n\tBoxCrusher: \"413\",\n\n\t/**\n\t * Dock/Door.\n\t */\n\tDockDoor: \"414\",\n\n\t/**\n\t * Conveyor Belt.\n\t */\n\tConveyorBelt: \"415\",\n\n\t/**\n\t * Pallet Wrapper.\n\t */\n\tPalletWrapper: \"416\",\n\n\t/**\n\t * Fixed Reader.\n\t */\n\tFixedReader: \"417\",\n\n\t/**\n\t * Mobile Reader.\n\t */\n\tMobileReader: \"418\",\n\n\t/**\n\t * Shelf Storage.\n\t */\n\tShelfStorage: \"419\",\n\n\t/**\n\t * Returns.\n\t */\n\tReturns: \"420\",\n\n\t/**\n\t * Staging.\n\t */\n\tStaging: \"421\",\n\n\t/**\n\t * Assembly.\n\t */\n\tAssembly: \"422\",\n\n\t/**\n\t * Lay-Away.\n\t */\n\tLayAway: \"423\",\n\n\t/**\n\t * Dispenser.\n\t */\n\tDispenser: \"424\",\n\n\t/**\n\t * Quarantine.\n\t */\n\tQuarantine: \"425\",\n\n\t/**\n\t * Controlled Substance.\n\t */\n\tControlledSubstance: \"426\",\n\n\t/**\n\t * Recalled Product.\n\t */\n\tRecalledProduct: \"427\",\n\n\t/**\n\t * Quality Control.\n\t */\n\tQualityControl: \"428\",\n\n\t/**\n\t * Printing Room.\n\t */\n\tPrintingRoom: \"429\",\n\n\t/**\n\t * Loading Dock.\n\t */\n\tLoadingDock: \"420\",\n\n\t/**\n\t * Entrance Gate.\n\t */\n\tEntranceGate: \"431\",\n\n\t/**\n\t * Exit Gate.\n\t */\n\tExitGate: \"432\",\n\n\t/**\n\t * Gate.\n\t */\n\tGate: \"433\",\n\n\t/**\n\t * Read Point Verification Spot.\n\t */\n\tReadPointVerificationSpot: \"434\"\n} as const;\n\n/**\n * Sub Site Attributes.\n * Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .\n * Section 10.3.2 .\n */\nexport type SubSiteAttributes = (typeof SubSiteAttributes)[keyof typeof SubSiteAttributes];\n"]}
|