@twin.org/standards-gs1 0.0.3-next.10 → 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/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/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.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 +0 -2
- 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 +0 -2
- 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 +17 -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 +2 -2
- package/dist/es/models/gs1/gs1Contexts.js.map +1 -1
- 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/types/dataTypes/epcisDataTypes.d.ts +13 -0
- 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 +12 -5
- package/dist/types/models/epcis20/IEpcisDestination.d.ts +13 -5
- 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 +72 -12
- package/dist/types/models/epcis20/IEpcisPersistentDisposition.d.ts +17 -0
- package/dist/types/models/epcis20/IEpcisQuantity.d.ts +14 -5
- 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 +13 -8
- package/dist/types/models/epcis20/IEpcisSensorMetadata.d.ts +37 -10
- package/dist/types/models/epcis20/IEpcisSensorReport.d.ts +122 -8
- package/dist/types/models/epcis20/IEpcisSource.d.ts +12 -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 +16 -0
- package/dist/types/models/epcis20/IEpcisVocabularyElement.d.ts +21 -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 +15 -0
- package/dist/types/models/epcis20/epcisContexts.d.ts +17 -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 +2 -2
- package/docs/changelog.md +8 -0
- package/docs/reference/classes/EpcisDataTypes.md +37 -0
- package/docs/reference/index.md +40 -15
- 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 +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 +7 -4
- package/docs/reference/variables/EpcisBizStepTypes.md +99 -2
- 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/EpcisDispositionTypes.md +79 -2
- package/docs/reference/variables/EpcisErrorReasonTypes.md +21 -0
- package/docs/reference/variables/EpcisEventTypes.md +6 -6
- 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/package.json +1 -1
- 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 +0 -4
- 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
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Variable: EpcisErrorReasonTypes
|
|
2
|
+
|
|
3
|
+
> `const` **EpcisErrorReasonTypes**: `object`
|
|
4
|
+
|
|
5
|
+
Supported EPCIS 2.0 `error-reason` values from the GS1 EPCIS JSON Schema.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### DidNotOccur
|
|
10
|
+
|
|
11
|
+
> `readonly` **DidNotOccur**: `"did_not_occur"` = `"did_not_occur"`
|
|
12
|
+
|
|
13
|
+
Prior event is erroneous because it did not actually occur; no corrective
|
|
14
|
+
events exist.
|
|
15
|
+
|
|
16
|
+
### IncorrectData
|
|
17
|
+
|
|
18
|
+
> `readonly` **IncorrectData**: `"incorrect_data"` = `"incorrect_data"`
|
|
19
|
+
|
|
20
|
+
Prior event has incorrect data and may be corrected by subsequent linked
|
|
21
|
+
events.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> `const` **EpcisEventTypes**: `object`
|
|
4
4
|
|
|
5
|
-
EPCIS 2.0 event
|
|
5
|
+
EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
@@ -10,28 +10,28 @@ EPCIS 2.0 event types.
|
|
|
10
10
|
|
|
11
11
|
> `readonly` **ObjectEvent**: `"ObjectEvent"` = `"ObjectEvent"`
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Event that observes one or more instance- or class-level objects.
|
|
14
14
|
|
|
15
15
|
### AggregationEvent
|
|
16
16
|
|
|
17
17
|
> `readonly` **AggregationEvent**: `"AggregationEvent"` = `"AggregationEvent"`
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Event recording child objects aggregated under a parent identifier.
|
|
20
20
|
|
|
21
21
|
### AssociationEvent
|
|
22
22
|
|
|
23
23
|
> `readonly` **AssociationEvent**: `"AssociationEvent"` = `"AssociationEvent"`
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Event recording parent/child associations without implying containment.
|
|
26
26
|
|
|
27
27
|
### TransformationEvent
|
|
28
28
|
|
|
29
29
|
> `readonly` **TransformationEvent**: `"TransformationEvent"` = `"TransformationEvent"`
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Event recording how inputs are transformed into outputs.
|
|
32
32
|
|
|
33
33
|
### TransactionEvent
|
|
34
34
|
|
|
35
35
|
> `readonly` **TransactionEvent**: `"TransactionEvent"` = `"TransactionEvent"`
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
Event linking objects or quantities to business transactions.
|
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
# Variable: EpcisMeasurementTypes
|
|
2
|
+
|
|
3
|
+
> `const` **EpcisMeasurementTypes**: `object`
|
|
4
|
+
|
|
5
|
+
Supported EPCIS 2.0 `measurementType` values.
|
|
6
|
+
|
|
7
|
+
These values come from the GS1 EPCIS JSON Schema enumeration.
|
|
8
|
+
Use the union type `EpcisMeasurementTypes` when you want to restrict a field to known values.
|
|
9
|
+
|
|
10
|
+
## Type Declaration
|
|
11
|
+
|
|
12
|
+
### AbsoluteHumidity
|
|
13
|
+
|
|
14
|
+
> `readonly` **AbsoluteHumidity**: `"AbsoluteHumidity"` = `"AbsoluteHumidity"`
|
|
15
|
+
|
|
16
|
+
Measurement type "AbsoluteHumidity".
|
|
17
|
+
|
|
18
|
+
### AbsorbedDose
|
|
19
|
+
|
|
20
|
+
> `readonly` **AbsorbedDose**: `"AbsorbedDose"` = `"AbsorbedDose"`
|
|
21
|
+
|
|
22
|
+
Measurement type "AbsorbedDose".
|
|
23
|
+
|
|
24
|
+
### AbsorbedDoseRate
|
|
25
|
+
|
|
26
|
+
> `readonly` **AbsorbedDoseRate**: `"AbsorbedDoseRate"` = `"AbsorbedDoseRate"`
|
|
27
|
+
|
|
28
|
+
Measurement type "AbsorbedDoseRate".
|
|
29
|
+
|
|
30
|
+
### Acceleration
|
|
31
|
+
|
|
32
|
+
> `readonly` **Acceleration**: `"Acceleration"` = `"Acceleration"`
|
|
33
|
+
|
|
34
|
+
Measurement type "Acceleration".
|
|
35
|
+
|
|
36
|
+
### Radioactivity
|
|
37
|
+
|
|
38
|
+
> `readonly` **Radioactivity**: `"Radioactivity"` = `"Radioactivity"`
|
|
39
|
+
|
|
40
|
+
Measurement type "Radioactivity".
|
|
41
|
+
|
|
42
|
+
### Altitude
|
|
43
|
+
|
|
44
|
+
> `readonly` **Altitude**: `"Altitude"` = `"Altitude"`
|
|
45
|
+
|
|
46
|
+
Measurement type "Altitude".
|
|
47
|
+
|
|
48
|
+
### AmountOfSubstance
|
|
49
|
+
|
|
50
|
+
> `readonly` **AmountOfSubstance**: `"AmountOfSubstance"` = `"AmountOfSubstance"`
|
|
51
|
+
|
|
52
|
+
Measurement type "AmountOfSubstance".
|
|
53
|
+
|
|
54
|
+
### AmountOfSubstancePerUnitVolume
|
|
55
|
+
|
|
56
|
+
> `readonly` **AmountOfSubstancePerUnitVolume**: `"AmountOfSubstancePerUnitVolume"` = `"AmountOfSubstancePerUnitVolume"`
|
|
57
|
+
|
|
58
|
+
Measurement type "AmountOfSubstancePerUnitVolume".
|
|
59
|
+
|
|
60
|
+
### Angle
|
|
61
|
+
|
|
62
|
+
> `readonly` **Angle**: `"Angle"` = `"Angle"`
|
|
63
|
+
|
|
64
|
+
Measurement type "Angle".
|
|
65
|
+
|
|
66
|
+
### AngularAcceleration
|
|
67
|
+
|
|
68
|
+
> `readonly` **AngularAcceleration**: `"AngularAcceleration"` = `"AngularAcceleration"`
|
|
69
|
+
|
|
70
|
+
Measurement type "AngularAcceleration".
|
|
71
|
+
|
|
72
|
+
### AngularMomentum
|
|
73
|
+
|
|
74
|
+
> `readonly` **AngularMomentum**: `"AngularMomentum"` = `"AngularMomentum"`
|
|
75
|
+
|
|
76
|
+
Measurement type "AngularMomentum".
|
|
77
|
+
|
|
78
|
+
### AngularVelocity
|
|
79
|
+
|
|
80
|
+
> `readonly` **AngularVelocity**: `"AngularVelocity"` = `"AngularVelocity"`
|
|
81
|
+
|
|
82
|
+
Measurement type "AngularVelocity".
|
|
83
|
+
|
|
84
|
+
### Area
|
|
85
|
+
|
|
86
|
+
> `readonly` **Area**: `"Area"` = `"Area"`
|
|
87
|
+
|
|
88
|
+
Measurement type "Area".
|
|
89
|
+
|
|
90
|
+
### Capacitance
|
|
91
|
+
|
|
92
|
+
> `readonly` **Capacitance**: `"Capacitance"` = `"Capacitance"`
|
|
93
|
+
|
|
94
|
+
Measurement type "Capacitance".
|
|
95
|
+
|
|
96
|
+
### Conductance
|
|
97
|
+
|
|
98
|
+
> `readonly` **Conductance**: `"Conductance"` = `"Conductance"`
|
|
99
|
+
|
|
100
|
+
Measurement type "Conductance".
|
|
101
|
+
|
|
102
|
+
### Conductivity
|
|
103
|
+
|
|
104
|
+
> `readonly` **Conductivity**: `"Conductivity"` = `"Conductivity"`
|
|
105
|
+
|
|
106
|
+
Measurement type "Conductivity".
|
|
107
|
+
|
|
108
|
+
### Count
|
|
109
|
+
|
|
110
|
+
> `readonly` **Count**: `"Count"` = `"Count"`
|
|
111
|
+
|
|
112
|
+
Measurement type "Count".
|
|
113
|
+
|
|
114
|
+
### Density
|
|
115
|
+
|
|
116
|
+
> `readonly` **Density**: `"Density"` = `"Density"`
|
|
117
|
+
|
|
118
|
+
Measurement type "Density".
|
|
119
|
+
|
|
120
|
+
### Dimensionless
|
|
121
|
+
|
|
122
|
+
> `readonly` **Dimensionless**: `"Dimensionless"` = `"Dimensionless"`
|
|
123
|
+
|
|
124
|
+
Measurement type "Dimensionless".
|
|
125
|
+
|
|
126
|
+
### DoseEquivalent
|
|
127
|
+
|
|
128
|
+
> `readonly` **DoseEquivalent**: `"DoseEquivalent"` = `"DoseEquivalent"`
|
|
129
|
+
|
|
130
|
+
Measurement type "DoseEquivalent".
|
|
131
|
+
|
|
132
|
+
### DoseEquivalentRate
|
|
133
|
+
|
|
134
|
+
> `readonly` **DoseEquivalentRate**: `"DoseEquivalentRate"` = `"DoseEquivalentRate"`
|
|
135
|
+
|
|
136
|
+
Measurement type "DoseEquivalentRate".
|
|
137
|
+
|
|
138
|
+
### DynamicViscosity
|
|
139
|
+
|
|
140
|
+
> `readonly` **DynamicViscosity**: `"DynamicViscosity"` = `"DynamicViscosity"`
|
|
141
|
+
|
|
142
|
+
Measurement type "DynamicViscosity".
|
|
143
|
+
|
|
144
|
+
### ElectricCharge
|
|
145
|
+
|
|
146
|
+
> `readonly` **ElectricCharge**: `"ElectricCharge"` = `"ElectricCharge"`
|
|
147
|
+
|
|
148
|
+
Measurement type "ElectricCharge".
|
|
149
|
+
|
|
150
|
+
### ElectricCurrent
|
|
151
|
+
|
|
152
|
+
> `readonly` **ElectricCurrent**: `"ElectricCurrent"` = `"ElectricCurrent"`
|
|
153
|
+
|
|
154
|
+
Measurement type "ElectricCurrent".
|
|
155
|
+
|
|
156
|
+
### ElectricCurrentDensity
|
|
157
|
+
|
|
158
|
+
> `readonly` **ElectricCurrentDensity**: `"ElectricCurrentDensity"` = `"ElectricCurrentDensity"`
|
|
159
|
+
|
|
160
|
+
Measurement type "ElectricCurrentDensity".
|
|
161
|
+
|
|
162
|
+
### ElectricFieldStrength
|
|
163
|
+
|
|
164
|
+
> `readonly` **ElectricFieldStrength**: `"ElectricFieldStrength"` = `"ElectricFieldStrength"`
|
|
165
|
+
|
|
166
|
+
Measurement type "ElectricFieldStrength".
|
|
167
|
+
|
|
168
|
+
### Energy
|
|
169
|
+
|
|
170
|
+
> `readonly` **Energy**: `"Energy"` = `"Energy"`
|
|
171
|
+
|
|
172
|
+
Measurement type "Energy".
|
|
173
|
+
|
|
174
|
+
### Exposure
|
|
175
|
+
|
|
176
|
+
> `readonly` **Exposure**: `"Exposure"` = `"Exposure"`
|
|
177
|
+
|
|
178
|
+
Measurement type "Exposure".
|
|
179
|
+
|
|
180
|
+
### Force
|
|
181
|
+
|
|
182
|
+
> `readonly` **Force**: `"Force"` = `"Force"`
|
|
183
|
+
|
|
184
|
+
Measurement type "Force".
|
|
185
|
+
|
|
186
|
+
### Frequency
|
|
187
|
+
|
|
188
|
+
> `readonly` **Frequency**: `"Frequency"` = `"Frequency"`
|
|
189
|
+
|
|
190
|
+
Measurement type "Frequency".
|
|
191
|
+
|
|
192
|
+
### Illuminance
|
|
193
|
+
|
|
194
|
+
> `readonly` **Illuminance**: `"Illuminance"` = `"Illuminance"`
|
|
195
|
+
|
|
196
|
+
Measurement type "Illuminance".
|
|
197
|
+
|
|
198
|
+
### Inductance
|
|
199
|
+
|
|
200
|
+
> `readonly` **Inductance**: `"Inductance"` = `"Inductance"`
|
|
201
|
+
|
|
202
|
+
Measurement type "Inductance".
|
|
203
|
+
|
|
204
|
+
### Irradiance
|
|
205
|
+
|
|
206
|
+
> `readonly` **Irradiance**: `"Irradiance"` = `"Irradiance"`
|
|
207
|
+
|
|
208
|
+
Measurement type "Irradiance".
|
|
209
|
+
|
|
210
|
+
### KinematicViscosity
|
|
211
|
+
|
|
212
|
+
> `readonly` **KinematicViscosity**: `"KinematicViscosity"` = `"KinematicViscosity"`
|
|
213
|
+
|
|
214
|
+
Measurement type "KinematicViscosity".
|
|
215
|
+
|
|
216
|
+
### Length
|
|
217
|
+
|
|
218
|
+
> `readonly` **Length**: `"Length"` = `"Length"`
|
|
219
|
+
|
|
220
|
+
Measurement type "Length".
|
|
221
|
+
|
|
222
|
+
### LinearMomentum
|
|
223
|
+
|
|
224
|
+
> `readonly` **LinearMomentum**: `"LinearMomentum"` = `"LinearMomentum"`
|
|
225
|
+
|
|
226
|
+
Measurement type "LinearMomentum".
|
|
227
|
+
|
|
228
|
+
### Luminance
|
|
229
|
+
|
|
230
|
+
> `readonly` **Luminance**: `"Luminance"` = `"Luminance"`
|
|
231
|
+
|
|
232
|
+
Measurement type "Luminance".
|
|
233
|
+
|
|
234
|
+
### LuminousFlux
|
|
235
|
+
|
|
236
|
+
> `readonly` **LuminousFlux**: `"LuminousFlux"` = `"LuminousFlux"`
|
|
237
|
+
|
|
238
|
+
Measurement type "LuminousFlux".
|
|
239
|
+
|
|
240
|
+
### LuminousIntensity
|
|
241
|
+
|
|
242
|
+
> `readonly` **LuminousIntensity**: `"LuminousIntensity"` = `"LuminousIntensity"`
|
|
243
|
+
|
|
244
|
+
Measurement type "LuminousIntensity".
|
|
245
|
+
|
|
246
|
+
### MagneticFlux
|
|
247
|
+
|
|
248
|
+
> `readonly` **MagneticFlux**: `"MagneticFlux"` = `"MagneticFlux"`
|
|
249
|
+
|
|
250
|
+
Measurement type "MagneticFlux".
|
|
251
|
+
|
|
252
|
+
### MagneticFluxDensity
|
|
253
|
+
|
|
254
|
+
> `readonly` **MagneticFluxDensity**: `"MagneticFluxDensity"` = `"MagneticFluxDensity"`
|
|
255
|
+
|
|
256
|
+
Measurement type "MagneticFluxDensity".
|
|
257
|
+
|
|
258
|
+
### MagneticVectorPotential
|
|
259
|
+
|
|
260
|
+
> `readonly` **MagneticVectorPotential**: `"MagneticVectorPotential"` = `"MagneticVectorPotential"`
|
|
261
|
+
|
|
262
|
+
Measurement type "MagneticVectorPotential".
|
|
263
|
+
|
|
264
|
+
### Mass
|
|
265
|
+
|
|
266
|
+
> `readonly` **Mass**: `"Mass"` = `"Mass"`
|
|
267
|
+
|
|
268
|
+
Measurement type "Mass".
|
|
269
|
+
|
|
270
|
+
### MassConcentration
|
|
271
|
+
|
|
272
|
+
> `readonly` **MassConcentration**: `"MassConcentration"` = `"MassConcentration"`
|
|
273
|
+
|
|
274
|
+
Measurement type "MassConcentration".
|
|
275
|
+
|
|
276
|
+
### MassFlowRate
|
|
277
|
+
|
|
278
|
+
> `readonly` **MassFlowRate**: `"MassFlowRate"` = `"MassFlowRate"`
|
|
279
|
+
|
|
280
|
+
Measurement type "MassFlowRate".
|
|
281
|
+
|
|
282
|
+
### MassPerAreaTime
|
|
283
|
+
|
|
284
|
+
> `readonly` **MassPerAreaTime**: `"MassPerAreaTime"` = `"MassPerAreaTime"`
|
|
285
|
+
|
|
286
|
+
Measurement type "MassPerAreaTime".
|
|
287
|
+
|
|
288
|
+
### MemoryCapacity
|
|
289
|
+
|
|
290
|
+
> `readonly` **MemoryCapacity**: `"MemoryCapacity"` = `"MemoryCapacity"`
|
|
291
|
+
|
|
292
|
+
Measurement type "MemoryCapacity".
|
|
293
|
+
|
|
294
|
+
### MolalityOfSolute
|
|
295
|
+
|
|
296
|
+
> `readonly` **MolalityOfSolute**: `"MolalityOfSolute"` = `"MolalityOfSolute"`
|
|
297
|
+
|
|
298
|
+
Measurement type "MolalityOfSolute".
|
|
299
|
+
|
|
300
|
+
### MolarEnergy
|
|
301
|
+
|
|
302
|
+
> `readonly` **MolarEnergy**: `"MolarEnergy"` = `"MolarEnergy"`
|
|
303
|
+
|
|
304
|
+
Measurement type "MolarEnergy".
|
|
305
|
+
|
|
306
|
+
### MolarMass
|
|
307
|
+
|
|
308
|
+
> `readonly` **MolarMass**: `"MolarMass"` = `"MolarMass"`
|
|
309
|
+
|
|
310
|
+
Measurement type "MolarMass".
|
|
311
|
+
|
|
312
|
+
### MolarVolume
|
|
313
|
+
|
|
314
|
+
> `readonly` **MolarVolume**: `"MolarVolume"` = `"MolarVolume"`
|
|
315
|
+
|
|
316
|
+
Measurement type "MolarVolume".
|
|
317
|
+
|
|
318
|
+
### Power
|
|
319
|
+
|
|
320
|
+
> `readonly` **Power**: `"Power"` = `"Power"`
|
|
321
|
+
|
|
322
|
+
Measurement type "Power".
|
|
323
|
+
|
|
324
|
+
### Pressure
|
|
325
|
+
|
|
326
|
+
> `readonly` **Pressure**: `"Pressure"` = `"Pressure"`
|
|
327
|
+
|
|
328
|
+
Measurement type "Pressure".
|
|
329
|
+
|
|
330
|
+
### RadiantFlux
|
|
331
|
+
|
|
332
|
+
> `readonly` **RadiantFlux**: `"RadiantFlux"` = `"RadiantFlux"`
|
|
333
|
+
|
|
334
|
+
Measurement type "RadiantFlux".
|
|
335
|
+
|
|
336
|
+
### RadiantIntensity
|
|
337
|
+
|
|
338
|
+
> `readonly` **RadiantIntensity**: `"RadiantIntensity"` = `"RadiantIntensity"`
|
|
339
|
+
|
|
340
|
+
Measurement type "RadiantIntensity".
|
|
341
|
+
|
|
342
|
+
### RelativeHumidity
|
|
343
|
+
|
|
344
|
+
> `readonly` **RelativeHumidity**: `"RelativeHumidity"` = `"RelativeHumidity"`
|
|
345
|
+
|
|
346
|
+
Measurement type "RelativeHumidity".
|
|
347
|
+
|
|
348
|
+
### Resistance
|
|
349
|
+
|
|
350
|
+
> `readonly` **Resistance**: `"Resistance"` = `"Resistance"`
|
|
351
|
+
|
|
352
|
+
Measurement type "Resistance".
|
|
353
|
+
|
|
354
|
+
### Resistivity
|
|
355
|
+
|
|
356
|
+
> `readonly` **Resistivity**: `"Resistivity"` = `"Resistivity"`
|
|
357
|
+
|
|
358
|
+
Measurement type "Resistivity".
|
|
359
|
+
|
|
360
|
+
### SolidAngle
|
|
361
|
+
|
|
362
|
+
> `readonly` **SolidAngle**: `"SolidAngle"` = `"SolidAngle"`
|
|
363
|
+
|
|
364
|
+
Measurement type "SolidAngle".
|
|
365
|
+
|
|
366
|
+
### SpecificVolume
|
|
367
|
+
|
|
368
|
+
> `readonly` **SpecificVolume**: `"SpecificVolume"` = `"SpecificVolume"`
|
|
369
|
+
|
|
370
|
+
Measurement type "SpecificVolume".
|
|
371
|
+
|
|
372
|
+
### Speed
|
|
373
|
+
|
|
374
|
+
> `readonly` **Speed**: `"Speed"` = `"Speed"`
|
|
375
|
+
|
|
376
|
+
Measurement type "Speed".
|
|
377
|
+
|
|
378
|
+
### SurfaceDensity
|
|
379
|
+
|
|
380
|
+
> `readonly` **SurfaceDensity**: `"SurfaceDensity"` = `"SurfaceDensity"`
|
|
381
|
+
|
|
382
|
+
Measurement type "SurfaceDensity".
|
|
383
|
+
|
|
384
|
+
### SurfaceTension
|
|
385
|
+
|
|
386
|
+
> `readonly` **SurfaceTension**: `"SurfaceTension"` = `"SurfaceTension"`
|
|
387
|
+
|
|
388
|
+
Measurement type "SurfaceTension".
|
|
389
|
+
|
|
390
|
+
### Temperature
|
|
391
|
+
|
|
392
|
+
> `readonly` **Temperature**: `"Temperature"` = `"Temperature"`
|
|
393
|
+
|
|
394
|
+
Measurement type "Temperature".
|
|
395
|
+
|
|
396
|
+
### Time
|
|
397
|
+
|
|
398
|
+
> `readonly` **Time**: `"Time"` = `"Time"`
|
|
399
|
+
|
|
400
|
+
Measurement type "Time".
|
|
401
|
+
|
|
402
|
+
### Torque
|
|
403
|
+
|
|
404
|
+
> `readonly` **Torque**: `"Torque"` = `"Torque"`
|
|
405
|
+
|
|
406
|
+
Measurement type "Torque".
|
|
407
|
+
|
|
408
|
+
### Voltage
|
|
409
|
+
|
|
410
|
+
> `readonly` **Voltage**: `"Voltage"` = `"Voltage"`
|
|
411
|
+
|
|
412
|
+
Measurement type "Voltage".
|
|
413
|
+
|
|
414
|
+
### Volume
|
|
415
|
+
|
|
416
|
+
> `readonly` **Volume**: `"Volume"` = `"Volume"`
|
|
417
|
+
|
|
418
|
+
Measurement type "Volume".
|
|
419
|
+
|
|
420
|
+
### VolumeFlowRate
|
|
421
|
+
|
|
422
|
+
> `readonly` **VolumeFlowRate**: `"VolumeFlowRate"` = `"VolumeFlowRate"`
|
|
423
|
+
|
|
424
|
+
Measurement type "VolumeFlowRate".
|
|
425
|
+
|
|
426
|
+
### VolumeFraction
|
|
427
|
+
|
|
428
|
+
> `readonly` **VolumeFraction**: `"VolumeFraction"` = `"VolumeFraction"`
|
|
429
|
+
|
|
430
|
+
Measurement type "VolumeFraction".
|
|
431
|
+
|
|
432
|
+
### VolumetricFlux
|
|
433
|
+
|
|
434
|
+
> `readonly` **VolumetricFlux**: `"VolumetricFlux"` = `"VolumetricFlux"`
|
|
435
|
+
|
|
436
|
+
Measurement type "VolumetricFlux".
|
|
437
|
+
|
|
438
|
+
### Wavenumber
|
|
439
|
+
|
|
440
|
+
> `readonly` **Wavenumber**: `"Wavenumber"` = `"Wavenumber"`
|
|
441
|
+
|
|
442
|
+
Measurement type "Wavenumber".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Variable: EpcisSensorAlertTypes
|
|
2
|
+
|
|
3
|
+
> `const` **EpcisSensorAlertTypes**: `object`
|
|
4
|
+
|
|
5
|
+
Supported EPCIS 2.0 `sensorAlertType` values for sensor-generated alarms or
|
|
6
|
+
errors.
|
|
7
|
+
|
|
8
|
+
## Type Declaration
|
|
9
|
+
|
|
10
|
+
### AlarmCondition
|
|
11
|
+
|
|
12
|
+
> `readonly` **AlarmCondition**: `"ALARM_CONDITION"` = `"ALARM_CONDITION"`
|
|
13
|
+
|
|
14
|
+
Sensor alert indicating an alarm condition.
|
|
15
|
+
|
|
16
|
+
### ErrorCondition
|
|
17
|
+
|
|
18
|
+
> `readonly` **ErrorCondition**: `"ERROR_CONDITION"` = `"ERROR_CONDITION"`
|
|
19
|
+
|
|
20
|
+
Sensor alert indicating an error condition.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Variable: EpcisSourceDestTypes
|
|
2
|
+
|
|
3
|
+
> `const` **EpcisSourceDestTypes**: `object`
|
|
4
|
+
|
|
5
|
+
Supported EPCIS 2.0 `source-dest-type` values describing the role of a party
|
|
6
|
+
or location in a transfer.
|
|
7
|
+
|
|
8
|
+
## Type Declaration
|
|
9
|
+
|
|
10
|
+
### OwningParty
|
|
11
|
+
|
|
12
|
+
> `readonly` **OwningParty**: `"owning_party"` = `"owning_party"`
|
|
13
|
+
|
|
14
|
+
Identifier denotes the party who owns (or will own) the objects at the
|
|
15
|
+
business transfer endpoint.
|
|
16
|
+
|
|
17
|
+
### PossessingParty
|
|
18
|
+
|
|
19
|
+
> `readonly` **PossessingParty**: `"possessing_party"` = `"possessing_party"`
|
|
20
|
+
|
|
21
|
+
Identifier denotes the party who has (or will have) physical possession of
|
|
22
|
+
the objects at the endpoint.
|
|
23
|
+
|
|
24
|
+
### Location
|
|
25
|
+
|
|
26
|
+
> `readonly` **Location**: `"location"` = `"location"`
|
|
27
|
+
|
|
28
|
+
Identifier denotes the physical location of the originating or terminating
|
|
29
|
+
endpoint of the business transfer.
|
|
@@ -6,8 +6,8 @@ The contexts of GS1.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
###
|
|
9
|
+
### Namespace
|
|
10
10
|
|
|
11
|
-
> `readonly` **
|
|
11
|
+
> `readonly` **Namespace**: `"https://gs1.org/voc/"` = `"https://gs1.org/voc/"`
|
|
12
12
|
|
|
13
|
-
The
|
|
13
|
+
The namespace for the GS1 types.
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IEpcisBaseAggregationEvent.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisBaseAggregationEvent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEpcisEventDetails } from \"./IEpcisEventDetails.js\";\nimport type { IQuantity } from \"./IEpcisQuantity.js\";\n\n/**\n * Describes an AggregationEvent.\n */\nexport interface IBaseAggregationEvent extends IEpcisEventDetails {\n\t/**\n\t * Parent is only optional when action is OBSERVE.\n\t */\n\tparentID?: string;\n\n\t/**\n\t * The children EPC which can be empty when action is DELETE.\n\t */\n\tchildEPCs?: string[];\n\n\t/**\n\t * Quantity in case of class-level event visibility data.\n\t */\n\tchildQuantityList?: IQuantity[];\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IEpcisEventDetails.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisEventDetails.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { EpcisActionTypes } from \"./epcisActionTypes.js\";\nimport type { EpcisBizStepTypes } from \"./epcisBizStepTypes.js\";\nimport type { EpcisDispositionTypes } from \"./epcisDispositionTypes.js\";\nimport type { IBizTransaction } from \"./IEpcisBizTransaction.js\";\nimport type { IEpcisEvent } from \"./IEpcisEvent.js\";\nimport type { ISimpleLocation } from \"./IEpcisSimpleLocation.js\";\n\n/**\n * EPCIS Event Details.\n */\nexport interface IEpcisEventDetails extends IEpcisEvent {\n\t/**\n\t * Action: ADD, OBSERVE, DELETE.\n\t */\n\taction: EpcisActionTypes;\n\n\t/**\n\t * The location of reading point.\n\t */\n\treadPoint?: ISimpleLocation;\n\n\t/**\n\t * The biz location where the item ends up.\n\t */\n\tbizLocation?: ISimpleLocation;\n\n\t/**\n\t * The business step as per EPCIS.\n\t */\n\tbizStep?: EpcisBizStepTypes;\n\n\t/**\n\t * The disposition as per EPCIS.\n\t */\n\tdisposition?: EpcisDispositionTypes;\n\n\t/**\n\t * The list of related business transactions.\n\t */\n\tbizTransactionList?: IBizTransaction[];\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IEpcisSimpleLocation.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisSimpleLocation.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Location.\n */\nexport interface ISimpleLocation {\n\t/**\n\t * The id.\n\t */\n\tid: string;\n}\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Copyright 2024 IOTA Stiftung.
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
-
/**
|
|
4
|
-
* EPCIS Error types.
|
|
5
|
-
*/
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
-
export const EpcisErrorTypes = {
|
|
8
|
-
ValidationFailed: "epcisException:ValidationException",
|
|
9
|
-
NoSuchResource: "epcisException:NoSuchResourceException"
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=epcisErrorTypes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"epcisErrorTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisErrorTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,gBAAgB,EAAE,oCAAoC;IAEtD,cAAc,EAAE,wCAAwC;CAC/C,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Error types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisErrorTypes = {\n\tValidationFailed: \"epcisException:ValidationException\",\n\n\tNoSuchResource: \"epcisException:NoSuchResourceException\"\n} as const;\n\n/**\n * EPCIS Error types.\n */\nexport type EpcisErrorTypes = (typeof EpcisErrorTypes)[keyof typeof EpcisErrorTypes];\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"epcisEventUnionType.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisEventUnionType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAggregationEvent } from \"./IEpcisAggregationEvent.js\";\nimport type { IAssociationEvent } from \"./IEpcisAssociationEvent.js\";\nimport type { IObjectEvent } from \"./IEpcisObjectEvent.js\";\n\n/**\n * The type that subsumes an EPCIS Event.\n */\nexport type EpcisEventUnionType = IObjectEvent | IAssociationEvent | IAggregationEvent;\n"]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { IEpcisEventDetails } from "./IEpcisEventDetails.js";
|
|
2
|
-
import type { IQuantity } from "./IEpcisQuantity.js";
|
|
3
|
-
/**
|
|
4
|
-
* Describes an AggregationEvent.
|
|
5
|
-
*/
|
|
6
|
-
export interface IBaseAggregationEvent extends IEpcisEventDetails {
|
|
7
|
-
/**
|
|
8
|
-
* Parent is only optional when action is OBSERVE.
|
|
9
|
-
*/
|
|
10
|
-
parentID?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The children EPC which can be empty when action is DELETE.
|
|
13
|
-
*/
|
|
14
|
-
childEPCs?: string[];
|
|
15
|
-
/**
|
|
16
|
-
* Quantity in case of class-level event visibility data.
|
|
17
|
-
*/
|
|
18
|
-
childQuantityList?: IQuantity[];
|
|
19
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { EpcisActionTypes } from "./epcisActionTypes.js";
|
|
2
|
-
import type { EpcisBizStepTypes } from "./epcisBizStepTypes.js";
|
|
3
|
-
import type { EpcisDispositionTypes } from "./epcisDispositionTypes.js";
|
|
4
|
-
import type { IBizTransaction } from "./IEpcisBizTransaction.js";
|
|
5
|
-
import type { IEpcisEvent } from "./IEpcisEvent.js";
|
|
6
|
-
import type { ISimpleLocation } from "./IEpcisSimpleLocation.js";
|
|
7
|
-
/**
|
|
8
|
-
* EPCIS Event Details.
|
|
9
|
-
*/
|
|
10
|
-
export interface IEpcisEventDetails extends IEpcisEvent {
|
|
11
|
-
/**
|
|
12
|
-
* Action: ADD, OBSERVE, DELETE.
|
|
13
|
-
*/
|
|
14
|
-
action: EpcisActionTypes;
|
|
15
|
-
/**
|
|
16
|
-
* The location of reading point.
|
|
17
|
-
*/
|
|
18
|
-
readPoint?: ISimpleLocation;
|
|
19
|
-
/**
|
|
20
|
-
* The biz location where the item ends up.
|
|
21
|
-
*/
|
|
22
|
-
bizLocation?: ISimpleLocation;
|
|
23
|
-
/**
|
|
24
|
-
* The business step as per EPCIS.
|
|
25
|
-
*/
|
|
26
|
-
bizStep?: EpcisBizStepTypes;
|
|
27
|
-
/**
|
|
28
|
-
* The disposition as per EPCIS.
|
|
29
|
-
*/
|
|
30
|
-
disposition?: EpcisDispositionTypes;
|
|
31
|
-
/**
|
|
32
|
-
* The list of related business transactions.
|
|
33
|
-
*/
|
|
34
|
-
bizTransactionList?: IBizTransaction[];
|
|
35
|
-
}
|