@twin.org/standards-gs1 0.0.3-next.1 → 0.0.3-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/dataTypes/epcisDataTypes.js +61 -0
- package/dist/es/dataTypes/epcisDataTypes.js.map +1 -0
- package/dist/es/dataTypes/gs1DataTypes.js +2 -2
- package/dist/es/dataTypes/gs1DataTypes.js.map +1 -1
- package/dist/es/entities/gs1Location.js.map +1 -1
- package/dist/es/index.js +39 -20
- 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/IEpcisAttribute.js +2 -0
- package/dist/es/models/epcis20/IEpcisAttribute.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisBizTransaction.js +2 -0
- package/dist/es/models/epcis20/IEpcisBizTransaction.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisDestination.js +2 -0
- package/dist/es/models/epcis20/IEpcisDestination.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisDocument.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisErrorDeclaration.js +2 -0
- package/dist/es/models/epcis20/IEpcisErrorDeclaration.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisEvent.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisHeader.js +2 -0
- package/dist/es/models/epcis20/IEpcisHeader.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisIlmd.js +2 -0
- package/dist/es/models/epcis20/IEpcisIlmd.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisLocation.js +2 -0
- package/dist/es/models/epcis20/IEpcisLocation.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisObjectEvent.js +2 -0
- package/dist/es/models/epcis20/IEpcisObjectEvent.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisPersistentDisposition.js +2 -0
- package/dist/es/models/epcis20/IEpcisPersistentDisposition.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisQuantity.js +2 -0
- package/dist/es/models/epcis20/IEpcisQuantity.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisQuery.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisQueryDocument.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisQueryDocumentBody.js +2 -0
- package/dist/es/models/epcis20/IEpcisQueryDocumentBody.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisQueryResults.js +2 -0
- package/dist/es/models/epcis20/IEpcisQueryResults.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisQueryResultsBody.js +2 -0
- package/dist/es/models/epcis20/IEpcisQueryResultsBody.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 +2 -0
- package/dist/es/models/epcis20/IEpcisSensorMetadata.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisSensorReport.js +2 -0
- package/dist/es/models/epcis20/IEpcisSensorReport.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisSource.js +2 -0
- package/dist/es/models/epcis20/IEpcisSource.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisTransactionEvent.js +2 -0
- package/dist/es/models/epcis20/IEpcisTransactionEvent.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisTransformationEvent.js +2 -0
- package/dist/es/models/epcis20/IEpcisTransformationEvent.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisVocabulary.js +2 -0
- package/dist/es/models/epcis20/IEpcisVocabulary.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisVocabularyElement.js +2 -0
- package/dist/es/models/epcis20/IEpcisVocabularyElement.js.map +1 -0
- package/dist/es/models/epcis20/epcisActionTypes.js +24 -0
- package/dist/es/models/epcis20/epcisActionTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisBizStepTypes.js +190 -0
- package/dist/es/models/epcis20/epcisBizStepTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisBizTransactionTypes.js +75 -0
- package/dist/es/models/epcis20/epcisBizTransactionTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisComponentTypes.js +77 -0
- package/dist/es/models/epcis20/epcisComponentTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisContextType.js +2 -0
- package/dist/es/models/epcis20/epcisContextType.js.map +1 -0
- package/dist/es/models/epcis20/epcisContexts.js +17 -0
- package/dist/es/models/epcis20/epcisContexts.js.map +1 -0
- package/dist/es/models/epcis20/epcisDispositionTypes.js +155 -0
- package/dist/es/models/epcis20/epcisDispositionTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisErrorReasonTypes.js +20 -0
- package/dist/es/models/epcis20/epcisErrorReasonTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisEventTypes.js +29 -0
- package/dist/es/models/epcis20/epcisEventTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisEvents.js +2 -0
- package/dist/es/models/epcis20/epcisEvents.js.map +1 -0
- package/dist/es/models/epcis20/epcisMeasurementTypes.js +301 -0
- package/dist/es/models/epcis20/epcisMeasurementTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisSensorAlertTypes.js +19 -0
- package/dist/es/models/epcis20/epcisSensorAlertTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisSourceDestTypes.js +26 -0
- package/dist/es/models/epcis20/epcisSourceDestTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisTypes.js +37 -0
- package/dist/es/models/epcis20/epcisTypes.js.map +1 -0
- package/dist/es/models/gs1/gs1Contexts.js +2 -2
- package/dist/es/models/gs1/gs1Contexts.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/schemas/EpcisAggregationEvent.json +273 -0
- package/dist/es/schemas/EpcisAssociationEvent.json +274 -0
- package/dist/es/schemas/EpcisDocument.json +204 -0
- package/dist/es/schemas/EpcisObjectEvent.json +277 -0
- package/dist/es/schemas/EpcisQueryDocument.json +173 -0
- package/dist/es/schemas/EpcisTransactionEvent.json +274 -0
- package/dist/es/schemas/EpcisTransformationEvent.json +290 -0
- package/dist/es/utils/gs1Validation.js +4 -4
- package/dist/es/utils/gs1Validation.js.map +1 -1
- package/dist/types/dataTypes/epcisDataTypes.d.ts +13 -0
- package/dist/types/entities/gs1Location.d.ts +4 -4
- package/dist/types/index.d.ts +39 -20
- package/dist/types/models/epcis20/IEpcisAggregationEvent.d.ts +81 -0
- package/dist/types/models/epcis20/IEpcisAssociationEvent.d.ts +80 -0
- package/dist/types/models/epcis20/IEpcisAttribute.d.ts +15 -0
- package/dist/types/models/epcis20/IEpcisBizTransaction.d.ts +20 -0
- package/dist/types/models/epcis20/IEpcisDestination.d.ts +21 -0
- package/dist/types/models/epcis20/IEpcisDocument.d.ts +35 -7
- package/dist/types/models/epcis20/IEpcisErrorDeclaration.d.ts +25 -0
- package/dist/types/models/epcis20/IEpcisEvent.d.ts +23 -22
- package/dist/types/models/epcis20/IEpcisHeader.d.ts +17 -0
- package/dist/types/models/epcis20/IEpcisIlmd.d.ts +8 -0
- package/dist/types/models/epcis20/IEpcisLocation.d.ts +12 -0
- package/dist/types/models/epcis20/IEpcisObjectEvent.d.ts +85 -0
- package/dist/types/models/epcis20/IEpcisPersistentDisposition.d.ts +17 -0
- package/dist/types/models/epcis20/IEpcisQuantity.d.ts +22 -0
- package/dist/types/models/epcis20/IEpcisQuery.d.ts +2 -1
- package/dist/types/models/epcis20/IEpcisQueryDocument.d.ts +10 -30
- package/dist/types/models/epcis20/IEpcisQueryDocumentBody.d.ts +12 -0
- package/dist/types/models/epcis20/IEpcisQueryResults.d.ts +20 -0
- package/dist/types/models/epcis20/IEpcisQueryResultsBody.d.ts +17 -0
- package/dist/types/models/epcis20/IEpcisSensorElement.d.ts +20 -0
- package/dist/types/models/epcis20/IEpcisSensorMetadata.d.ts +48 -0
- package/dist/types/models/epcis20/IEpcisSensorReport.d.ts +131 -0
- package/dist/types/models/epcis20/IEpcisSource.d.ts +20 -0
- package/dist/types/models/epcis20/IEpcisTransactionEvent.d.ts +78 -0
- package/dist/types/models/epcis20/IEpcisTransformationEvent.d.ts +96 -0
- package/dist/types/models/epcis20/IEpcisVocabulary.d.ts +16 -0
- package/dist/types/models/epcis20/IEpcisVocabularyElement.d.ts +21 -0
- package/dist/types/models/epcis20/epcisActionTypes.d.ts +25 -0
- package/dist/types/models/epcis20/epcisBizStepTypes.d.ts +193 -0
- package/dist/types/models/epcis20/epcisBizTransactionTypes.d.ts +74 -0
- package/dist/types/models/epcis20/epcisComponentTypes.d.ts +76 -0
- package/dist/types/models/epcis20/epcisContextType.d.ts +15 -0
- package/dist/types/models/epcis20/epcisContexts.d.ts +17 -0
- package/dist/types/models/epcis20/epcisDispositionTypes.d.ts +158 -0
- package/dist/types/models/epcis20/epcisErrorReasonTypes.d.ts +19 -0
- package/dist/types/models/epcis20/epcisEventTypes.d.ts +29 -0
- package/dist/types/models/epcis20/epcisEvents.d.ts +11 -0
- package/dist/types/models/epcis20/epcisMeasurementTypes.d.ts +303 -0
- package/dist/types/models/epcis20/epcisSensorAlertTypes.d.ts +19 -0
- package/dist/types/models/epcis20/epcisSourceDestTypes.d.ts +26 -0
- package/dist/types/models/epcis20/epcisTypes.d.ts +37 -0
- package/dist/types/models/gs1/gs1Contexts.d.ts +2 -2
- 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 +71 -0
- package/docs/reference/classes/EpcisDataTypes.md +37 -0
- package/docs/reference/classes/Gs1Location.md +2 -2
- package/docs/reference/index.md +52 -27
- package/docs/reference/interfaces/IEpcisAggregationEvent.md +223 -0
- package/docs/reference/interfaces/IEpcisAssociationEvent.md +222 -0
- package/docs/reference/interfaces/IEpcisAttribute.md +31 -0
- package/docs/reference/interfaces/IEpcisBizTransaction.md +35 -0
- package/docs/reference/interfaces/IEpcisDestination.md +36 -0
- package/docs/reference/interfaces/IEpcisDocument.md +67 -3
- package/docs/reference/interfaces/IEpcisErrorDeclaration.md +44 -0
- package/docs/reference/interfaces/IEpcisEvent.md +46 -30
- package/docs/reference/interfaces/IEpcisHeader.md +31 -0
- package/docs/reference/interfaces/IEpcisIlmd.md +16 -0
- package/docs/reference/interfaces/IEpcisLocation.md +24 -0
- package/docs/reference/interfaces/IEpcisObjectEvent.md +228 -0
- package/docs/reference/interfaces/IEpcisPersistentDisposition.md +32 -0
- package/docs/reference/interfaces/IEpcisQuantity.md +42 -0
- package/docs/reference/interfaces/IEpcisQuery.md +5 -1
- package/docs/reference/interfaces/IEpcisQueryDocument.md +20 -34
- package/docs/reference/interfaces/IEpcisQueryDocumentBody.md +23 -0
- package/docs/reference/interfaces/IEpcisQueryResults.md +39 -0
- package/docs/reference/interfaces/IEpcisQueryResultsBody.md +31 -0
- package/docs/reference/interfaces/IEpcisSensorElement.md +34 -0
- package/docs/reference/interfaces/IEpcisSensorMetadata.md +88 -0
- package/docs/reference/interfaces/IEpcisSensorReport.md +232 -0
- package/docs/reference/interfaces/IEpcisSource.md +35 -0
- package/docs/reference/interfaces/IEpcisTransactionEvent.md +220 -0
- package/docs/reference/interfaces/IEpcisTransformationEvent.md +249 -0
- package/docs/reference/interfaces/IEpcisVocabulary.md +31 -0
- package/docs/reference/interfaces/IEpcisVocabularyElement.md +40 -0
- package/docs/reference/type-aliases/EpcisActionTypes.md +6 -0
- package/docs/reference/type-aliases/EpcisBizStepTypes.md +8 -0
- package/docs/reference/type-aliases/EpcisBizTransactionTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisComponentTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisContextType.md +6 -0
- package/docs/reference/type-aliases/EpcisContexts.md +5 -0
- package/docs/reference/type-aliases/EpcisDispositionTypes.md +9 -0
- package/docs/reference/type-aliases/EpcisErrorReasonTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisEventTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisEvents.md +6 -0
- package/docs/reference/type-aliases/EpcisMeasurementTypes.md +8 -0
- package/docs/reference/type-aliases/EpcisSensorAlertTypes.md +6 -0
- package/docs/reference/type-aliases/EpcisSourceDestTypes.md +6 -0
- package/docs/reference/type-aliases/Gs1SubSiteAttributes.md +7 -0
- package/docs/reference/type-aliases/Gs1SubSiteTypes.md +7 -0
- package/docs/reference/variables/EpcisActionTypes.md +28 -0
- package/docs/reference/variables/EpcisBizStepTypes.md +270 -0
- package/docs/reference/variables/EpcisBizTransactionTypes.md +98 -0
- package/docs/reference/variables/EpcisComponentTypes.md +102 -0
- package/docs/reference/variables/EpcisContexts.md +19 -0
- package/docs/reference/variables/{DispositionTypes.md → EpcisDispositionTypes.md} +81 -4
- package/docs/reference/variables/EpcisErrorReasonTypes.md +21 -0
- package/docs/reference/variables/{EventTypes.md → EpcisEventTypes.md} +8 -8
- package/docs/reference/variables/EpcisMeasurementTypes.md +442 -0
- package/docs/reference/variables/EpcisSensorAlertTypes.md +20 -0
- package/docs/reference/variables/EpcisSourceDestTypes.md +29 -0
- package/docs/reference/variables/GS1Contexts.md +3 -3
- 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 +0 -4
- package/dist/es/models/epcis20/IBizTransaction.js.map +0 -1
- package/dist/es/models/epcis20/IDestination.js +0 -4
- package/dist/es/models/epcis20/IDestination.js.map +0 -1
- package/dist/es/models/epcis20/IEpcisEventDetails.js +0 -2
- package/dist/es/models/epcis20/IEpcisEventDetails.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 +0 -4
- 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 +0 -4
- package/dist/es/models/epcis20/ISensorMetadata.js.map +0 -1
- package/dist/es/models/epcis20/ISensorReport.js +0 -4
- 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 +0 -21
- package/dist/es/models/epcis20/actionTypes.js.map +0 -1
- package/dist/es/models/epcis20/bizStepTypes.js +0 -52
- package/dist/es/models/epcis20/bizStepTypes.js.map +0 -1
- package/dist/es/models/epcis20/dispositionTypes.js +0 -45
- package/dist/es/models/epcis20/dispositionTypes.js.map +0 -1
- package/dist/es/models/epcis20/epcisErrorTypes.js +0 -11
- package/dist/es/models/epcis20/epcisErrorTypes.js.map +0 -1
- package/dist/es/models/epcis20/epcisEventUnionType.js +0 -2
- package/dist/es/models/epcis20/epcisEventUnionType.js.map +0 -1
- package/dist/es/models/epcis20/eventTypes.js +0 -29
- 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/dist/types/models/epcis20/IAggregationEvent.d.ts +0 -10
- package/dist/types/models/epcis20/IAssociationEvent.d.ts +0 -10
- package/dist/types/models/epcis20/IBaseAggregationEvent.d.ts +0 -19
- package/dist/types/models/epcis20/IBizTransaction.d.ts +0 -13
- package/dist/types/models/epcis20/IDestination.d.ts +0 -13
- package/dist/types/models/epcis20/IEpcisEventDetails.d.ts +0 -35
- package/dist/types/models/epcis20/IObjectEvent.d.ts +0 -25
- package/dist/types/models/epcis20/IQuantity.d.ts +0 -13
- package/dist/types/models/epcis20/ISensorElement.d.ts +0 -15
- package/dist/types/models/epcis20/ISensorMetadata.d.ts +0 -21
- package/dist/types/models/epcis20/ISensorReport.d.ts +0 -17
- package/dist/types/models/epcis20/ISimpleLocation.d.ts +0 -9
- package/dist/types/models/epcis20/ISource.d.ts +0 -13
- package/dist/types/models/epcis20/actionTypes.d.ts +0 -21
- package/dist/types/models/epcis20/bizStepTypes.d.ts +0 -52
- package/dist/types/models/epcis20/dispositionTypes.d.ts +0 -44
- package/dist/types/models/epcis20/epcisErrorTypes.d.ts +0 -11
- package/dist/types/models/epcis20/epcisEventUnionType.d.ts +0 -7
- package/dist/types/models/epcis20/eventTypes.d.ts +0 -29
- package/docs/reference/interfaces/IAggregationEvent.md +0 -223
- package/docs/reference/interfaces/IAssociationEvent.md +0 -223
- package/docs/reference/interfaces/IBizTransaction.md +0 -19
- package/docs/reference/interfaces/IDestination.md +0 -19
- package/docs/reference/interfaces/IEpcisEventDetails.md +0 -167
- package/docs/reference/interfaces/IObjectEvent.md +0 -211
- package/docs/reference/interfaces/IQuantity.md +0 -19
- package/docs/reference/interfaces/ISensorElement.md +0 -19
- package/docs/reference/interfaces/ISensorMetadata.md +0 -35
- package/docs/reference/interfaces/ISensorReport.md +0 -27
- package/docs/reference/interfaces/ISimpleLocation.md +0 -11
- package/docs/reference/interfaces/ISource.md +0 -19
- 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/EpcisErrorTypes.md +0 -5
- package/docs/reference/type-aliases/EpcisEventUnionType.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/docs/reference/variables/ActionTypes.md +0 -25
- package/docs/reference/variables/BizStepTypes.md +0 -173
- package/docs/reference/variables/EpcisErrorTypes.md +0 -15
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Supported EPCIS 2.0 `bizStep` values.
|
|
5
|
+
*
|
|
6
|
+
* These values come from the GS1 EPCIS / CBV (Core Business Vocabulary).
|
|
7
|
+
* Use the union type `EpcisBizStepTypes` when you want to restrict a field to known CBV values.
|
|
8
|
+
*/
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
10
|
+
export const EpcisBizStepTypes = {
|
|
11
|
+
/**
|
|
12
|
+
* Activity where an object changes possession and/or ownership.
|
|
13
|
+
*/
|
|
14
|
+
Accepting: "accepting",
|
|
15
|
+
/**
|
|
16
|
+
* Activity where an object arrives at a location.
|
|
17
|
+
*/
|
|
18
|
+
Arriving: "arriving",
|
|
19
|
+
/**
|
|
20
|
+
* Combining one or more objects to create a new finished product while originals
|
|
21
|
+
* remain recognisable.
|
|
22
|
+
*/
|
|
23
|
+
Assembling: "assembling",
|
|
24
|
+
/**
|
|
25
|
+
* Picking up and collecting an object for future disposal, recycling, or re-use.
|
|
26
|
+
*/
|
|
27
|
+
Collecting: "collecting",
|
|
28
|
+
/**
|
|
29
|
+
* Associating a new instance- or class-level identifier with a specific object
|
|
30
|
+
* for the first time.
|
|
31
|
+
*/
|
|
32
|
+
Commissioning: "commissioning",
|
|
33
|
+
/**
|
|
34
|
+
* Overall process covering staging_outbound, loading, departing, and accepting
|
|
35
|
+
* when granular steps are unknown.
|
|
36
|
+
*/
|
|
37
|
+
Consigning: "consigning",
|
|
38
|
+
/**
|
|
39
|
+
* Step where an instance or increased quantity of a class-level identifier is
|
|
40
|
+
* produced and may repeat.
|
|
41
|
+
*/
|
|
42
|
+
CreatingClassInstance: "creating_class_instance",
|
|
43
|
+
/**
|
|
44
|
+
* Counting objects within a location for business needs other than accounting.
|
|
45
|
+
*/
|
|
46
|
+
CycleCounting: "cycle_counting",
|
|
47
|
+
/**
|
|
48
|
+
* Disassociating an instance-level identifier from an object; it may be
|
|
49
|
+
* re-commissioned later with a new identifier.
|
|
50
|
+
*/
|
|
51
|
+
Decommissioning: "decommissioning",
|
|
52
|
+
/**
|
|
53
|
+
* Activity where an object leaves a location on its way to a destination.
|
|
54
|
+
*/
|
|
55
|
+
Departing: "departing",
|
|
56
|
+
/**
|
|
57
|
+
* Process of terminating an object so it should not be subject of subsequent events.
|
|
58
|
+
*/
|
|
59
|
+
Destroying: "destroying",
|
|
60
|
+
/**
|
|
61
|
+
* Breaking down an object into separate, uniquely identified component parts.
|
|
62
|
+
*/
|
|
63
|
+
Disassembling: "disassembling",
|
|
64
|
+
/**
|
|
65
|
+
* Making a product available in full or part to a consumer.
|
|
66
|
+
*/
|
|
67
|
+
Dispensing: "dispensing",
|
|
68
|
+
/**
|
|
69
|
+
* Writing an instance-level identifier to a barcode or RFID tag before
|
|
70
|
+
* association with an object.
|
|
71
|
+
*/
|
|
72
|
+
Encoding: "encoding",
|
|
73
|
+
/**
|
|
74
|
+
* Activity at a facility entrance/exit where customers leave with purchases or
|
|
75
|
+
* enter with returns.
|
|
76
|
+
*/
|
|
77
|
+
EnteringExiting: "entering_exiting",
|
|
78
|
+
/**
|
|
79
|
+
* Segregating an object for further review.
|
|
80
|
+
*/
|
|
81
|
+
Holding: "holding",
|
|
82
|
+
/**
|
|
83
|
+
* Reviewing objects to address potential defects while keeping them viable in the
|
|
84
|
+
* supply chain.
|
|
85
|
+
*/
|
|
86
|
+
Inspecting: "inspecting",
|
|
87
|
+
/**
|
|
88
|
+
* Putting an object into a composite object that already exists.
|
|
89
|
+
*/
|
|
90
|
+
Installing: "installing",
|
|
91
|
+
/**
|
|
92
|
+
* Terminating an RFID tag previously associated with an object while the object
|
|
93
|
+
* continues to exist.
|
|
94
|
+
*/
|
|
95
|
+
Killing: "killing",
|
|
96
|
+
/**
|
|
97
|
+
* Loading an object into a shipping conveyance.
|
|
98
|
+
*/
|
|
99
|
+
Loading: "loading",
|
|
100
|
+
/**
|
|
101
|
+
* A business step not identified by the CBV list.
|
|
102
|
+
*/
|
|
103
|
+
Other: "other",
|
|
104
|
+
/**
|
|
105
|
+
* Putting objects into a larger container for shipping, typically where
|
|
106
|
+
* aggregation occurs.
|
|
107
|
+
*/
|
|
108
|
+
Packing: "packing",
|
|
109
|
+
/**
|
|
110
|
+
* Selecting objects to fill an order.
|
|
111
|
+
*/
|
|
112
|
+
Picking: "picking",
|
|
113
|
+
/**
|
|
114
|
+
* Indicating an object is being received at a location and added to inventory.
|
|
115
|
+
*/
|
|
116
|
+
Receiving: "receiving",
|
|
117
|
+
/**
|
|
118
|
+
* Taking an object out of a composite object; opposite of installing.
|
|
119
|
+
*/
|
|
120
|
+
Removing: "removing",
|
|
121
|
+
/**
|
|
122
|
+
* Changing an object's packaging configuration.
|
|
123
|
+
*/
|
|
124
|
+
Repackaging: "repackaging",
|
|
125
|
+
/**
|
|
126
|
+
* Repairing a malfunctioning product without replacing it.
|
|
127
|
+
*/
|
|
128
|
+
Repairing: "repairing",
|
|
129
|
+
/**
|
|
130
|
+
* Substituting or exchanging an object for another object.
|
|
131
|
+
*/
|
|
132
|
+
Replacing: "replacing",
|
|
133
|
+
/**
|
|
134
|
+
* Providing a set of not-yet-commissioned instance identifiers for use by another party.
|
|
135
|
+
*/
|
|
136
|
+
Reserving: "reserving",
|
|
137
|
+
/**
|
|
138
|
+
* Point-of-sale activity transferring ownership to a customer for value.
|
|
139
|
+
*/
|
|
140
|
+
RetailSelling: "retail_selling",
|
|
141
|
+
/**
|
|
142
|
+
* Overall process covering staging_outbound, loading, and departing when finer
|
|
143
|
+
* detail is unavailable.
|
|
144
|
+
*/
|
|
145
|
+
Shipping: "shipping",
|
|
146
|
+
/**
|
|
147
|
+
* Moving an object from a facility to an area where it awaits transport pick-up.
|
|
148
|
+
*/
|
|
149
|
+
StagingOutbound: "staging_outbound",
|
|
150
|
+
/**
|
|
151
|
+
* Counting objects within a location following established rules for accounting purposes.
|
|
152
|
+
*/
|
|
153
|
+
StockTaking: "stock_taking",
|
|
154
|
+
/**
|
|
155
|
+
* Activity within a location to make an object available to customers or order
|
|
156
|
+
* fulfilment.
|
|
157
|
+
*/
|
|
158
|
+
Stocking: "stocking",
|
|
159
|
+
/**
|
|
160
|
+
* Moving an object into and out of storage within a location.
|
|
161
|
+
*/
|
|
162
|
+
Storing: "storing",
|
|
163
|
+
/**
|
|
164
|
+
* Moving an object from one location to another using a vehicle.
|
|
165
|
+
*/
|
|
166
|
+
Transporting: "transporting",
|
|
167
|
+
/**
|
|
168
|
+
* Unloading an object from a shipping conveyance.
|
|
169
|
+
*/
|
|
170
|
+
Unloading: "unloading",
|
|
171
|
+
/**
|
|
172
|
+
* Removing products from a larger container, usually after receiving or
|
|
173
|
+
* accepting.
|
|
174
|
+
*/
|
|
175
|
+
Unpacking: "unpacking",
|
|
176
|
+
/**
|
|
177
|
+
* Declaring that objects in a prior outbound process were not shipped as previously indicated.
|
|
178
|
+
*/
|
|
179
|
+
VoidShipping: "void_shipping",
|
|
180
|
+
/**
|
|
181
|
+
* Returning sensor data about the physical properties or condition of an object or location.
|
|
182
|
+
*/
|
|
183
|
+
SensorReporting: "sensor_reporting",
|
|
184
|
+
/**
|
|
185
|
+
* Testing activity where portions of an object are examined, rendering the
|
|
186
|
+
* sampled object no longer viable.
|
|
187
|
+
*/
|
|
188
|
+
Sampling: "sampling"
|
|
189
|
+
};
|
|
190
|
+
//# sourceMappingURL=epcisBizStepTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisBizStepTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisBizStepTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;;GAKG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,UAAU,EAAE,YAAY;IAExB;;OAEG;IACH,UAAU,EAAE,YAAY;IAExB;;;OAGG;IACH,aAAa,EAAE,eAAe;IAE9B;;;OAGG;IACH,UAAU,EAAE,YAAY;IAExB;;;OAGG;IACH,qBAAqB,EAAE,yBAAyB;IAEhD;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;;OAGG;IACH,eAAe,EAAE,iBAAiB;IAElC;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,UAAU,EAAE,YAAY;IAExB;;OAEG;IACH,aAAa,EAAE,eAAe;IAE9B;;OAEG;IACH,UAAU,EAAE,YAAY;IAExB;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,eAAe,EAAE,kBAAkB;IAEnC;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,UAAU,EAAE,YAAY;IAExB;;OAEG;IACH,UAAU,EAAE,YAAY;IAExB;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,KAAK,EAAE,OAAO;IAEd;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,WAAW,EAAE,aAAa;IAE1B;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,eAAe,EAAE,kBAAkB;IAEnC;;OAEG;IACH,WAAW,EAAE,cAAc;IAE3B;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;;OAGG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,YAAY,EAAE,eAAe;IAE7B;;OAEG;IACH,eAAe,EAAE,kBAAkB;IAEnC;;;OAGG;IACH,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` values.\n *\n * These values come from the GS1 EPCIS / CBV (Core Business Vocabulary).\n * Use the union type `EpcisBizStepTypes` when you want to restrict a field to known CBV values.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisBizStepTypes = {\n\t/**\n\t * Activity where an object changes possession and/or ownership.\n\t */\n\tAccepting: \"accepting\",\n\n\t/**\n\t * Activity where an object arrives at a location.\n\t */\n\tArriving: \"arriving\",\n\n\t/**\n\t * Combining one or more objects to create a new finished product while originals\n\t * remain recognisable.\n\t */\n\tAssembling: \"assembling\",\n\n\t/**\n\t * Picking up and collecting an object for future disposal, recycling, or re-use.\n\t */\n\tCollecting: \"collecting\",\n\n\t/**\n\t * Associating a new instance- or class-level identifier with a specific object\n\t * for the first time.\n\t */\n\tCommissioning: \"commissioning\",\n\n\t/**\n\t * Overall process covering staging_outbound, loading, departing, and accepting\n\t * when granular steps are unknown.\n\t */\n\tConsigning: \"consigning\",\n\n\t/**\n\t * Step where an instance or increased quantity of a class-level identifier is\n\t * produced and may repeat.\n\t */\n\tCreatingClassInstance: \"creating_class_instance\",\n\n\t/**\n\t * Counting objects within a location for business needs other than accounting.\n\t */\n\tCycleCounting: \"cycle_counting\",\n\n\t/**\n\t * Disassociating an instance-level identifier from an object; it may be\n\t * re-commissioned later with a new identifier.\n\t */\n\tDecommissioning: \"decommissioning\",\n\n\t/**\n\t * Activity where an object leaves a location on its way to a destination.\n\t */\n\tDeparting: \"departing\",\n\n\t/**\n\t * Process of terminating an object so it should not be subject of subsequent events.\n\t */\n\tDestroying: \"destroying\",\n\n\t/**\n\t * Breaking down an object into separate, uniquely identified component parts.\n\t */\n\tDisassembling: \"disassembling\",\n\n\t/**\n\t * Making a product available in full or part to a consumer.\n\t */\n\tDispensing: \"dispensing\",\n\n\t/**\n\t * Writing an instance-level identifier to a barcode or RFID tag before\n\t * association with an object.\n\t */\n\tEncoding: \"encoding\",\n\n\t/**\n\t * Activity at a facility entrance/exit where customers leave with purchases or\n\t * enter with returns.\n\t */\n\tEnteringExiting: \"entering_exiting\",\n\n\t/**\n\t * Segregating an object for further review.\n\t */\n\tHolding: \"holding\",\n\n\t/**\n\t * Reviewing objects to address potential defects while keeping them viable in the\n\t * supply chain.\n\t */\n\tInspecting: \"inspecting\",\n\n\t/**\n\t * Putting an object into a composite object that already exists.\n\t */\n\tInstalling: \"installing\",\n\n\t/**\n\t * Terminating an RFID tag previously associated with an object while the object\n\t * continues to exist.\n\t */\n\tKilling: \"killing\",\n\n\t/**\n\t * Loading an object into a shipping conveyance.\n\t */\n\tLoading: \"loading\",\n\n\t/**\n\t * A business step not identified by the CBV list.\n\t */\n\tOther: \"other\",\n\n\t/**\n\t * Putting objects into a larger container for shipping, typically where\n\t * aggregation occurs.\n\t */\n\tPacking: \"packing\",\n\n\t/**\n\t * Selecting objects to fill an order.\n\t */\n\tPicking: \"picking\",\n\n\t/**\n\t * Indicating an object is being received at a location and added to inventory.\n\t */\n\tReceiving: \"receiving\",\n\n\t/**\n\t * Taking an object out of a composite object; opposite of installing.\n\t */\n\tRemoving: \"removing\",\n\n\t/**\n\t * Changing an object's packaging configuration.\n\t */\n\tRepackaging: \"repackaging\",\n\n\t/**\n\t * Repairing a malfunctioning product without replacing it.\n\t */\n\tRepairing: \"repairing\",\n\n\t/**\n\t * Substituting or exchanging an object for another object.\n\t */\n\tReplacing: \"replacing\",\n\n\t/**\n\t * Providing a set of not-yet-commissioned instance identifiers for use by another party.\n\t */\n\tReserving: \"reserving\",\n\n\t/**\n\t * Point-of-sale activity transferring ownership to a customer for value.\n\t */\n\tRetailSelling: \"retail_selling\",\n\n\t/**\n\t * Overall process covering staging_outbound, loading, and departing when finer\n\t * detail is unavailable.\n\t */\n\tShipping: \"shipping\",\n\n\t/**\n\t * Moving an object from a facility to an area where it awaits transport pick-up.\n\t */\n\tStagingOutbound: \"staging_outbound\",\n\n\t/**\n\t * Counting objects within a location following established rules for accounting purposes.\n\t */\n\tStockTaking: \"stock_taking\",\n\n\t/**\n\t * Activity within a location to make an object available to customers or order\n\t * fulfilment.\n\t */\n\tStocking: \"stocking\",\n\n\t/**\n\t * Moving an object into and out of storage within a location.\n\t */\n\tStoring: \"storing\",\n\n\t/**\n\t * Moving an object from one location to another using a vehicle.\n\t */\n\tTransporting: \"transporting\",\n\n\t/**\n\t * Unloading an object from a shipping conveyance.\n\t */\n\tUnloading: \"unloading\",\n\n\t/**\n\t * Removing products from a larger container, usually after receiving or\n\t * accepting.\n\t */\n\tUnpacking: \"unpacking\",\n\n\t/**\n\t * Declaring that objects in a prior outbound process were not shipped as previously indicated.\n\t */\n\tVoidShipping: \"void_shipping\",\n\n\t/**\n\t * Returning sensor data about the physical properties or condition of an object or location.\n\t */\n\tSensorReporting: \"sensor_reporting\",\n\n\t/**\n\t * Testing activity where portions of an object are examined, rendering the\n\t * sampled object no longer viable.\n\t */\n\tSampling: \"sampling\"\n} as const;\n\n/**\n * Supported EPCIS 2.0 `bizStep` values.\n *\n * These values come from the GS1 EPCIS / CBV (Core Business Vocabulary).\n * Use the union type `EpcisBizStepTypes` when you want to restrict a field to known CBV values.\n */\nexport type EpcisBizStepTypes = (typeof EpcisBizStepTypes)[keyof typeof EpcisBizStepTypes];\n"]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// Copyright 2026 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/* cSpell:disable */
|
|
4
|
+
/**
|
|
5
|
+
* Supported EPCIS 2.0 `bizTransaction-type` values.
|
|
6
|
+
*/
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
+
export const EpcisBizTransactionTypes = {
|
|
9
|
+
/**
|
|
10
|
+
* A document issued by a carrier to a shipper, listing and acknowledging receipt
|
|
11
|
+
* of goods for transport and specifying terms of delivery.
|
|
12
|
+
*/
|
|
13
|
+
Bol: "bol",
|
|
14
|
+
/**
|
|
15
|
+
* A document confirming certain characteristics of an object, person, or
|
|
16
|
+
* organisation, typically issued by a third party.
|
|
17
|
+
*/
|
|
18
|
+
Cert: "cert",
|
|
19
|
+
/**
|
|
20
|
+
* A document/message by which the seller or consignor informs the consignee
|
|
21
|
+
* about the despatch of goods (Advanced Shipment Notice).
|
|
22
|
+
*/
|
|
23
|
+
Desadv: "desadv",
|
|
24
|
+
/**
|
|
25
|
+
* A document/message claiming payment for goods or services supplied under agreed
|
|
26
|
+
* conditions.
|
|
27
|
+
*/
|
|
28
|
+
Inv: "inv",
|
|
29
|
+
/**
|
|
30
|
+
* A record that traces the ownership or custody and transactions of a product as
|
|
31
|
+
* it moves among trading partners.
|
|
32
|
+
*/
|
|
33
|
+
Pedigree: "pedigree",
|
|
34
|
+
/**
|
|
35
|
+
* A document/message that specifies details for goods and services ordered under
|
|
36
|
+
* agreed conditions.
|
|
37
|
+
*/
|
|
38
|
+
Po: "po",
|
|
39
|
+
/**
|
|
40
|
+
* A document that provides confirmation from an external supplier to the request
|
|
41
|
+
* of a purchaser to deliver a specified quantity/service.
|
|
42
|
+
*/
|
|
43
|
+
Poc: "poc",
|
|
44
|
+
/**
|
|
45
|
+
* An organisation-internal document or message issued by a producer that
|
|
46
|
+
* initiates a manufacturing process of goods.
|
|
47
|
+
*/
|
|
48
|
+
Prodorder: "prodorder",
|
|
49
|
+
/**
|
|
50
|
+
* A document/message that lets the receiver inform the shipper of actual goods
|
|
51
|
+
* received compared to what was advised.
|
|
52
|
+
*/
|
|
53
|
+
Recadv: "recadv",
|
|
54
|
+
/**
|
|
55
|
+
* A document issued by the seller that authorises a buyer to return merchandise
|
|
56
|
+
* for credit determination.
|
|
57
|
+
*/
|
|
58
|
+
Rma: "rma",
|
|
59
|
+
/**
|
|
60
|
+
* A document that provides a formal specification of a sequence of instructions
|
|
61
|
+
* for verifying one or several criteria.
|
|
62
|
+
*/
|
|
63
|
+
Testprd: "testprd",
|
|
64
|
+
/**
|
|
65
|
+
* A document that includes the outcome of the execution of a given test
|
|
66
|
+
* procedure.
|
|
67
|
+
*/
|
|
68
|
+
Testres: "testres",
|
|
69
|
+
/**
|
|
70
|
+
* Event ID URI(s) of event(s) provided by an upstream supplier, such as packing
|
|
71
|
+
* and shipping events.
|
|
72
|
+
*/
|
|
73
|
+
Upevt: "upevt"
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=epcisBizTransactionTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisBizTransactionTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisBizTransactionTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,oBAAoB;AAEpB;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACvC;;;OAGG;IACH,GAAG,EAAE,KAAK;IAEV;;;OAGG;IACH,IAAI,EAAE,MAAM;IAEZ;;;OAGG;IACH,MAAM,EAAE,QAAQ;IAEhB;;;OAGG;IACH,GAAG,EAAE,KAAK;IAEV;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,EAAE,EAAE,IAAI;IAER;;;OAGG;IACH,GAAG,EAAE,KAAK;IAEV;;;OAGG;IACH,SAAS,EAAE,WAAW;IAEtB;;;OAGG;IACH,MAAM,EAAE,QAAQ;IAEhB;;;OAGG;IACH,GAAG,EAAE,KAAK;IAEV;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,KAAK,EAAE,OAAO;CACL,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n/* cSpell:disable */\n\n/**\n * Supported EPCIS 2.0 `bizTransaction-type` values.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisBizTransactionTypes = {\n\t/**\n\t * A document issued by a carrier to a shipper, listing and acknowledging receipt\n\t * of goods for transport and specifying terms of delivery.\n\t */\n\tBol: \"bol\",\n\n\t/**\n\t * A document confirming certain characteristics of an object, person, or\n\t * organisation, typically issued by a third party.\n\t */\n\tCert: \"cert\",\n\n\t/**\n\t * A document/message by which the seller or consignor informs the consignee\n\t * about the despatch of goods (Advanced Shipment Notice).\n\t */\n\tDesadv: \"desadv\",\n\n\t/**\n\t * A document/message claiming payment for goods or services supplied under agreed\n\t * conditions.\n\t */\n\tInv: \"inv\",\n\n\t/**\n\t * A record that traces the ownership or custody and transactions of a product as\n\t * it moves among trading partners.\n\t */\n\tPedigree: \"pedigree\",\n\n\t/**\n\t * A document/message that specifies details for goods and services ordered under\n\t * agreed conditions.\n\t */\n\tPo: \"po\",\n\n\t/**\n\t * A document that provides confirmation from an external supplier to the request\n\t * of a purchaser to deliver a specified quantity/service.\n\t */\n\tPoc: \"poc\",\n\n\t/**\n\t * An organisation-internal document or message issued by a producer that\n\t * initiates a manufacturing process of goods.\n\t */\n\tProdorder: \"prodorder\",\n\n\t/**\n\t * A document/message that lets the receiver inform the shipper of actual goods\n\t * received compared to what was advised.\n\t */\n\tRecadv: \"recadv\",\n\n\t/**\n\t * A document issued by the seller that authorises a buyer to return merchandise\n\t * for credit determination.\n\t */\n\tRma: \"rma\",\n\n\t/**\n\t * A document that provides a formal specification of a sequence of instructions\n\t * for verifying one or several criteria.\n\t */\n\tTestprd: \"testprd\",\n\n\t/**\n\t * A document that includes the outcome of the execution of a given test\n\t * procedure.\n\t */\n\tTestres: \"testres\",\n\n\t/**\n\t * Event ID URI(s) of event(s) provided by an upstream supplier, such as packing\n\t * and shipping events.\n\t */\n\tUpevt: \"upevt\"\n} as const;\n\n/**\n * Supported EPCIS 2.0 `bizTransaction-type` values.\n */\nexport type EpcisBizTransactionTypes =\n\t(typeof EpcisBizTransactionTypes)[keyof typeof EpcisBizTransactionTypes];\n"]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// Copyright 2026 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/* cSpell:disable */
|
|
4
|
+
/**
|
|
5
|
+
* Supported EPCIS 2.0 `component` values.
|
|
6
|
+
*/
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
+
export const EpcisComponentTypes = {
|
|
9
|
+
/**
|
|
10
|
+
* Component or projection along the x axis in Cartesian coordinates (X, Y, Z).
|
|
11
|
+
*/
|
|
12
|
+
X: "x",
|
|
13
|
+
/**
|
|
14
|
+
* Component or projection along the y axis in Cartesian coordinates (X, Y, Z).
|
|
15
|
+
*/
|
|
16
|
+
Y: "y",
|
|
17
|
+
/**
|
|
18
|
+
* Component or projection along the z axis in Cartesian coordinates (X, Y, Z).
|
|
19
|
+
*/
|
|
20
|
+
Z: "z",
|
|
21
|
+
/**
|
|
22
|
+
* Radial distance from the cylindrical axis in a cylindrical polar coordinate
|
|
23
|
+
* system.
|
|
24
|
+
*/
|
|
25
|
+
AxialDistance: "axial_distance",
|
|
26
|
+
/**
|
|
27
|
+
* Angle measured in the XY plane, anticlockwise from the X axis to the plane
|
|
28
|
+
* containing the vector and the Z axis.
|
|
29
|
+
*/
|
|
30
|
+
Azimuth: "azimuth",
|
|
31
|
+
/**
|
|
32
|
+
* Height parallel to the cylindrical axis in a cylindrical polar coordinate
|
|
33
|
+
* system.
|
|
34
|
+
*/
|
|
35
|
+
Height: "height",
|
|
36
|
+
/**
|
|
37
|
+
* Radial distance from the centre of a sphere in a spherical polar coordinate
|
|
38
|
+
* system.
|
|
39
|
+
*/
|
|
40
|
+
SphericalRadius: "spherical_radius",
|
|
41
|
+
/**
|
|
42
|
+
* Angle measured from the Z axis to the vector in a spherical polar coordinate
|
|
43
|
+
* system.
|
|
44
|
+
*/
|
|
45
|
+
PolarAngle: "polar_angle",
|
|
46
|
+
/**
|
|
47
|
+
* Angle measured from the XY plane to the vector in a spherical polar coordinate
|
|
48
|
+
* system.
|
|
49
|
+
*/
|
|
50
|
+
ElevationAngle: "elevation_angle",
|
|
51
|
+
/**
|
|
52
|
+
* Component or projection along an east-pointing axis in a geographic Cartesian
|
|
53
|
+
* coordinate system.
|
|
54
|
+
*/
|
|
55
|
+
Easting: "easting",
|
|
56
|
+
/**
|
|
57
|
+
* Component or projection along a north-pointing axis in a geographic Cartesian
|
|
58
|
+
* coordinate system.
|
|
59
|
+
*/
|
|
60
|
+
Northing: "northing",
|
|
61
|
+
/**
|
|
62
|
+
* Angle of elevation from the equatorial plane in a geographic coordinate
|
|
63
|
+
* system.
|
|
64
|
+
*/
|
|
65
|
+
Latitude: "latitude",
|
|
66
|
+
/**
|
|
67
|
+
* Angle, measured within the equatorial plane, east of the prime meridian in a
|
|
68
|
+
* geographic coordinate system.
|
|
69
|
+
*/
|
|
70
|
+
Longitude: "longitude",
|
|
71
|
+
/**
|
|
72
|
+
* Height above a defined surface (such as mean sea level) in a geographic
|
|
73
|
+
* coordinate system.
|
|
74
|
+
*/
|
|
75
|
+
Altitude: "altitude"
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=epcisComponentTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisComponentTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisComponentTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,oBAAoB;AAEpB;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC;;OAEG;IACH,CAAC,EAAE,GAAG;IAEN;;OAEG;IACH,CAAC,EAAE,GAAG;IAEN;;OAEG;IACH,CAAC,EAAE,GAAG;IAEN;;;OAGG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,MAAM,EAAE,QAAQ;IAEhB;;;OAGG;IACH,eAAe,EAAE,kBAAkB;IAEnC;;;OAGG;IACH,UAAU,EAAE,aAAa;IAEzB;;;OAGG;IACH,cAAc,EAAE,iBAAiB;IAEjC;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,SAAS,EAAE,WAAW;IAEtB;;;OAGG;IACH,QAAQ,EAAE,UAAU;CACX,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n/* cSpell:disable */\n\n/**\n * Supported EPCIS 2.0 `component` values.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisComponentTypes = {\n\t/**\n\t * Component or projection along the x axis in Cartesian coordinates (X, Y, Z).\n\t */\n\tX: \"x\",\n\n\t/**\n\t * Component or projection along the y axis in Cartesian coordinates (X, Y, Z).\n\t */\n\tY: \"y\",\n\n\t/**\n\t * Component or projection along the z axis in Cartesian coordinates (X, Y, Z).\n\t */\n\tZ: \"z\",\n\n\t/**\n\t * Radial distance from the cylindrical axis in a cylindrical polar coordinate\n\t * system.\n\t */\n\tAxialDistance: \"axial_distance\",\n\n\t/**\n\t * Angle measured in the XY plane, anticlockwise from the X axis to the plane\n\t * containing the vector and the Z axis.\n\t */\n\tAzimuth: \"azimuth\",\n\n\t/**\n\t * Height parallel to the cylindrical axis in a cylindrical polar coordinate\n\t * system.\n\t */\n\tHeight: \"height\",\n\n\t/**\n\t * Radial distance from the centre of a sphere in a spherical polar coordinate\n\t * system.\n\t */\n\tSphericalRadius: \"spherical_radius\",\n\n\t/**\n\t * Angle measured from the Z axis to the vector in a spherical polar coordinate\n\t * system.\n\t */\n\tPolarAngle: \"polar_angle\",\n\n\t/**\n\t * Angle measured from the XY plane to the vector in a spherical polar coordinate\n\t * system.\n\t */\n\tElevationAngle: \"elevation_angle\",\n\n\t/**\n\t * Component or projection along an east-pointing axis in a geographic Cartesian\n\t * coordinate system.\n\t */\n\tEasting: \"easting\",\n\n\t/**\n\t * Component or projection along a north-pointing axis in a geographic Cartesian\n\t * coordinate system.\n\t */\n\tNorthing: \"northing\",\n\n\t/**\n\t * Angle of elevation from the equatorial plane in a geographic coordinate\n\t * system.\n\t */\n\tLatitude: \"latitude\",\n\n\t/**\n\t * Angle, measured within the equatorial plane, east of the prime meridian in a\n\t * geographic coordinate system.\n\t */\n\tLongitude: \"longitude\",\n\n\t/**\n\t * Height above a defined surface (such as mean sea level) in a geographic\n\t * coordinate system.\n\t */\n\tAltitude: \"altitude\"\n} as const;\n\n/**\n * Supported EPCIS 2.0 `component` values.\n */\nexport type EpcisComponentTypes = (typeof EpcisComponentTypes)[keyof typeof EpcisComponentTypes];\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisContextType.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { EpcisContexts } from \"./epcisContexts.js\";\n\n/**\n * Allowed shapes for an EPCIS 2.0 JSON-LD `@context`, anchored on the GS1\n * context root and optionally augmented with custom entries.\n */\nexport type EpcisContextType =\n\t| typeof EpcisContexts.Namespace\n\t| [typeof EpcisContexts.Namespace]\n\t| [\n\t\t\t...IJsonLdContextDefinitionElement[],\n\t\t\ttypeof EpcisContexts.Namespace,\n\t\t\tIJsonLdContextDefinitionElement\n\t ]\n\t| [\n\t\t\tIJsonLdContextDefinitionElement,\n\t\t\ttypeof EpcisContexts.Namespace,\n\t\t\t...IJsonLdContextDefinitionElement[]\n\t ];\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* Canonical EPCIS JSON-LD context IRIs as defined by GS1.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const EpcisContexts = {
|
|
8
|
+
/**
|
|
9
|
+
* The namespace for the objects.
|
|
10
|
+
*/
|
|
11
|
+
Namespace: "https://ref.gs1.org/epcis/",
|
|
12
|
+
/**
|
|
13
|
+
* The JSON-LD Context URL.
|
|
14
|
+
*/
|
|
15
|
+
JsonLdContext: "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld"
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=epcisContexts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisContexts.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B;;OAEG;IACH,SAAS,EAAE,4BAA4B;IAEvC;;OAEG;IACH,aAAa,EAAE,gEAAgE;CACtE,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Canonical EPCIS JSON-LD context IRIs as defined by GS1.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisContexts = {\n\t/**\n\t * The namespace for the objects.\n\t */\n\tNamespace: \"https://ref.gs1.org/epcis/\",\n\n\t/**\n\t * The JSON-LD Context URL.\n\t */\n\tJsonLdContext: \"https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld\"\n} as const;\n\n/**\n * Canonical EPCIS JSON-LD context IRIs as defined by GS1.\n */\nexport type EpcisContexts = (typeof EpcisContexts)[keyof typeof EpcisContexts];\n"]}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/* cSpell:disable */
|
|
4
|
+
/**
|
|
5
|
+
* Supported EPCIS 2.0 `disposition` values from the GS1 Core Business
|
|
6
|
+
* Vocabulary (CBV).
|
|
7
|
+
*
|
|
8
|
+
* Use the union type `EpcisDispositionTypes` to restrict a field to known CBV
|
|
9
|
+
* values.
|
|
10
|
+
*/
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
12
|
+
export const EpcisDispositionTypes = {
|
|
13
|
+
/**
|
|
14
|
+
* A commissioned object has just been introduced into the supply chain.
|
|
15
|
+
*/
|
|
16
|
+
Active: "active",
|
|
17
|
+
/**
|
|
18
|
+
* Object has been loaded onto a container, the doors closed, and the shipment
|
|
19
|
+
* sealed.
|
|
20
|
+
*/
|
|
21
|
+
ContainerClosed: "container_closed",
|
|
22
|
+
/**
|
|
23
|
+
* Object is impaired in usefulness or value due to a defect.
|
|
24
|
+
*/
|
|
25
|
+
Damaged: "damaged",
|
|
26
|
+
/**
|
|
27
|
+
* Object has been fully rendered non-usable.
|
|
28
|
+
*/
|
|
29
|
+
Destroyed: "destroyed",
|
|
30
|
+
/**
|
|
31
|
+
* A full quantity of product is distributed to a consumer.
|
|
32
|
+
*/
|
|
33
|
+
Dispensed: "dispensed",
|
|
34
|
+
/**
|
|
35
|
+
* Object has been returned for disposal.
|
|
36
|
+
*/
|
|
37
|
+
Disposed: "disposed",
|
|
38
|
+
/**
|
|
39
|
+
* An instance-level identifier has been written to a barcode or RFID tag, but
|
|
40
|
+
* not yet commissioned.
|
|
41
|
+
*/
|
|
42
|
+
Encoded: "encoded",
|
|
43
|
+
/**
|
|
44
|
+
* Object's expiration date is in the past.
|
|
45
|
+
*/
|
|
46
|
+
Expired: "expired",
|
|
47
|
+
/**
|
|
48
|
+
* Optional disposition for objects proceeding through points in the supply
|
|
49
|
+
* chain.
|
|
50
|
+
*/
|
|
51
|
+
InProgress: "in_progress",
|
|
52
|
+
/**
|
|
53
|
+
* Object is being shipped between two trading partners.
|
|
54
|
+
*/
|
|
55
|
+
InTransit: "in_transit",
|
|
56
|
+
/**
|
|
57
|
+
* Decommissioned object that may be reintroduced to the supply chain.
|
|
58
|
+
*/
|
|
59
|
+
Inactive: "inactive",
|
|
60
|
+
/**
|
|
61
|
+
* No pedigree match was found during validation, so the product is quarantined
|
|
62
|
+
* for investigation.
|
|
63
|
+
*/
|
|
64
|
+
NoPedigreeMatch: "no_pedigree_match",
|
|
65
|
+
/**
|
|
66
|
+
* Object cannot be sold to a customer.
|
|
67
|
+
*/
|
|
68
|
+
NonSellableOther: "non_sellable_other",
|
|
69
|
+
/**
|
|
70
|
+
* A portion of a product is distributed to a customer while additional product
|
|
71
|
+
* is retained.
|
|
72
|
+
*/
|
|
73
|
+
PartiallyDispensed: "partially_dispensed",
|
|
74
|
+
/**
|
|
75
|
+
* Object is non-sellable because of public safety reasons.
|
|
76
|
+
*/
|
|
77
|
+
Recalled: "recalled",
|
|
78
|
+
/**
|
|
79
|
+
* Instance-level identifier has been allocated for a third party.
|
|
80
|
+
*/
|
|
81
|
+
Reserved: "reserved",
|
|
82
|
+
/**
|
|
83
|
+
* Product has been purchased by a customer.
|
|
84
|
+
*/
|
|
85
|
+
RetailSold: "retail_sold",
|
|
86
|
+
/**
|
|
87
|
+
* Object has been sent or brought back for various reasons; it may or may not
|
|
88
|
+
* be sellable.
|
|
89
|
+
*/
|
|
90
|
+
Returned: "returned",
|
|
91
|
+
/**
|
|
92
|
+
* Product can be sold as is and a customer can access it for purchase.
|
|
93
|
+
*/
|
|
94
|
+
SellableAccessible: "sellable_accessible",
|
|
95
|
+
/**
|
|
96
|
+
* Product can be sold as is, but a customer cannot access it for purchase.
|
|
97
|
+
*/
|
|
98
|
+
SellableNotAccessible: "sellable_not_accessible",
|
|
99
|
+
/**
|
|
100
|
+
* An object has been taken without permission or right.
|
|
101
|
+
*/
|
|
102
|
+
Stolen: "stolen",
|
|
103
|
+
/**
|
|
104
|
+
* An object's condition is not known.
|
|
105
|
+
*/
|
|
106
|
+
Unknown: "unknown",
|
|
107
|
+
/**
|
|
108
|
+
* Object has been returned to service or the supply chain after repair.
|
|
109
|
+
*/
|
|
110
|
+
Available: "available",
|
|
111
|
+
/**
|
|
112
|
+
* Explicitly indicates verified integrity of an aggregation when children are
|
|
113
|
+
* unpacked or verified.
|
|
114
|
+
*/
|
|
115
|
+
CompletenessVerified: "completeness_verified",
|
|
116
|
+
/**
|
|
117
|
+
* Indicates inferred integrity of an aggregation based on upstream aggregation
|
|
118
|
+
* information.
|
|
119
|
+
*/
|
|
120
|
+
CompletenessInferred: "completeness_inferred",
|
|
121
|
+
/**
|
|
122
|
+
* Outcome of a successful inspection in an inspecting or repairing step.
|
|
123
|
+
*/
|
|
124
|
+
Conformant: "conformant",
|
|
125
|
+
/**
|
|
126
|
+
* Container doors have been opened or a shipment seal has been broken.
|
|
127
|
+
*/
|
|
128
|
+
ContainerOpen: "container_open",
|
|
129
|
+
/**
|
|
130
|
+
* Instance-level identifiers do not match what was expected.
|
|
131
|
+
*/
|
|
132
|
+
MismatchInstance: "mismatch_instance",
|
|
133
|
+
/**
|
|
134
|
+
* Class-level identifiers do not match what was expected.
|
|
135
|
+
*/
|
|
136
|
+
MismatchClass: "mismatch_class",
|
|
137
|
+
/**
|
|
138
|
+
* Quantities do not match what was expected.
|
|
139
|
+
*/
|
|
140
|
+
MismatchQuantity: "mismatch_quantity",
|
|
141
|
+
/**
|
|
142
|
+
* Components or assets must be replaced to ensure functional requirements.
|
|
143
|
+
*/
|
|
144
|
+
NeedsReplacement: "needs_replacement",
|
|
145
|
+
/**
|
|
146
|
+
* Outcome of an unsuccessful inspection in an inspecting or repairing step.
|
|
147
|
+
*/
|
|
148
|
+
NonConformant: "non_conformant",
|
|
149
|
+
/**
|
|
150
|
+
* Object has been removed from service or the supply chain, for example pending
|
|
151
|
+
* repair.
|
|
152
|
+
*/
|
|
153
|
+
Unavailable: "unavailable"
|
|
154
|
+
};
|
|
155
|
+
//# sourceMappingURL=epcisDispositionTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisDispositionTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisDispositionTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,oBAAoB;AAEpB;;;;;;GAMG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;;OAGG;IACH,eAAe,EAAE,kBAAkB;IAEnC;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,UAAU,EAAE,aAAa;IAEzB;;OAEG;IACH,SAAS,EAAE,YAAY;IAEvB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,eAAe,EAAE,mBAAmB;IAEpC;;OAEG;IACH,gBAAgB,EAAE,oBAAoB;IAEtC;;;OAGG;IACH,kBAAkB,EAAE,qBAAqB;IAEzC;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,UAAU,EAAE,aAAa;IAEzB;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,kBAAkB,EAAE,qBAAqB;IAEzC;;OAEG;IACH,qBAAqB,EAAE,yBAAyB;IAEhD;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;;OAGG;IACH,oBAAoB,EAAE,uBAAuB;IAE7C;;;OAGG;IACH,oBAAoB,EAAE,uBAAuB;IAE7C;;OAEG;IACH,UAAU,EAAE,YAAY;IAExB;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;OAEG;IACH,gBAAgB,EAAE,mBAAmB;IAErC;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;OAEG;IACH,gBAAgB,EAAE,mBAAmB;IAErC;;OAEG;IACH,gBAAgB,EAAE,mBAAmB;IAErC;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;;OAGG;IACH,WAAW,EAAE,aAAa;CACjB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n/* cSpell:disable */\n\n/**\n * Supported EPCIS 2.0 `disposition` values from the GS1 Core Business\n * Vocabulary (CBV).\n *\n * Use the union type `EpcisDispositionTypes` to restrict a field to known CBV\n * values.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisDispositionTypes = {\n\t/**\n\t * A commissioned object has just been introduced into the supply chain.\n\t */\n\tActive: \"active\",\n\n\t/**\n\t * Object has been loaded onto a container, the doors closed, and the shipment\n\t * sealed.\n\t */\n\tContainerClosed: \"container_closed\",\n\n\t/**\n\t * Object is impaired in usefulness or value due to a defect.\n\t */\n\tDamaged: \"damaged\",\n\n\t/**\n\t * Object has been fully rendered non-usable.\n\t */\n\tDestroyed: \"destroyed\",\n\n\t/**\n\t * A full quantity of product is distributed to a consumer.\n\t */\n\tDispensed: \"dispensed\",\n\n\t/**\n\t * Object has been returned for disposal.\n\t */\n\tDisposed: \"disposed\",\n\n\t/**\n\t * An instance-level identifier has been written to a barcode or RFID tag, but\n\t * not yet commissioned.\n\t */\n\tEncoded: \"encoded\",\n\n\t/**\n\t * Object's expiration date is in the past.\n\t */\n\tExpired: \"expired\",\n\n\t/**\n\t * Optional disposition for objects proceeding through points in the supply\n\t * chain.\n\t */\n\tInProgress: \"in_progress\",\n\n\t/**\n\t * Object is being shipped between two trading partners.\n\t */\n\tInTransit: \"in_transit\",\n\n\t/**\n\t * Decommissioned object that may be reintroduced to the supply chain.\n\t */\n\tInactive: \"inactive\",\n\n\t/**\n\t * No pedigree match was found during validation, so the product is quarantined\n\t * for investigation.\n\t */\n\tNoPedigreeMatch: \"no_pedigree_match\",\n\n\t/**\n\t * Object cannot be sold to a customer.\n\t */\n\tNonSellableOther: \"non_sellable_other\",\n\n\t/**\n\t * A portion of a product is distributed to a customer while additional product\n\t * is retained.\n\t */\n\tPartiallyDispensed: \"partially_dispensed\",\n\n\t/**\n\t * Object is non-sellable because of public safety reasons.\n\t */\n\tRecalled: \"recalled\",\n\n\t/**\n\t * Instance-level identifier has been allocated for a third party.\n\t */\n\tReserved: \"reserved\",\n\n\t/**\n\t * Product has been purchased by a customer.\n\t */\n\tRetailSold: \"retail_sold\",\n\n\t/**\n\t * Object has been sent or brought back for various reasons; it may or may not\n\t * be sellable.\n\t */\n\tReturned: \"returned\",\n\n\t/**\n\t * Product can be sold as is and a customer can access it for purchase.\n\t */\n\tSellableAccessible: \"sellable_accessible\",\n\n\t/**\n\t * Product can be sold as is, but a customer cannot access it for purchase.\n\t */\n\tSellableNotAccessible: \"sellable_not_accessible\",\n\n\t/**\n\t * An object has been taken without permission or right.\n\t */\n\tStolen: \"stolen\",\n\n\t/**\n\t * An object's condition is not known.\n\t */\n\tUnknown: \"unknown\",\n\n\t/**\n\t * Object has been returned to service or the supply chain after repair.\n\t */\n\tAvailable: \"available\",\n\n\t/**\n\t * Explicitly indicates verified integrity of an aggregation when children are\n\t * unpacked or verified.\n\t */\n\tCompletenessVerified: \"completeness_verified\",\n\n\t/**\n\t * Indicates inferred integrity of an aggregation based on upstream aggregation\n\t * information.\n\t */\n\tCompletenessInferred: \"completeness_inferred\",\n\n\t/**\n\t * Outcome of a successful inspection in an inspecting or repairing step.\n\t */\n\tConformant: \"conformant\",\n\n\t/**\n\t * Container doors have been opened or a shipment seal has been broken.\n\t */\n\tContainerOpen: \"container_open\",\n\n\t/**\n\t * Instance-level identifiers do not match what was expected.\n\t */\n\tMismatchInstance: \"mismatch_instance\",\n\n\t/**\n\t * Class-level identifiers do not match what was expected.\n\t */\n\tMismatchClass: \"mismatch_class\",\n\n\t/**\n\t * Quantities do not match what was expected.\n\t */\n\tMismatchQuantity: \"mismatch_quantity\",\n\n\t/**\n\t * Components or assets must be replaced to ensure functional requirements.\n\t */\n\tNeedsReplacement: \"needs_replacement\",\n\n\t/**\n\t * Outcome of an unsuccessful inspection in an inspecting or repairing step.\n\t */\n\tNonConformant: \"non_conformant\",\n\n\t/**\n\t * Object has been removed from service or the supply chain, for example pending\n\t * repair.\n\t */\n\tUnavailable: \"unavailable\"\n} as const;\n\n/**\n * Supported EPCIS 2.0 `disposition` values from the GS1 Core Business\n * Vocabulary (CBV).\n *\n * Use the union type `EpcisDispositionTypes` to restrict a field to known CBV\n * values.\n */\nexport type EpcisDispositionTypes =\n\t(typeof EpcisDispositionTypes)[keyof typeof EpcisDispositionTypes];\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright 2026 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/* cSpell:disable */
|
|
4
|
+
/**
|
|
5
|
+
* Supported EPCIS 2.0 `error-reason` values from the GS1 EPCIS JSON Schema.
|
|
6
|
+
*/
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
+
export const EpcisErrorReasonTypes = {
|
|
9
|
+
/**
|
|
10
|
+
* Prior event is erroneous because it did not actually occur; no corrective
|
|
11
|
+
* events exist.
|
|
12
|
+
*/
|
|
13
|
+
DidNotOccur: "did_not_occur",
|
|
14
|
+
/**
|
|
15
|
+
* Prior event has incorrect data and may be corrected by subsequent linked
|
|
16
|
+
* events.
|
|
17
|
+
*/
|
|
18
|
+
IncorrectData: "incorrect_data"
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=epcisErrorReasonTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisErrorReasonTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisErrorReasonTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,oBAAoB;AAEpB;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC;;;OAGG;IACH,WAAW,EAAE,eAAe;IAE5B;;;OAGG;IACH,aAAa,EAAE,gBAAgB;CACtB,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n/* cSpell:disable */\n\n/**\n * Supported EPCIS 2.0 `error-reason` values from the GS1 EPCIS JSON Schema.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisErrorReasonTypes = {\n\t/**\n\t * Prior event is erroneous because it did not actually occur; no corrective\n\t * events exist.\n\t */\n\tDidNotOccur: \"did_not_occur\",\n\n\t/**\n\t * Prior event has incorrect data and may be corrected by subsequent linked\n\t * events.\n\t */\n\tIncorrectData: \"incorrect_data\"\n} as const;\n\n/**\n * Supported EPCIS 2.0 `error-reason` values from the GS1 EPCIS JSON Schema.\n */\nexport type EpcisErrorReasonTypes =\n\t(typeof EpcisErrorReasonTypes)[keyof typeof EpcisErrorReasonTypes];\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Copyright 2024 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const EpcisEventTypes = {
|
|
8
|
+
/**
|
|
9
|
+
* Event that observes one or more instance- or class-level objects.
|
|
10
|
+
*/
|
|
11
|
+
ObjectEvent: "ObjectEvent",
|
|
12
|
+
/**
|
|
13
|
+
* Event recording child objects aggregated under a parent identifier.
|
|
14
|
+
*/
|
|
15
|
+
AggregationEvent: "AggregationEvent",
|
|
16
|
+
/**
|
|
17
|
+
* Event recording parent/child associations without implying containment.
|
|
18
|
+
*/
|
|
19
|
+
AssociationEvent: "AssociationEvent",
|
|
20
|
+
/**
|
|
21
|
+
* Event recording how inputs are transformed into outputs.
|
|
22
|
+
*/
|
|
23
|
+
TransformationEvent: "TransformationEvent",
|
|
24
|
+
/**
|
|
25
|
+
* Event linking objects or quantities to business transactions.
|
|
26
|
+
*/
|
|
27
|
+
TransactionEvent: "TransactionEvent"
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=epcisEventTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisEventTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisEventTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B;;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 type identifiers used in EPCIS JSON and XML documents.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisEventTypes = {\n\t/**\n\t * Event that observes one or more instance- or class-level objects.\n\t */\n\tObjectEvent: \"ObjectEvent\",\n\n\t/**\n\t * Event recording child objects aggregated under a parent identifier.\n\t */\n\tAggregationEvent: \"AggregationEvent\",\n\n\t/**\n\t * Event recording parent/child associations without implying containment.\n\t */\n\tAssociationEvent: \"AssociationEvent\",\n\n\t/**\n\t * Event recording how inputs are transformed into outputs.\n\t */\n\tTransformationEvent: \"TransformationEvent\",\n\n\t/**\n\t * Event linking objects or quantities to business transactions.\n\t */\n\tTransactionEvent: \"TransactionEvent\"\n} as const;\n\n/**\n * EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.\n */\nexport type EpcisEventTypes = (typeof EpcisEventTypes)[keyof typeof EpcisEventTypes];\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisEvents.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisEvents.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEpcisAggregationEvent } from \"./IEpcisAggregationEvent.js\";\nimport type { IEpcisAssociationEvent } from \"./IEpcisAssociationEvent.js\";\nimport type { IEpcisEvent } from \"./IEpcisEvent.js\";\nimport type { IEpcisObjectEvent } from \"./IEpcisObjectEvent.js\";\nimport type { IEpcisTransactionEvent } from \"./IEpcisTransactionEvent.js\";\nimport type { IEpcisTransformationEvent } from \"./IEpcisTransformationEvent.js\";\n\n/**\n * Discriminated union covering all EPCIS 2.0 event interfaces used in this\n * package.\n */\nexport type EpcisEvents =\n\t| IEpcisObjectEvent\n\t| IEpcisAssociationEvent\n\t| IEpcisAggregationEvent\n\t| IEpcisTransactionEvent\n\t| IEpcisTransformationEvent\n\t| IEpcisEvent;\n"]}
|