@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,193 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supported EPCIS 2.0 `bizStep` values.
|
|
3
|
+
*
|
|
4
|
+
* These values come from the GS1 EPCIS / CBV (Core Business Vocabulary).
|
|
5
|
+
* Use the union type `EpcisBizStepTypes` when you want to restrict a field to known CBV values.
|
|
6
|
+
*/
|
|
7
|
+
export declare const EpcisBizStepTypes: {
|
|
8
|
+
/**
|
|
9
|
+
* Activity where an object changes possession and/or ownership.
|
|
10
|
+
*/
|
|
11
|
+
readonly Accepting: "accepting";
|
|
12
|
+
/**
|
|
13
|
+
* Activity where an object arrives at a location.
|
|
14
|
+
*/
|
|
15
|
+
readonly Arriving: "arriving";
|
|
16
|
+
/**
|
|
17
|
+
* Combining one or more objects to create a new finished product while originals
|
|
18
|
+
* remain recognisable.
|
|
19
|
+
*/
|
|
20
|
+
readonly Assembling: "assembling";
|
|
21
|
+
/**
|
|
22
|
+
* Picking up and collecting an object for future disposal, recycling, or re-use.
|
|
23
|
+
*/
|
|
24
|
+
readonly Collecting: "collecting";
|
|
25
|
+
/**
|
|
26
|
+
* Associating a new instance- or class-level identifier with a specific object
|
|
27
|
+
* for the first time.
|
|
28
|
+
*/
|
|
29
|
+
readonly Commissioning: "commissioning";
|
|
30
|
+
/**
|
|
31
|
+
* Overall process covering staging_outbound, loading, departing, and accepting
|
|
32
|
+
* when granular steps are unknown.
|
|
33
|
+
*/
|
|
34
|
+
readonly Consigning: "consigning";
|
|
35
|
+
/**
|
|
36
|
+
* Step where an instance or increased quantity of a class-level identifier is
|
|
37
|
+
* produced and may repeat.
|
|
38
|
+
*/
|
|
39
|
+
readonly CreatingClassInstance: "creating_class_instance";
|
|
40
|
+
/**
|
|
41
|
+
* Counting objects within a location for business needs other than accounting.
|
|
42
|
+
*/
|
|
43
|
+
readonly CycleCounting: "cycle_counting";
|
|
44
|
+
/**
|
|
45
|
+
* Disassociating an instance-level identifier from an object; it may be
|
|
46
|
+
* re-commissioned later with a new identifier.
|
|
47
|
+
*/
|
|
48
|
+
readonly Decommissioning: "decommissioning";
|
|
49
|
+
/**
|
|
50
|
+
* Activity where an object leaves a location on its way to a destination.
|
|
51
|
+
*/
|
|
52
|
+
readonly Departing: "departing";
|
|
53
|
+
/**
|
|
54
|
+
* Process of terminating an object so it should not be subject of subsequent events.
|
|
55
|
+
*/
|
|
56
|
+
readonly Destroying: "destroying";
|
|
57
|
+
/**
|
|
58
|
+
* Breaking down an object into separate, uniquely identified component parts.
|
|
59
|
+
*/
|
|
60
|
+
readonly Disassembling: "disassembling";
|
|
61
|
+
/**
|
|
62
|
+
* Making a product available in full or part to a consumer.
|
|
63
|
+
*/
|
|
64
|
+
readonly Dispensing: "dispensing";
|
|
65
|
+
/**
|
|
66
|
+
* Writing an instance-level identifier to a barcode or RFID tag before
|
|
67
|
+
* association with an object.
|
|
68
|
+
*/
|
|
69
|
+
readonly Encoding: "encoding";
|
|
70
|
+
/**
|
|
71
|
+
* Activity at a facility entrance/exit where customers leave with purchases or
|
|
72
|
+
* enter with returns.
|
|
73
|
+
*/
|
|
74
|
+
readonly EnteringExiting: "entering_exiting";
|
|
75
|
+
/**
|
|
76
|
+
* Segregating an object for further review.
|
|
77
|
+
*/
|
|
78
|
+
readonly Holding: "holding";
|
|
79
|
+
/**
|
|
80
|
+
* Reviewing objects to address potential defects while keeping them viable in the
|
|
81
|
+
* supply chain.
|
|
82
|
+
*/
|
|
83
|
+
readonly Inspecting: "inspecting";
|
|
84
|
+
/**
|
|
85
|
+
* Putting an object into a composite object that already exists.
|
|
86
|
+
*/
|
|
87
|
+
readonly Installing: "installing";
|
|
88
|
+
/**
|
|
89
|
+
* Terminating an RFID tag previously associated with an object while the object
|
|
90
|
+
* continues to exist.
|
|
91
|
+
*/
|
|
92
|
+
readonly Killing: "killing";
|
|
93
|
+
/**
|
|
94
|
+
* Loading an object into a shipping conveyance.
|
|
95
|
+
*/
|
|
96
|
+
readonly Loading: "loading";
|
|
97
|
+
/**
|
|
98
|
+
* A business step not identified by the CBV list.
|
|
99
|
+
*/
|
|
100
|
+
readonly Other: "other";
|
|
101
|
+
/**
|
|
102
|
+
* Putting objects into a larger container for shipping, typically where
|
|
103
|
+
* aggregation occurs.
|
|
104
|
+
*/
|
|
105
|
+
readonly Packing: "packing";
|
|
106
|
+
/**
|
|
107
|
+
* Selecting objects to fill an order.
|
|
108
|
+
*/
|
|
109
|
+
readonly Picking: "picking";
|
|
110
|
+
/**
|
|
111
|
+
* Indicating an object is being received at a location and added to inventory.
|
|
112
|
+
*/
|
|
113
|
+
readonly Receiving: "receiving";
|
|
114
|
+
/**
|
|
115
|
+
* Taking an object out of a composite object; opposite of installing.
|
|
116
|
+
*/
|
|
117
|
+
readonly Removing: "removing";
|
|
118
|
+
/**
|
|
119
|
+
* Changing an object's packaging configuration.
|
|
120
|
+
*/
|
|
121
|
+
readonly Repackaging: "repackaging";
|
|
122
|
+
/**
|
|
123
|
+
* Repairing a malfunctioning product without replacing it.
|
|
124
|
+
*/
|
|
125
|
+
readonly Repairing: "repairing";
|
|
126
|
+
/**
|
|
127
|
+
* Substituting or exchanging an object for another object.
|
|
128
|
+
*/
|
|
129
|
+
readonly Replacing: "replacing";
|
|
130
|
+
/**
|
|
131
|
+
* Providing a set of not-yet-commissioned instance identifiers for use by another party.
|
|
132
|
+
*/
|
|
133
|
+
readonly Reserving: "reserving";
|
|
134
|
+
/**
|
|
135
|
+
* Point-of-sale activity transferring ownership to a customer for value.
|
|
136
|
+
*/
|
|
137
|
+
readonly RetailSelling: "retail_selling";
|
|
138
|
+
/**
|
|
139
|
+
* Overall process covering staging_outbound, loading, and departing when finer
|
|
140
|
+
* detail is unavailable.
|
|
141
|
+
*/
|
|
142
|
+
readonly Shipping: "shipping";
|
|
143
|
+
/**
|
|
144
|
+
* Moving an object from a facility to an area where it awaits transport pick-up.
|
|
145
|
+
*/
|
|
146
|
+
readonly StagingOutbound: "staging_outbound";
|
|
147
|
+
/**
|
|
148
|
+
* Counting objects within a location following established rules for accounting purposes.
|
|
149
|
+
*/
|
|
150
|
+
readonly StockTaking: "stock_taking";
|
|
151
|
+
/**
|
|
152
|
+
* Activity within a location to make an object available to customers or order
|
|
153
|
+
* fulfilment.
|
|
154
|
+
*/
|
|
155
|
+
readonly Stocking: "stocking";
|
|
156
|
+
/**
|
|
157
|
+
* Moving an object into and out of storage within a location.
|
|
158
|
+
*/
|
|
159
|
+
readonly Storing: "storing";
|
|
160
|
+
/**
|
|
161
|
+
* Moving an object from one location to another using a vehicle.
|
|
162
|
+
*/
|
|
163
|
+
readonly Transporting: "transporting";
|
|
164
|
+
/**
|
|
165
|
+
* Unloading an object from a shipping conveyance.
|
|
166
|
+
*/
|
|
167
|
+
readonly Unloading: "unloading";
|
|
168
|
+
/**
|
|
169
|
+
* Removing products from a larger container, usually after receiving or
|
|
170
|
+
* accepting.
|
|
171
|
+
*/
|
|
172
|
+
readonly Unpacking: "unpacking";
|
|
173
|
+
/**
|
|
174
|
+
* Declaring that objects in a prior outbound process were not shipped as previously indicated.
|
|
175
|
+
*/
|
|
176
|
+
readonly VoidShipping: "void_shipping";
|
|
177
|
+
/**
|
|
178
|
+
* Returning sensor data about the physical properties or condition of an object or location.
|
|
179
|
+
*/
|
|
180
|
+
readonly SensorReporting: "sensor_reporting";
|
|
181
|
+
/**
|
|
182
|
+
* Testing activity where portions of an object are examined, rendering the
|
|
183
|
+
* sampled object no longer viable.
|
|
184
|
+
*/
|
|
185
|
+
readonly Sampling: "sampling";
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Supported EPCIS 2.0 `bizStep` values.
|
|
189
|
+
*
|
|
190
|
+
* These values come from the GS1 EPCIS / CBV (Core Business Vocabulary).
|
|
191
|
+
* Use the union type `EpcisBizStepTypes` when you want to restrict a field to known CBV values.
|
|
192
|
+
*/
|
|
193
|
+
export type EpcisBizStepTypes = (typeof EpcisBizStepTypes)[keyof typeof EpcisBizStepTypes];
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supported EPCIS 2.0 `bizTransaction-type` values.
|
|
3
|
+
*/
|
|
4
|
+
export declare const EpcisBizTransactionTypes: {
|
|
5
|
+
/**
|
|
6
|
+
* A document issued by a carrier to a shipper, listing and acknowledging receipt
|
|
7
|
+
* of goods for transport and specifying terms of delivery.
|
|
8
|
+
*/
|
|
9
|
+
readonly Bol: "bol";
|
|
10
|
+
/**
|
|
11
|
+
* A document confirming certain characteristics of an object, person, or
|
|
12
|
+
* organisation, typically issued by a third party.
|
|
13
|
+
*/
|
|
14
|
+
readonly Cert: "cert";
|
|
15
|
+
/**
|
|
16
|
+
* A document/message by which the seller or consignor informs the consignee
|
|
17
|
+
* about the despatch of goods (Advanced Shipment Notice).
|
|
18
|
+
*/
|
|
19
|
+
readonly Desadv: "desadv";
|
|
20
|
+
/**
|
|
21
|
+
* A document/message claiming payment for goods or services supplied under agreed
|
|
22
|
+
* conditions.
|
|
23
|
+
*/
|
|
24
|
+
readonly Inv: "inv";
|
|
25
|
+
/**
|
|
26
|
+
* A record that traces the ownership or custody and transactions of a product as
|
|
27
|
+
* it moves among trading partners.
|
|
28
|
+
*/
|
|
29
|
+
readonly Pedigree: "pedigree";
|
|
30
|
+
/**
|
|
31
|
+
* A document/message that specifies details for goods and services ordered under
|
|
32
|
+
* agreed conditions.
|
|
33
|
+
*/
|
|
34
|
+
readonly Po: "po";
|
|
35
|
+
/**
|
|
36
|
+
* A document that provides confirmation from an external supplier to the request
|
|
37
|
+
* of a purchaser to deliver a specified quantity/service.
|
|
38
|
+
*/
|
|
39
|
+
readonly Poc: "poc";
|
|
40
|
+
/**
|
|
41
|
+
* An organisation-internal document or message issued by a producer that
|
|
42
|
+
* initiates a manufacturing process of goods.
|
|
43
|
+
*/
|
|
44
|
+
readonly Prodorder: "prodorder";
|
|
45
|
+
/**
|
|
46
|
+
* A document/message that lets the receiver inform the shipper of actual goods
|
|
47
|
+
* received compared to what was advised.
|
|
48
|
+
*/
|
|
49
|
+
readonly Recadv: "recadv";
|
|
50
|
+
/**
|
|
51
|
+
* A document issued by the seller that authorises a buyer to return merchandise
|
|
52
|
+
* for credit determination.
|
|
53
|
+
*/
|
|
54
|
+
readonly Rma: "rma";
|
|
55
|
+
/**
|
|
56
|
+
* A document that provides a formal specification of a sequence of instructions
|
|
57
|
+
* for verifying one or several criteria.
|
|
58
|
+
*/
|
|
59
|
+
readonly Testprd: "testprd";
|
|
60
|
+
/**
|
|
61
|
+
* A document that includes the outcome of the execution of a given test
|
|
62
|
+
* procedure.
|
|
63
|
+
*/
|
|
64
|
+
readonly Testres: "testres";
|
|
65
|
+
/**
|
|
66
|
+
* Event ID URI(s) of event(s) provided by an upstream supplier, such as packing
|
|
67
|
+
* and shipping events.
|
|
68
|
+
*/
|
|
69
|
+
readonly Upevt: "upevt";
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Supported EPCIS 2.0 `bizTransaction-type` values.
|
|
73
|
+
*/
|
|
74
|
+
export type EpcisBizTransactionTypes = (typeof EpcisBizTransactionTypes)[keyof typeof EpcisBizTransactionTypes];
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supported EPCIS 2.0 `component` values.
|
|
3
|
+
*/
|
|
4
|
+
export declare const EpcisComponentTypes: {
|
|
5
|
+
/**
|
|
6
|
+
* Component or projection along the x axis in Cartesian coordinates (X, Y, Z).
|
|
7
|
+
*/
|
|
8
|
+
readonly X: "x";
|
|
9
|
+
/**
|
|
10
|
+
* Component or projection along the y axis in Cartesian coordinates (X, Y, Z).
|
|
11
|
+
*/
|
|
12
|
+
readonly Y: "y";
|
|
13
|
+
/**
|
|
14
|
+
* Component or projection along the z axis in Cartesian coordinates (X, Y, Z).
|
|
15
|
+
*/
|
|
16
|
+
readonly Z: "z";
|
|
17
|
+
/**
|
|
18
|
+
* Radial distance from the cylindrical axis in a cylindrical polar coordinate
|
|
19
|
+
* system.
|
|
20
|
+
*/
|
|
21
|
+
readonly AxialDistance: "axial_distance";
|
|
22
|
+
/**
|
|
23
|
+
* Angle measured in the XY plane, anticlockwise from the X axis to the plane
|
|
24
|
+
* containing the vector and the Z axis.
|
|
25
|
+
*/
|
|
26
|
+
readonly Azimuth: "azimuth";
|
|
27
|
+
/**
|
|
28
|
+
* Height parallel to the cylindrical axis in a cylindrical polar coordinate
|
|
29
|
+
* system.
|
|
30
|
+
*/
|
|
31
|
+
readonly Height: "height";
|
|
32
|
+
/**
|
|
33
|
+
* Radial distance from the centre of a sphere in a spherical polar coordinate
|
|
34
|
+
* system.
|
|
35
|
+
*/
|
|
36
|
+
readonly SphericalRadius: "spherical_radius";
|
|
37
|
+
/**
|
|
38
|
+
* Angle measured from the Z axis to the vector in a spherical polar coordinate
|
|
39
|
+
* system.
|
|
40
|
+
*/
|
|
41
|
+
readonly PolarAngle: "polar_angle";
|
|
42
|
+
/**
|
|
43
|
+
* Angle measured from the XY plane to the vector in a spherical polar coordinate
|
|
44
|
+
* system.
|
|
45
|
+
*/
|
|
46
|
+
readonly ElevationAngle: "elevation_angle";
|
|
47
|
+
/**
|
|
48
|
+
* Component or projection along an east-pointing axis in a geographic Cartesian
|
|
49
|
+
* coordinate system.
|
|
50
|
+
*/
|
|
51
|
+
readonly Easting: "easting";
|
|
52
|
+
/**
|
|
53
|
+
* Component or projection along a north-pointing axis in a geographic Cartesian
|
|
54
|
+
* coordinate system.
|
|
55
|
+
*/
|
|
56
|
+
readonly Northing: "northing";
|
|
57
|
+
/**
|
|
58
|
+
* Angle of elevation from the equatorial plane in a geographic coordinate
|
|
59
|
+
* system.
|
|
60
|
+
*/
|
|
61
|
+
readonly Latitude: "latitude";
|
|
62
|
+
/**
|
|
63
|
+
* Angle, measured within the equatorial plane, east of the prime meridian in a
|
|
64
|
+
* geographic coordinate system.
|
|
65
|
+
*/
|
|
66
|
+
readonly Longitude: "longitude";
|
|
67
|
+
/**
|
|
68
|
+
* Height above a defined surface (such as mean sea level) in a geographic
|
|
69
|
+
* coordinate system.
|
|
70
|
+
*/
|
|
71
|
+
readonly Altitude: "altitude";
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Supported EPCIS 2.0 `component` values.
|
|
75
|
+
*/
|
|
76
|
+
export type EpcisComponentTypes = (typeof EpcisComponentTypes)[keyof typeof EpcisComponentTypes];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { IJsonLdContextDefinitionElement } from "@twin.org/data-json-ld";
|
|
2
|
+
import type { EpcisContexts } from "./epcisContexts.js";
|
|
3
|
+
/**
|
|
4
|
+
* Allowed shapes for an EPCIS 2.0 JSON-LD `@context`, anchored on the GS1
|
|
5
|
+
* context root and optionally augmented with custom entries.
|
|
6
|
+
*/
|
|
7
|
+
export type EpcisContextType = typeof EpcisContexts.Namespace | [typeof EpcisContexts.Namespace] | [
|
|
8
|
+
...IJsonLdContextDefinitionElement[],
|
|
9
|
+
typeof EpcisContexts.Namespace,
|
|
10
|
+
IJsonLdContextDefinitionElement
|
|
11
|
+
] | [
|
|
12
|
+
IJsonLdContextDefinitionElement,
|
|
13
|
+
typeof EpcisContexts.Namespace,
|
|
14
|
+
...IJsonLdContextDefinitionElement[]
|
|
15
|
+
];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical EPCIS JSON-LD context IRIs as defined by GS1.
|
|
3
|
+
*/
|
|
4
|
+
export declare const EpcisContexts: {
|
|
5
|
+
/**
|
|
6
|
+
* The namespace for the objects.
|
|
7
|
+
*/
|
|
8
|
+
readonly Namespace: "https://ref.gs1.org/epcis/";
|
|
9
|
+
/**
|
|
10
|
+
* The JSON-LD Context URL.
|
|
11
|
+
*/
|
|
12
|
+
readonly JsonLdContext: "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Canonical EPCIS JSON-LD context IRIs as defined by GS1.
|
|
16
|
+
*/
|
|
17
|
+
export type EpcisContexts = (typeof EpcisContexts)[keyof typeof EpcisContexts];
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supported EPCIS 2.0 `disposition` values from the GS1 Core Business
|
|
3
|
+
* Vocabulary (CBV).
|
|
4
|
+
*
|
|
5
|
+
* Use the union type `EpcisDispositionTypes` to restrict a field to known CBV
|
|
6
|
+
* values.
|
|
7
|
+
*/
|
|
8
|
+
export declare const EpcisDispositionTypes: {
|
|
9
|
+
/**
|
|
10
|
+
* A commissioned object has just been introduced into the supply chain.
|
|
11
|
+
*/
|
|
12
|
+
readonly Active: "active";
|
|
13
|
+
/**
|
|
14
|
+
* Object has been loaded onto a container, the doors closed, and the shipment
|
|
15
|
+
* sealed.
|
|
16
|
+
*/
|
|
17
|
+
readonly ContainerClosed: "container_closed";
|
|
18
|
+
/**
|
|
19
|
+
* Object is impaired in usefulness or value due to a defect.
|
|
20
|
+
*/
|
|
21
|
+
readonly Damaged: "damaged";
|
|
22
|
+
/**
|
|
23
|
+
* Object has been fully rendered non-usable.
|
|
24
|
+
*/
|
|
25
|
+
readonly Destroyed: "destroyed";
|
|
26
|
+
/**
|
|
27
|
+
* A full quantity of product is distributed to a consumer.
|
|
28
|
+
*/
|
|
29
|
+
readonly Dispensed: "dispensed";
|
|
30
|
+
/**
|
|
31
|
+
* Object has been returned for disposal.
|
|
32
|
+
*/
|
|
33
|
+
readonly Disposed: "disposed";
|
|
34
|
+
/**
|
|
35
|
+
* An instance-level identifier has been written to a barcode or RFID tag, but
|
|
36
|
+
* not yet commissioned.
|
|
37
|
+
*/
|
|
38
|
+
readonly Encoded: "encoded";
|
|
39
|
+
/**
|
|
40
|
+
* Object's expiration date is in the past.
|
|
41
|
+
*/
|
|
42
|
+
readonly Expired: "expired";
|
|
43
|
+
/**
|
|
44
|
+
* Optional disposition for objects proceeding through points in the supply
|
|
45
|
+
* chain.
|
|
46
|
+
*/
|
|
47
|
+
readonly InProgress: "in_progress";
|
|
48
|
+
/**
|
|
49
|
+
* Object is being shipped between two trading partners.
|
|
50
|
+
*/
|
|
51
|
+
readonly InTransit: "in_transit";
|
|
52
|
+
/**
|
|
53
|
+
* Decommissioned object that may be reintroduced to the supply chain.
|
|
54
|
+
*/
|
|
55
|
+
readonly Inactive: "inactive";
|
|
56
|
+
/**
|
|
57
|
+
* No pedigree match was found during validation, so the product is quarantined
|
|
58
|
+
* for investigation.
|
|
59
|
+
*/
|
|
60
|
+
readonly NoPedigreeMatch: "no_pedigree_match";
|
|
61
|
+
/**
|
|
62
|
+
* Object cannot be sold to a customer.
|
|
63
|
+
*/
|
|
64
|
+
readonly NonSellableOther: "non_sellable_other";
|
|
65
|
+
/**
|
|
66
|
+
* A portion of a product is distributed to a customer while additional product
|
|
67
|
+
* is retained.
|
|
68
|
+
*/
|
|
69
|
+
readonly PartiallyDispensed: "partially_dispensed";
|
|
70
|
+
/**
|
|
71
|
+
* Object is non-sellable because of public safety reasons.
|
|
72
|
+
*/
|
|
73
|
+
readonly Recalled: "recalled";
|
|
74
|
+
/**
|
|
75
|
+
* Instance-level identifier has been allocated for a third party.
|
|
76
|
+
*/
|
|
77
|
+
readonly Reserved: "reserved";
|
|
78
|
+
/**
|
|
79
|
+
* Product has been purchased by a customer.
|
|
80
|
+
*/
|
|
81
|
+
readonly RetailSold: "retail_sold";
|
|
82
|
+
/**
|
|
83
|
+
* Object has been sent or brought back for various reasons; it may or may not
|
|
84
|
+
* be sellable.
|
|
85
|
+
*/
|
|
86
|
+
readonly Returned: "returned";
|
|
87
|
+
/**
|
|
88
|
+
* Product can be sold as is and a customer can access it for purchase.
|
|
89
|
+
*/
|
|
90
|
+
readonly SellableAccessible: "sellable_accessible";
|
|
91
|
+
/**
|
|
92
|
+
* Product can be sold as is, but a customer cannot access it for purchase.
|
|
93
|
+
*/
|
|
94
|
+
readonly SellableNotAccessible: "sellable_not_accessible";
|
|
95
|
+
/**
|
|
96
|
+
* An object has been taken without permission or right.
|
|
97
|
+
*/
|
|
98
|
+
readonly Stolen: "stolen";
|
|
99
|
+
/**
|
|
100
|
+
* An object's condition is not known.
|
|
101
|
+
*/
|
|
102
|
+
readonly Unknown: "unknown";
|
|
103
|
+
/**
|
|
104
|
+
* Object has been returned to service or the supply chain after repair.
|
|
105
|
+
*/
|
|
106
|
+
readonly Available: "available";
|
|
107
|
+
/**
|
|
108
|
+
* Explicitly indicates verified integrity of an aggregation when children are
|
|
109
|
+
* unpacked or verified.
|
|
110
|
+
*/
|
|
111
|
+
readonly CompletenessVerified: "completeness_verified";
|
|
112
|
+
/**
|
|
113
|
+
* Indicates inferred integrity of an aggregation based on upstream aggregation
|
|
114
|
+
* information.
|
|
115
|
+
*/
|
|
116
|
+
readonly CompletenessInferred: "completeness_inferred";
|
|
117
|
+
/**
|
|
118
|
+
* Outcome of a successful inspection in an inspecting or repairing step.
|
|
119
|
+
*/
|
|
120
|
+
readonly Conformant: "conformant";
|
|
121
|
+
/**
|
|
122
|
+
* Container doors have been opened or a shipment seal has been broken.
|
|
123
|
+
*/
|
|
124
|
+
readonly ContainerOpen: "container_open";
|
|
125
|
+
/**
|
|
126
|
+
* Instance-level identifiers do not match what was expected.
|
|
127
|
+
*/
|
|
128
|
+
readonly MismatchInstance: "mismatch_instance";
|
|
129
|
+
/**
|
|
130
|
+
* Class-level identifiers do not match what was expected.
|
|
131
|
+
*/
|
|
132
|
+
readonly MismatchClass: "mismatch_class";
|
|
133
|
+
/**
|
|
134
|
+
* Quantities do not match what was expected.
|
|
135
|
+
*/
|
|
136
|
+
readonly MismatchQuantity: "mismatch_quantity";
|
|
137
|
+
/**
|
|
138
|
+
* Components or assets must be replaced to ensure functional requirements.
|
|
139
|
+
*/
|
|
140
|
+
readonly NeedsReplacement: "needs_replacement";
|
|
141
|
+
/**
|
|
142
|
+
* Outcome of an unsuccessful inspection in an inspecting or repairing step.
|
|
143
|
+
*/
|
|
144
|
+
readonly NonConformant: "non_conformant";
|
|
145
|
+
/**
|
|
146
|
+
* Object has been removed from service or the supply chain, for example pending
|
|
147
|
+
* repair.
|
|
148
|
+
*/
|
|
149
|
+
readonly Unavailable: "unavailable";
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Supported EPCIS 2.0 `disposition` values from the GS1 Core Business
|
|
153
|
+
* Vocabulary (CBV).
|
|
154
|
+
*
|
|
155
|
+
* Use the union type `EpcisDispositionTypes` to restrict a field to known CBV
|
|
156
|
+
* values.
|
|
157
|
+
*/
|
|
158
|
+
export type EpcisDispositionTypes = (typeof EpcisDispositionTypes)[keyof typeof EpcisDispositionTypes];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supported EPCIS 2.0 `error-reason` values from the GS1 EPCIS JSON Schema.
|
|
3
|
+
*/
|
|
4
|
+
export declare const EpcisErrorReasonTypes: {
|
|
5
|
+
/**
|
|
6
|
+
* Prior event is erroneous because it did not actually occur; no corrective
|
|
7
|
+
* events exist.
|
|
8
|
+
*/
|
|
9
|
+
readonly DidNotOccur: "did_not_occur";
|
|
10
|
+
/**
|
|
11
|
+
* Prior event has incorrect data and may be corrected by subsequent linked
|
|
12
|
+
* events.
|
|
13
|
+
*/
|
|
14
|
+
readonly IncorrectData: "incorrect_data";
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Supported EPCIS 2.0 `error-reason` values from the GS1 EPCIS JSON Schema.
|
|
18
|
+
*/
|
|
19
|
+
export type EpcisErrorReasonTypes = (typeof EpcisErrorReasonTypes)[keyof typeof EpcisErrorReasonTypes];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.
|
|
3
|
+
*/
|
|
4
|
+
export declare const EpcisEventTypes: {
|
|
5
|
+
/**
|
|
6
|
+
* Event that observes one or more instance- or class-level objects.
|
|
7
|
+
*/
|
|
8
|
+
readonly ObjectEvent: "ObjectEvent";
|
|
9
|
+
/**
|
|
10
|
+
* Event recording child objects aggregated under a parent identifier.
|
|
11
|
+
*/
|
|
12
|
+
readonly AggregationEvent: "AggregationEvent";
|
|
13
|
+
/**
|
|
14
|
+
* Event recording parent/child associations without implying containment.
|
|
15
|
+
*/
|
|
16
|
+
readonly AssociationEvent: "AssociationEvent";
|
|
17
|
+
/**
|
|
18
|
+
* Event recording how inputs are transformed into outputs.
|
|
19
|
+
*/
|
|
20
|
+
readonly TransformationEvent: "TransformationEvent";
|
|
21
|
+
/**
|
|
22
|
+
* Event linking objects or quantities to business transactions.
|
|
23
|
+
*/
|
|
24
|
+
readonly TransactionEvent: "TransactionEvent";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.
|
|
28
|
+
*/
|
|
29
|
+
export type EpcisEventTypes = (typeof EpcisEventTypes)[keyof typeof EpcisEventTypes];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IEpcisAggregationEvent } from "./IEpcisAggregationEvent.js";
|
|
2
|
+
import type { IEpcisAssociationEvent } from "./IEpcisAssociationEvent.js";
|
|
3
|
+
import type { IEpcisEvent } from "./IEpcisEvent.js";
|
|
4
|
+
import type { IEpcisObjectEvent } from "./IEpcisObjectEvent.js";
|
|
5
|
+
import type { IEpcisTransactionEvent } from "./IEpcisTransactionEvent.js";
|
|
6
|
+
import type { IEpcisTransformationEvent } from "./IEpcisTransformationEvent.js";
|
|
7
|
+
/**
|
|
8
|
+
* Discriminated union covering all EPCIS 2.0 event interfaces used in this
|
|
9
|
+
* package.
|
|
10
|
+
*/
|
|
11
|
+
export type EpcisEvents = IEpcisObjectEvent | IEpcisAssociationEvent | IEpcisAggregationEvent | IEpcisTransactionEvent | IEpcisTransformationEvent | IEpcisEvent;
|