@twin.org/standards-gs1 0.0.3-next.9 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/es/dataTypes/epcisDataTypes.js +69 -0
- package/dist/es/dataTypes/epcisDataTypes.js.map +1 -0
- package/dist/es/dataTypes/gs1DataTypes.js +3 -3
- package/dist/es/dataTypes/gs1DataTypes.js.map +1 -1
- package/dist/es/entities/gs1Location.js +2 -3
- package/dist/es/entities/gs1Location.js.map +1 -1
- package/dist/es/index.js +26 -7
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisAggregationEvent.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisAssociationEvent.js.map +1 -1
- 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 +0 -2
- package/dist/es/models/epcis20/IEpcisBizTransaction.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisDestination.js +0 -2
- package/dist/es/models/epcis20/IEpcisDestination.js.map +1 -1
- 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/{IEpcisSimpleLocation.js → IEpcisIlmd.js} +1 -1
- package/dist/es/models/epcis20/IEpcisIlmd.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisLocation.js +4 -0
- package/dist/es/models/epcis20/IEpcisLocation.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisObjectEvent.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/es/models/epcis20/IEpcisSensorMetadata.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisSensorReport.js +0 -2
- package/dist/es/models/epcis20/IEpcisSensorReport.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisSource.js +0 -2
- package/dist/es/models/epcis20/IEpcisSource.js.map +1 -1
- 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 +7 -4
- package/dist/es/models/epcis20/epcisActionTypes.js.map +1 -1
- package/dist/es/models/epcis20/epcisBizStepTypes.js +140 -2
- package/dist/es/models/epcis20/epcisBizStepTypes.js.map +1 -1
- 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 +27 -0
- package/dist/es/models/epcis20/epcisContexts.js.map +1 -0
- package/dist/es/models/epcis20/epcisDispositionTypes.js +112 -2
- package/dist/es/models/epcis20/epcisDispositionTypes.js.map +1 -1
- 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 +6 -6
- package/dist/es/models/epcis20/epcisEventTypes.js.map +1 -1
- 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 +8 -2
- package/dist/es/models/gs1/gs1Contexts.js.map +1 -1
- package/dist/es/schemas/EpcisAggregationEvent.json +102 -0
- package/dist/es/schemas/EpcisAssociationEvent.json +103 -0
- package/dist/es/schemas/EpcisContextType.json +30 -0
- package/dist/es/schemas/EpcisDocument.json +68 -0
- package/dist/es/schemas/EpcisObjectEvent.json +106 -0
- package/dist/es/schemas/EpcisQueryDocument.json +38 -0
- package/dist/es/schemas/EpcisTransactionEvent.json +103 -0
- package/dist/es/schemas/EpcisTransformationEvent.json +119 -0
- package/dist/es/utils/gs1Is.js +3 -2
- package/dist/es/utils/gs1Is.js.map +1 -1
- package/dist/types/dataTypes/epcisDataTypes.d.ts +13 -0
- package/dist/types/dataTypes/gs1DataTypes.d.ts +1 -1
- package/dist/types/entities/gs1Location.d.ts +2 -3
- package/dist/types/index.d.ts +26 -7
- package/dist/types/models/epcis20/IEpcisAggregationEvent.d.ts +75 -4
- package/dist/types/models/epcis20/IEpcisAssociationEvent.d.ts +74 -4
- package/dist/types/models/epcis20/IEpcisAttribute.d.ts +15 -0
- package/dist/types/models/epcis20/IEpcisBizTransaction.d.ts +11 -5
- package/dist/types/models/epcis20/IEpcisDestination.d.ts +12 -5
- package/dist/types/models/epcis20/IEpcisDocument.d.ts +33 -6
- package/dist/types/models/epcis20/IEpcisErrorDeclaration.d.ts +24 -0
- package/dist/types/models/epcis20/IEpcisEvent.d.ts +22 -21
- package/dist/types/models/epcis20/IEpcisHeader.d.ts +17 -0
- package/dist/types/models/epcis20/IEpcisIlmd.d.ts +7 -0
- package/dist/types/models/epcis20/IEpcisLocation.d.ts +11 -0
- package/dist/types/models/epcis20/IEpcisObjectEvent.d.ts +72 -12
- package/dist/types/models/epcis20/IEpcisPersistentDisposition.d.ts +16 -0
- package/dist/types/models/epcis20/IEpcisQuantity.d.ts +13 -5
- package/dist/types/models/epcis20/IEpcisQuery.d.ts +2 -1
- package/dist/types/models/epcis20/IEpcisQueryDocument.d.ts +8 -29
- package/dist/types/models/epcis20/IEpcisQueryDocumentBody.d.ts +11 -0
- package/dist/types/models/epcis20/IEpcisQueryResults.d.ts +19 -0
- package/dist/types/models/epcis20/IEpcisQueryResultsBody.d.ts +16 -0
- package/dist/types/models/epcis20/IEpcisSensorElement.d.ts +12 -8
- package/dist/types/models/epcis20/IEpcisSensorMetadata.d.ts +36 -10
- package/dist/types/models/epcis20/IEpcisSensorReport.d.ts +121 -8
- package/dist/types/models/epcis20/IEpcisSource.d.ts +11 -5
- 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 +15 -0
- package/dist/types/models/epcis20/IEpcisVocabularyElement.d.ts +20 -0
- package/dist/types/models/epcis20/epcisActionTypes.d.ts +9 -5
- package/dist/types/models/epcis20/epcisBizStepTypes.d.ts +144 -3
- 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 +8 -0
- package/dist/types/models/epcis20/epcisContexts.d.ts +27 -0
- package/dist/types/models/epcis20/epcisDispositionTypes.d.ts +117 -3
- package/dist/types/models/epcis20/epcisErrorReasonTypes.d.ts +19 -0
- package/dist/types/models/epcis20/epcisEventTypes.d.ts +7 -7
- 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 +8 -2
- package/dist/types/utils/gs1Is.d.ts +3 -2
- package/docs/changelog.md +535 -60
- package/docs/examples.md +58 -1
- package/docs/reference/classes/EpcisDataTypes.md +37 -0
- package/docs/reference/classes/Gs1DataTypes.md +5 -2
- package/docs/reference/classes/Gs1Identifiers.md +1 -1
- package/docs/reference/classes/Gs1IdentifiersValidation.md +7 -7
- package/docs/reference/classes/Gs1Is.md +8 -4
- package/docs/reference/classes/Gs1Location.md +34 -32
- package/docs/reference/classes/Gs1Validation.md +1 -1
- package/docs/reference/index.md +40 -15
- package/docs/reference/interfaces/IEPCClassUri.md +3 -3
- package/docs/reference/interfaces/IEpcisAggregationEvent.md +219 -0
- package/docs/reference/interfaces/IEpcisAssociationEvent.md +218 -0
- package/docs/reference/interfaces/IEpcisAttribute.md +23 -0
- package/docs/reference/interfaces/IEpcisBizTransaction.md +27 -0
- package/docs/reference/interfaces/IEpcisDestination.md +28 -0
- package/docs/reference/interfaces/IEpcisDocument.md +60 -8
- package/docs/reference/interfaces/IEpcisErrorDeclaration.md +36 -0
- package/docs/reference/interfaces/IEpcisEvent.md +37 -33
- package/docs/reference/interfaces/IEpcisHeader.md +23 -0
- package/docs/reference/interfaces/IEpcisIlmd.md +8 -0
- package/docs/reference/interfaces/IEpcisLocation.md +16 -0
- package/docs/reference/interfaces/IEpcisObjectEvent.md +224 -0
- package/docs/reference/interfaces/IEpcisPersistentDisposition.md +24 -0
- package/docs/reference/interfaces/IEpcisQuantity.md +34 -0
- package/docs/reference/interfaces/IEpcisQuery.md +6 -2
- package/docs/reference/interfaces/IEpcisQueryDocument.md +17 -43
- package/docs/reference/interfaces/IEpcisQueryDocumentBody.md +15 -0
- package/docs/reference/interfaces/IEpcisQueryResults.md +31 -0
- package/docs/reference/interfaces/IEpcisQueryResultsBody.md +23 -0
- package/docs/reference/interfaces/IEpcisSensorElement.md +26 -0
- package/docs/reference/interfaces/IEpcisSensorMetadata.md +80 -0
- package/docs/reference/interfaces/IEpcisSensorReport.md +224 -0
- package/docs/reference/interfaces/IEpcisSource.md +27 -0
- package/docs/reference/interfaces/IEpcisTransactionEvent.md +216 -0
- package/docs/reference/interfaces/IEpcisTransformationEvent.md +245 -0
- package/docs/reference/interfaces/IEpcisVocabulary.md +23 -0
- package/docs/reference/interfaces/IEpcisVocabularyElement.md +32 -0
- package/docs/reference/type-aliases/EpcisActionTypes.md +2 -1
- package/docs/reference/type-aliases/EpcisBizStepTypes.md +4 -1
- 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 +5 -1
- package/docs/reference/type-aliases/EpcisErrorReasonTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisEventTypes.md +1 -1
- 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/variables/EpcisActionTypes.md +10 -7
- package/docs/reference/variables/EpcisBizStepTypes.md +140 -43
- package/docs/reference/variables/EpcisBizTransactionTypes.md +98 -0
- package/docs/reference/variables/EpcisComponentTypes.md +102 -0
- package/docs/reference/variables/EpcisContexts.md +33 -0
- package/docs/reference/variables/EpcisDispositionTypes.md +112 -35
- package/docs/reference/variables/EpcisErrorReasonTypes.md +21 -0
- package/docs/reference/variables/EpcisEventTypes.md +11 -11
- 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 +11 -3
- package/docs/reference/variables/Gs1IdTypes.md +20 -20
- package/docs/reference/variables/Gs1IdentifierTypes.md +4 -4
- package/docs/reference/variables/Gs1SubSiteAttributes.md +33 -33
- package/docs/reference/variables/Gs1SubSiteTypes.md +16 -16
- package/docs/reference/variables/Gs1Types.md +1 -1
- package/package.json +9 -9
- package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js +0 -2
- package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.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/IEpcisSimpleLocation.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/types/models/epcis20/IEpcisBaseAggregationEvent.d.ts +0 -19
- package/dist/types/models/epcis20/IEpcisEventDetails.d.ts +0 -35
- package/dist/types/models/epcis20/IEpcisSimpleLocation.d.ts +0 -9
- package/dist/types/models/epcis20/epcisErrorTypes.d.ts +0 -11
- package/dist/types/models/epcis20/epcisEventUnionType.d.ts +0 -7
- 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/EpcisErrorTypes.md +0 -5
- package/docs/reference/type-aliases/EpcisEventUnionType.md +0 -5
- package/docs/reference/variables/EpcisErrorTypes.md +0 -15
|
@@ -1,44 +1,158 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* EPCIS 2.0 disposition
|
|
2
|
+
* Supported EPCIS 2.0 `disposition` values from the GS1 Core Business
|
|
3
|
+
* Vocabulary (CBV).
|
|
3
4
|
*
|
|
4
|
-
*
|
|
5
|
+
* Use the union type `EpcisDispositionTypes` to restrict a field to known CBV
|
|
6
|
+
* values.
|
|
5
7
|
*/
|
|
6
8
|
export declare const EpcisDispositionTypes: {
|
|
9
|
+
/**
|
|
10
|
+
* A commissioned object has just been introduced into the supply chain.
|
|
11
|
+
*/
|
|
7
12
|
readonly Active: "active";
|
|
13
|
+
/**
|
|
14
|
+
* Object has been loaded onto a container, the doors closed, and the shipment
|
|
15
|
+
* sealed.
|
|
16
|
+
*/
|
|
8
17
|
readonly ContainerClosed: "container_closed";
|
|
18
|
+
/**
|
|
19
|
+
* Object is impaired in usefulness or value due to a defect.
|
|
20
|
+
*/
|
|
9
21
|
readonly Damaged: "damaged";
|
|
22
|
+
/**
|
|
23
|
+
* Object has been fully rendered non-usable.
|
|
24
|
+
*/
|
|
10
25
|
readonly Destroyed: "destroyed";
|
|
26
|
+
/**
|
|
27
|
+
* A full quantity of product is distributed to a consumer.
|
|
28
|
+
*/
|
|
11
29
|
readonly Dispensed: "dispensed";
|
|
30
|
+
/**
|
|
31
|
+
* Object has been returned for disposal.
|
|
32
|
+
*/
|
|
12
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
|
+
*/
|
|
13
38
|
readonly Encoded: "encoded";
|
|
39
|
+
/**
|
|
40
|
+
* Object's expiration date is in the past.
|
|
41
|
+
*/
|
|
14
42
|
readonly Expired: "expired";
|
|
43
|
+
/**
|
|
44
|
+
* Optional disposition for objects proceeding through points in the supply
|
|
45
|
+
* chain.
|
|
46
|
+
*/
|
|
15
47
|
readonly InProgress: "in_progress";
|
|
48
|
+
/**
|
|
49
|
+
* Object is being shipped between two trading partners.
|
|
50
|
+
*/
|
|
16
51
|
readonly InTransit: "in_transit";
|
|
52
|
+
/**
|
|
53
|
+
* Decommissioned object that may be reintroduced to the supply chain.
|
|
54
|
+
*/
|
|
17
55
|
readonly Inactive: "inactive";
|
|
56
|
+
/**
|
|
57
|
+
* No pedigree match was found during validation, so the product is quarantined
|
|
58
|
+
* for investigation.
|
|
59
|
+
*/
|
|
18
60
|
readonly NoPedigreeMatch: "no_pedigree_match";
|
|
61
|
+
/**
|
|
62
|
+
* Object cannot be sold to a customer.
|
|
63
|
+
*/
|
|
19
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
|
+
*/
|
|
20
69
|
readonly PartiallyDispensed: "partially_dispensed";
|
|
70
|
+
/**
|
|
71
|
+
* Object is non-sellable because of public safety reasons.
|
|
72
|
+
*/
|
|
21
73
|
readonly Recalled: "recalled";
|
|
74
|
+
/**
|
|
75
|
+
* Instance-level identifier has been allocated for a third party.
|
|
76
|
+
*/
|
|
22
77
|
readonly Reserved: "reserved";
|
|
78
|
+
/**
|
|
79
|
+
* Product has been purchased by a customer.
|
|
80
|
+
*/
|
|
23
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
|
+
*/
|
|
24
86
|
readonly Returned: "returned";
|
|
87
|
+
/**
|
|
88
|
+
* Product can be sold as is and a customer can access it for purchase.
|
|
89
|
+
*/
|
|
25
90
|
readonly SellableAccessible: "sellable_accessible";
|
|
91
|
+
/**
|
|
92
|
+
* Product can be sold as is, but a customer cannot access it for purchase.
|
|
93
|
+
*/
|
|
26
94
|
readonly SellableNotAccessible: "sellable_not_accessible";
|
|
95
|
+
/**
|
|
96
|
+
* An object has been taken without permission or right.
|
|
97
|
+
*/
|
|
27
98
|
readonly Stolen: "stolen";
|
|
99
|
+
/**
|
|
100
|
+
* An object's condition is not known.
|
|
101
|
+
*/
|
|
28
102
|
readonly Unknown: "unknown";
|
|
103
|
+
/**
|
|
104
|
+
* Object has been returned to service or the supply chain after repair.
|
|
105
|
+
*/
|
|
29
106
|
readonly Available: "available";
|
|
107
|
+
/**
|
|
108
|
+
* Explicitly indicates verified integrity of an aggregation when children are
|
|
109
|
+
* unpacked or verified.
|
|
110
|
+
*/
|
|
30
111
|
readonly CompletenessVerified: "completeness_verified";
|
|
112
|
+
/**
|
|
113
|
+
* Indicates inferred integrity of an aggregation based on upstream aggregation
|
|
114
|
+
* information.
|
|
115
|
+
*/
|
|
31
116
|
readonly CompletenessInferred: "completeness_inferred";
|
|
117
|
+
/**
|
|
118
|
+
* Outcome of a successful inspection in an inspecting or repairing step.
|
|
119
|
+
*/
|
|
32
120
|
readonly Conformant: "conformant";
|
|
121
|
+
/**
|
|
122
|
+
* Container doors have been opened or a shipment seal has been broken.
|
|
123
|
+
*/
|
|
33
124
|
readonly ContainerOpen: "container_open";
|
|
125
|
+
/**
|
|
126
|
+
* Instance-level identifiers do not match what was expected.
|
|
127
|
+
*/
|
|
34
128
|
readonly MismatchInstance: "mismatch_instance";
|
|
129
|
+
/**
|
|
130
|
+
* Class-level identifiers do not match what was expected.
|
|
131
|
+
*/
|
|
35
132
|
readonly MismatchClass: "mismatch_class";
|
|
133
|
+
/**
|
|
134
|
+
* Quantities do not match what was expected.
|
|
135
|
+
*/
|
|
36
136
|
readonly MismatchQuantity: "mismatch_quantity";
|
|
137
|
+
/**
|
|
138
|
+
* Components or assets must be replaced to ensure functional requirements.
|
|
139
|
+
*/
|
|
37
140
|
readonly NeedsReplacement: "needs_replacement";
|
|
141
|
+
/**
|
|
142
|
+
* Outcome of an unsuccessful inspection in an inspecting or repairing step.
|
|
143
|
+
*/
|
|
38
144
|
readonly NonConformant: "non_conformant";
|
|
145
|
+
/**
|
|
146
|
+
* Object has been removed from service or the supply chain, for example pending
|
|
147
|
+
* repair.
|
|
148
|
+
*/
|
|
39
149
|
readonly Unavailable: "unavailable";
|
|
40
150
|
};
|
|
41
151
|
/**
|
|
42
|
-
* EPCIS 2.0 disposition
|
|
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.
|
|
43
157
|
*/
|
|
44
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];
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* EPCIS 2.0 event
|
|
2
|
+
* EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.
|
|
3
3
|
*/
|
|
4
4
|
export declare const EpcisEventTypes: {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Event that observes one or more instance- or class-level objects.
|
|
7
7
|
*/
|
|
8
8
|
readonly ObjectEvent: "ObjectEvent";
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Event recording child objects aggregated under a parent identifier.
|
|
11
11
|
*/
|
|
12
12
|
readonly AggregationEvent: "AggregationEvent";
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Event recording parent/child associations without implying containment.
|
|
15
15
|
*/
|
|
16
16
|
readonly AssociationEvent: "AssociationEvent";
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Event recording how inputs are transformed into outputs.
|
|
19
19
|
*/
|
|
20
20
|
readonly TransformationEvent: "TransformationEvent";
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Event linking objects or quantities to business transactions.
|
|
23
23
|
*/
|
|
24
24
|
readonly TransactionEvent: "TransactionEvent";
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* EPCIS 2.0 event
|
|
27
|
+
* EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.
|
|
28
28
|
*/
|
|
29
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;
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supported EPCIS 2.0 `measurementType` values.
|
|
3
|
+
*
|
|
4
|
+
* These values come from the GS1 EPCIS JSON Schema enumeration.
|
|
5
|
+
* Use the union type `EpcisMeasurementTypes` when you want to restrict a field to known values.
|
|
6
|
+
*/
|
|
7
|
+
export declare const EpcisMeasurementTypes: {
|
|
8
|
+
/**
|
|
9
|
+
* Measurement type "AbsoluteHumidity".
|
|
10
|
+
*/
|
|
11
|
+
readonly AbsoluteHumidity: "AbsoluteHumidity";
|
|
12
|
+
/**
|
|
13
|
+
* Measurement type "AbsorbedDose".
|
|
14
|
+
*/
|
|
15
|
+
readonly AbsorbedDose: "AbsorbedDose";
|
|
16
|
+
/**
|
|
17
|
+
* Measurement type "AbsorbedDoseRate".
|
|
18
|
+
*/
|
|
19
|
+
readonly AbsorbedDoseRate: "AbsorbedDoseRate";
|
|
20
|
+
/**
|
|
21
|
+
* Measurement type "Acceleration".
|
|
22
|
+
*/
|
|
23
|
+
readonly Acceleration: "Acceleration";
|
|
24
|
+
/**
|
|
25
|
+
* Measurement type "Radioactivity".
|
|
26
|
+
*/
|
|
27
|
+
readonly Radioactivity: "Radioactivity";
|
|
28
|
+
/**
|
|
29
|
+
* Measurement type "Altitude".
|
|
30
|
+
*/
|
|
31
|
+
readonly Altitude: "Altitude";
|
|
32
|
+
/**
|
|
33
|
+
* Measurement type "AmountOfSubstance".
|
|
34
|
+
*/
|
|
35
|
+
readonly AmountOfSubstance: "AmountOfSubstance";
|
|
36
|
+
/**
|
|
37
|
+
* Measurement type "AmountOfSubstancePerUnitVolume".
|
|
38
|
+
*/
|
|
39
|
+
readonly AmountOfSubstancePerUnitVolume: "AmountOfSubstancePerUnitVolume";
|
|
40
|
+
/**
|
|
41
|
+
* Measurement type "Angle".
|
|
42
|
+
*/
|
|
43
|
+
readonly Angle: "Angle";
|
|
44
|
+
/**
|
|
45
|
+
* Measurement type "AngularAcceleration".
|
|
46
|
+
*/
|
|
47
|
+
readonly AngularAcceleration: "AngularAcceleration";
|
|
48
|
+
/**
|
|
49
|
+
* Measurement type "AngularMomentum".
|
|
50
|
+
*/
|
|
51
|
+
readonly AngularMomentum: "AngularMomentum";
|
|
52
|
+
/**
|
|
53
|
+
* Measurement type "AngularVelocity".
|
|
54
|
+
*/
|
|
55
|
+
readonly AngularVelocity: "AngularVelocity";
|
|
56
|
+
/**
|
|
57
|
+
* Measurement type "Area".
|
|
58
|
+
*/
|
|
59
|
+
readonly Area: "Area";
|
|
60
|
+
/**
|
|
61
|
+
* Measurement type "Capacitance".
|
|
62
|
+
*/
|
|
63
|
+
readonly Capacitance: "Capacitance";
|
|
64
|
+
/**
|
|
65
|
+
* Measurement type "Conductance".
|
|
66
|
+
*/
|
|
67
|
+
readonly Conductance: "Conductance";
|
|
68
|
+
/**
|
|
69
|
+
* Measurement type "Conductivity".
|
|
70
|
+
*/
|
|
71
|
+
readonly Conductivity: "Conductivity";
|
|
72
|
+
/**
|
|
73
|
+
* Measurement type "Count".
|
|
74
|
+
*/
|
|
75
|
+
readonly Count: "Count";
|
|
76
|
+
/**
|
|
77
|
+
* Measurement type "Density".
|
|
78
|
+
*/
|
|
79
|
+
readonly Density: "Density";
|
|
80
|
+
/**
|
|
81
|
+
* Measurement type "Dimensionless".
|
|
82
|
+
*/
|
|
83
|
+
readonly Dimensionless: "Dimensionless";
|
|
84
|
+
/**
|
|
85
|
+
* Measurement type "DoseEquivalent".
|
|
86
|
+
*/
|
|
87
|
+
readonly DoseEquivalent: "DoseEquivalent";
|
|
88
|
+
/**
|
|
89
|
+
* Measurement type "DoseEquivalentRate".
|
|
90
|
+
*/
|
|
91
|
+
readonly DoseEquivalentRate: "DoseEquivalentRate";
|
|
92
|
+
/**
|
|
93
|
+
* Measurement type "DynamicViscosity".
|
|
94
|
+
*/
|
|
95
|
+
readonly DynamicViscosity: "DynamicViscosity";
|
|
96
|
+
/**
|
|
97
|
+
* Measurement type "ElectricCharge".
|
|
98
|
+
*/
|
|
99
|
+
readonly ElectricCharge: "ElectricCharge";
|
|
100
|
+
/**
|
|
101
|
+
* Measurement type "ElectricCurrent".
|
|
102
|
+
*/
|
|
103
|
+
readonly ElectricCurrent: "ElectricCurrent";
|
|
104
|
+
/**
|
|
105
|
+
* Measurement type "ElectricCurrentDensity".
|
|
106
|
+
*/
|
|
107
|
+
readonly ElectricCurrentDensity: "ElectricCurrentDensity";
|
|
108
|
+
/**
|
|
109
|
+
* Measurement type "ElectricFieldStrength".
|
|
110
|
+
*/
|
|
111
|
+
readonly ElectricFieldStrength: "ElectricFieldStrength";
|
|
112
|
+
/**
|
|
113
|
+
* Measurement type "Energy".
|
|
114
|
+
*/
|
|
115
|
+
readonly Energy: "Energy";
|
|
116
|
+
/**
|
|
117
|
+
* Measurement type "Exposure".
|
|
118
|
+
*/
|
|
119
|
+
readonly Exposure: "Exposure";
|
|
120
|
+
/**
|
|
121
|
+
* Measurement type "Force".
|
|
122
|
+
*/
|
|
123
|
+
readonly Force: "Force";
|
|
124
|
+
/**
|
|
125
|
+
* Measurement type "Frequency".
|
|
126
|
+
*/
|
|
127
|
+
readonly Frequency: "Frequency";
|
|
128
|
+
/**
|
|
129
|
+
* Measurement type "Illuminance".
|
|
130
|
+
*/
|
|
131
|
+
readonly Illuminance: "Illuminance";
|
|
132
|
+
/**
|
|
133
|
+
* Measurement type "Inductance".
|
|
134
|
+
*/
|
|
135
|
+
readonly Inductance: "Inductance";
|
|
136
|
+
/**
|
|
137
|
+
* Measurement type "Irradiance".
|
|
138
|
+
*/
|
|
139
|
+
readonly Irradiance: "Irradiance";
|
|
140
|
+
/**
|
|
141
|
+
* Measurement type "KinematicViscosity".
|
|
142
|
+
*/
|
|
143
|
+
readonly KinematicViscosity: "KinematicViscosity";
|
|
144
|
+
/**
|
|
145
|
+
* Measurement type "Length".
|
|
146
|
+
*/
|
|
147
|
+
readonly Length: "Length";
|
|
148
|
+
/**
|
|
149
|
+
* Measurement type "LinearMomentum".
|
|
150
|
+
*/
|
|
151
|
+
readonly LinearMomentum: "LinearMomentum";
|
|
152
|
+
/**
|
|
153
|
+
* Measurement type "Luminance".
|
|
154
|
+
*/
|
|
155
|
+
readonly Luminance: "Luminance";
|
|
156
|
+
/**
|
|
157
|
+
* Measurement type "LuminousFlux".
|
|
158
|
+
*/
|
|
159
|
+
readonly LuminousFlux: "LuminousFlux";
|
|
160
|
+
/**
|
|
161
|
+
* Measurement type "LuminousIntensity".
|
|
162
|
+
*/
|
|
163
|
+
readonly LuminousIntensity: "LuminousIntensity";
|
|
164
|
+
/**
|
|
165
|
+
* Measurement type "MagneticFlux".
|
|
166
|
+
*/
|
|
167
|
+
readonly MagneticFlux: "MagneticFlux";
|
|
168
|
+
/**
|
|
169
|
+
* Measurement type "MagneticFluxDensity".
|
|
170
|
+
*/
|
|
171
|
+
readonly MagneticFluxDensity: "MagneticFluxDensity";
|
|
172
|
+
/**
|
|
173
|
+
* Measurement type "MagneticVectorPotential".
|
|
174
|
+
*/
|
|
175
|
+
readonly MagneticVectorPotential: "MagneticVectorPotential";
|
|
176
|
+
/**
|
|
177
|
+
* Measurement type "Mass".
|
|
178
|
+
*/
|
|
179
|
+
readonly Mass: "Mass";
|
|
180
|
+
/**
|
|
181
|
+
* Measurement type "MassConcentration".
|
|
182
|
+
*/
|
|
183
|
+
readonly MassConcentration: "MassConcentration";
|
|
184
|
+
/**
|
|
185
|
+
* Measurement type "MassFlowRate".
|
|
186
|
+
*/
|
|
187
|
+
readonly MassFlowRate: "MassFlowRate";
|
|
188
|
+
/**
|
|
189
|
+
* Measurement type "MassPerAreaTime".
|
|
190
|
+
*/
|
|
191
|
+
readonly MassPerAreaTime: "MassPerAreaTime";
|
|
192
|
+
/**
|
|
193
|
+
* Measurement type "MemoryCapacity".
|
|
194
|
+
*/
|
|
195
|
+
readonly MemoryCapacity: "MemoryCapacity";
|
|
196
|
+
/**
|
|
197
|
+
* Measurement type "MolalityOfSolute".
|
|
198
|
+
*/
|
|
199
|
+
readonly MolalityOfSolute: "MolalityOfSolute";
|
|
200
|
+
/**
|
|
201
|
+
* Measurement type "MolarEnergy".
|
|
202
|
+
*/
|
|
203
|
+
readonly MolarEnergy: "MolarEnergy";
|
|
204
|
+
/**
|
|
205
|
+
* Measurement type "MolarMass".
|
|
206
|
+
*/
|
|
207
|
+
readonly MolarMass: "MolarMass";
|
|
208
|
+
/**
|
|
209
|
+
* Measurement type "MolarVolume".
|
|
210
|
+
*/
|
|
211
|
+
readonly MolarVolume: "MolarVolume";
|
|
212
|
+
/**
|
|
213
|
+
* Measurement type "Power".
|
|
214
|
+
*/
|
|
215
|
+
readonly Power: "Power";
|
|
216
|
+
/**
|
|
217
|
+
* Measurement type "Pressure".
|
|
218
|
+
*/
|
|
219
|
+
readonly Pressure: "Pressure";
|
|
220
|
+
/**
|
|
221
|
+
* Measurement type "RadiantFlux".
|
|
222
|
+
*/
|
|
223
|
+
readonly RadiantFlux: "RadiantFlux";
|
|
224
|
+
/**
|
|
225
|
+
* Measurement type "RadiantIntensity".
|
|
226
|
+
*/
|
|
227
|
+
readonly RadiantIntensity: "RadiantIntensity";
|
|
228
|
+
/**
|
|
229
|
+
* Measurement type "RelativeHumidity".
|
|
230
|
+
*/
|
|
231
|
+
readonly RelativeHumidity: "RelativeHumidity";
|
|
232
|
+
/**
|
|
233
|
+
* Measurement type "Resistance".
|
|
234
|
+
*/
|
|
235
|
+
readonly Resistance: "Resistance";
|
|
236
|
+
/**
|
|
237
|
+
* Measurement type "Resistivity".
|
|
238
|
+
*/
|
|
239
|
+
readonly Resistivity: "Resistivity";
|
|
240
|
+
/**
|
|
241
|
+
* Measurement type "SolidAngle".
|
|
242
|
+
*/
|
|
243
|
+
readonly SolidAngle: "SolidAngle";
|
|
244
|
+
/**
|
|
245
|
+
* Measurement type "SpecificVolume".
|
|
246
|
+
*/
|
|
247
|
+
readonly SpecificVolume: "SpecificVolume";
|
|
248
|
+
/**
|
|
249
|
+
* Measurement type "Speed".
|
|
250
|
+
*/
|
|
251
|
+
readonly Speed: "Speed";
|
|
252
|
+
/**
|
|
253
|
+
* Measurement type "SurfaceDensity".
|
|
254
|
+
*/
|
|
255
|
+
readonly SurfaceDensity: "SurfaceDensity";
|
|
256
|
+
/**
|
|
257
|
+
* Measurement type "SurfaceTension".
|
|
258
|
+
*/
|
|
259
|
+
readonly SurfaceTension: "SurfaceTension";
|
|
260
|
+
/**
|
|
261
|
+
* Measurement type "Temperature".
|
|
262
|
+
*/
|
|
263
|
+
readonly Temperature: "Temperature";
|
|
264
|
+
/**
|
|
265
|
+
* Measurement type "Time".
|
|
266
|
+
*/
|
|
267
|
+
readonly Time: "Time";
|
|
268
|
+
/**
|
|
269
|
+
* Measurement type "Torque".
|
|
270
|
+
*/
|
|
271
|
+
readonly Torque: "Torque";
|
|
272
|
+
/**
|
|
273
|
+
* Measurement type "Voltage".
|
|
274
|
+
*/
|
|
275
|
+
readonly Voltage: "Voltage";
|
|
276
|
+
/**
|
|
277
|
+
* Measurement type "Volume".
|
|
278
|
+
*/
|
|
279
|
+
readonly Volume: "Volume";
|
|
280
|
+
/**
|
|
281
|
+
* Measurement type "VolumeFlowRate".
|
|
282
|
+
*/
|
|
283
|
+
readonly VolumeFlowRate: "VolumeFlowRate";
|
|
284
|
+
/**
|
|
285
|
+
* Measurement type "VolumeFraction".
|
|
286
|
+
*/
|
|
287
|
+
readonly VolumeFraction: "VolumeFraction";
|
|
288
|
+
/**
|
|
289
|
+
* Measurement type "VolumetricFlux".
|
|
290
|
+
*/
|
|
291
|
+
readonly VolumetricFlux: "VolumetricFlux";
|
|
292
|
+
/**
|
|
293
|
+
* Measurement type "Wavenumber".
|
|
294
|
+
*/
|
|
295
|
+
readonly Wavenumber: "Wavenumber";
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* Supported EPCIS 2.0 `measurementType` values.
|
|
299
|
+
*
|
|
300
|
+
* These values come from the GS1 EPCIS JSON Schema enumeration.
|
|
301
|
+
* Use the union type `EpcisMeasurementTypes` when you want to restrict a field to known values.
|
|
302
|
+
*/
|
|
303
|
+
export type EpcisMeasurementTypes = (typeof EpcisMeasurementTypes)[keyof typeof EpcisMeasurementTypes];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supported EPCIS 2.0 `sensorAlertType` values for sensor-generated alarms or
|
|
3
|
+
* errors.
|
|
4
|
+
*/
|
|
5
|
+
export declare const EpcisSensorAlertTypes: {
|
|
6
|
+
/**
|
|
7
|
+
* Sensor alert indicating an alarm condition.
|
|
8
|
+
*/
|
|
9
|
+
readonly AlarmCondition: "ALARM_CONDITION";
|
|
10
|
+
/**
|
|
11
|
+
* Sensor alert indicating an error condition.
|
|
12
|
+
*/
|
|
13
|
+
readonly ErrorCondition: "ERROR_CONDITION";
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Supported EPCIS 2.0 `sensorAlertType` values for sensor-generated alarms or
|
|
17
|
+
* errors.
|
|
18
|
+
*/
|
|
19
|
+
export type EpcisSensorAlertTypes = (typeof EpcisSensorAlertTypes)[keyof typeof EpcisSensorAlertTypes];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supported EPCIS 2.0 `source-dest-type` values describing the role of a party
|
|
3
|
+
* or location in a transfer.
|
|
4
|
+
*/
|
|
5
|
+
export declare const EpcisSourceDestTypes: {
|
|
6
|
+
/**
|
|
7
|
+
* Identifier denotes the party who owns (or will own) the objects at the
|
|
8
|
+
* business transfer endpoint.
|
|
9
|
+
*/
|
|
10
|
+
readonly OwningParty: "owning_party";
|
|
11
|
+
/**
|
|
12
|
+
* Identifier denotes the party who has (or will have) physical possession of
|
|
13
|
+
* the objects at the endpoint.
|
|
14
|
+
*/
|
|
15
|
+
readonly PossessingParty: "possessing_party";
|
|
16
|
+
/**
|
|
17
|
+
* Identifier denotes the physical location of the originating or terminating
|
|
18
|
+
* endpoint of the business transfer.
|
|
19
|
+
*/
|
|
20
|
+
readonly Location: "location";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Supported EPCIS 2.0 `source-dest-type` values describing the role of a party
|
|
24
|
+
* or location in a transfer.
|
|
25
|
+
*/
|
|
26
|
+
export type EpcisSourceDestTypes = (typeof EpcisSourceDestTypes)[keyof typeof EpcisSourceDestTypes];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* JSON-LD type IRIs used across EPCIS 2.0 documents and events.
|
|
3
|
+
*/
|
|
4
|
+
export declare const EpcisTypes: {
|
|
5
|
+
/**
|
|
6
|
+
* EPCISDocument root type for capture payloads.
|
|
7
|
+
*/
|
|
8
|
+
readonly EPCISDocument: "EPCISDocument";
|
|
9
|
+
/**
|
|
10
|
+
* EPCISQueryDocument root type for query requests.
|
|
11
|
+
*/
|
|
12
|
+
readonly EPCISQueryDocument: "EPCISQueryDocument";
|
|
13
|
+
/**
|
|
14
|
+
* ObjectEvent type identifier.
|
|
15
|
+
*/
|
|
16
|
+
readonly ObjectEvent: "ObjectEvent";
|
|
17
|
+
/**
|
|
18
|
+
* AssociationEvent type identifier.
|
|
19
|
+
*/
|
|
20
|
+
readonly AssociationEvent: "AssociationEvent";
|
|
21
|
+
/**
|
|
22
|
+
* AggregationEvent type identifier.
|
|
23
|
+
*/
|
|
24
|
+
readonly AggregationEvent: "AggregationEvent";
|
|
25
|
+
/**
|
|
26
|
+
* TransactionEvent type identifier.
|
|
27
|
+
*/
|
|
28
|
+
readonly TransactionEvent: "TransactionEvent";
|
|
29
|
+
/**
|
|
30
|
+
* TransformationEvent type identifier.
|
|
31
|
+
*/
|
|
32
|
+
readonly TransformationEvent: "TransformationEvent";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* JSON-LD type IRIs used across EPCIS 2.0 documents and events.
|
|
36
|
+
*/
|
|
37
|
+
export type EpcisTypes = (typeof EpcisTypes)[keyof typeof EpcisTypes];
|
|
@@ -3,9 +3,15 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const GS1Contexts: {
|
|
5
5
|
/**
|
|
6
|
-
* The
|
|
6
|
+
* The canonical RDF namespace URI.
|
|
7
7
|
*/
|
|
8
|
-
readonly
|
|
8
|
+
readonly Namespace: "https://gs1.org/voc/";
|
|
9
|
+
/**
|
|
10
|
+
* The value to use in JSON-LD context.
|
|
11
|
+
* Note: Context differs from Namespace (no trailing slash) as per GS1 standard specification.
|
|
12
|
+
* The GS1 JSON-LD context URL format does not include a trailing slash.
|
|
13
|
+
*/
|
|
14
|
+
readonly Context: "https://gs1.org/voc";
|
|
9
15
|
};
|
|
10
16
|
/**
|
|
11
17
|
* The contexts of GS1.
|
|
@@ -9,9 +9,10 @@ export declare class Gs1Is {
|
|
|
9
9
|
*/
|
|
10
10
|
static isEpcHex(value: string): boolean;
|
|
11
11
|
/**
|
|
12
|
-
* Is the value a valid geo
|
|
12
|
+
* Is the value a valid geo URI.
|
|
13
13
|
* @param value The value to check.
|
|
14
|
-
* @returns True if the value matches
|
|
14
|
+
* @returns True if the value matches the geo URI scheme.
|
|
15
|
+
* @see https://en.wikipedia.org/wiki/Geo_URI_scheme
|
|
15
16
|
*/
|
|
16
17
|
static isGeoUri(value: string): boolean;
|
|
17
18
|
}
|