@twin.org/standards-gs1 0.0.3-next.5 → 0.0.3-next.7

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.
Files changed (118) hide show
  1. package/dist/es/entities/gs1Location.js.map +1 -1
  2. package/dist/es/index.js +17 -17
  3. package/dist/es/index.js.map +1 -1
  4. package/dist/es/models/epcis20/IEpcisAggregationEvent.js +2 -0
  5. package/dist/es/models/epcis20/IEpcisAggregationEvent.js.map +1 -0
  6. package/dist/es/models/epcis20/IEpcisAssociationEvent.js +2 -0
  7. package/dist/es/models/epcis20/IEpcisAssociationEvent.js.map +1 -0
  8. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js +2 -0
  9. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js.map +1 -0
  10. package/dist/es/models/epcis20/{ISensorMetadata.js → IEpcisBizTransaction.js} +1 -1
  11. package/dist/es/models/epcis20/IEpcisBizTransaction.js.map +1 -0
  12. package/dist/es/models/epcis20/{IBizTransaction.js → IEpcisDestination.js} +1 -1
  13. package/dist/es/models/epcis20/IEpcisDestination.js.map +1 -0
  14. package/dist/es/models/epcis20/IEpcisEvent.js.map +1 -1
  15. package/dist/es/models/epcis20/IEpcisEventDetails.js.map +1 -1
  16. package/dist/es/models/epcis20/IEpcisObjectEvent.js +2 -0
  17. package/dist/es/models/epcis20/IEpcisObjectEvent.js.map +1 -0
  18. package/dist/es/models/epcis20/{ISensorReport.js → IEpcisQuantity.js} +1 -1
  19. package/dist/es/models/epcis20/IEpcisQuantity.js.map +1 -0
  20. package/dist/es/models/epcis20/IEpcisSensorElement.js +2 -0
  21. package/dist/es/models/epcis20/IEpcisSensorElement.js.map +1 -0
  22. package/dist/es/models/epcis20/IEpcisSensorMetadata.js +4 -0
  23. package/dist/es/models/epcis20/IEpcisSensorMetadata.js.map +1 -0
  24. package/dist/es/models/epcis20/{IQuantity.js → IEpcisSensorReport.js} +1 -1
  25. package/dist/es/models/epcis20/IEpcisSensorReport.js.map +1 -0
  26. package/dist/es/models/epcis20/IEpcisSimpleLocation.js +4 -0
  27. package/dist/es/models/epcis20/IEpcisSimpleLocation.js.map +1 -0
  28. package/dist/es/models/epcis20/{IDestination.js → IEpcisSource.js} +1 -1
  29. package/dist/es/models/epcis20/IEpcisSource.js.map +1 -0
  30. package/dist/es/models/epcis20/{actionTypes.js → epcisActionTypes.js} +2 -2
  31. package/dist/es/models/epcis20/epcisActionTypes.js.map +1 -0
  32. package/dist/es/models/epcis20/{bizStepTypes.js → epcisBizStepTypes.js} +2 -2
  33. package/dist/es/models/epcis20/epcisBizStepTypes.js.map +1 -0
  34. package/dist/es/models/epcis20/{dispositionTypes.js → epcisDispositionTypes.js} +2 -2
  35. package/dist/es/models/epcis20/epcisDispositionTypes.js.map +1 -0
  36. package/dist/es/models/epcis20/{eventTypes.js → epcisEventTypes.js} +2 -2
  37. package/dist/es/models/epcis20/epcisEventTypes.js.map +1 -0
  38. package/dist/es/models/epcis20/epcisEventUnionType.js.map +1 -1
  39. package/dist/es/models/gs1/{subSiteAttributes.js → gs1SubSiteAttributes.js} +2 -2
  40. package/dist/es/models/gs1/gs1SubSiteAttributes.js.map +1 -0
  41. package/dist/es/models/gs1/{subSiteTypes.js → gs1SubSiteTypes.js} +2 -2
  42. package/dist/es/models/gs1/gs1SubSiteTypes.js.map +1 -0
  43. package/dist/es/utils/gs1Validation.js +4 -4
  44. package/dist/es/utils/gs1Validation.js.map +1 -1
  45. package/dist/types/entities/gs1Location.d.ts +4 -4
  46. package/dist/types/index.d.ts +17 -17
  47. package/dist/types/models/epcis20/{IAggregationEvent.d.ts → IEpcisAggregationEvent.d.ts} +1 -1
  48. package/dist/types/models/epcis20/{IAssociationEvent.d.ts → IEpcisAssociationEvent.d.ts} +1 -1
  49. package/dist/types/models/epcis20/{IBaseAggregationEvent.d.ts → IEpcisBaseAggregationEvent.d.ts} +1 -1
  50. package/dist/types/models/epcis20/IEpcisEvent.d.ts +2 -2
  51. package/dist/types/models/epcis20/IEpcisEventDetails.d.ts +8 -8
  52. package/dist/types/models/epcis20/{IObjectEvent.d.ts → IEpcisObjectEvent.d.ts} +2 -2
  53. package/dist/types/models/epcis20/{ISensorElement.d.ts → IEpcisSensorElement.d.ts} +2 -2
  54. package/dist/types/models/epcis20/{actionTypes.d.ts → epcisActionTypes.d.ts} +2 -2
  55. package/dist/types/models/epcis20/{bizStepTypes.d.ts → epcisBizStepTypes.d.ts} +2 -2
  56. package/dist/types/models/epcis20/{dispositionTypes.d.ts → epcisDispositionTypes.d.ts} +2 -2
  57. package/dist/types/models/epcis20/{eventTypes.d.ts → epcisEventTypes.d.ts} +2 -2
  58. package/dist/types/models/epcis20/epcisEventUnionType.d.ts +3 -3
  59. package/dist/types/models/gs1/{subSiteAttributes.d.ts → gs1SubSiteAttributes.d.ts} +2 -2
  60. package/dist/types/models/gs1/{subSiteTypes.d.ts → gs1SubSiteTypes.d.ts} +2 -2
  61. package/docs/changelog.md +14 -0
  62. package/docs/reference/classes/Gs1Location.md +2 -2
  63. package/docs/reference/index.md +14 -14
  64. package/docs/reference/interfaces/IAggregationEvent.md +3 -3
  65. package/docs/reference/interfaces/IAssociationEvent.md +3 -3
  66. package/docs/reference/interfaces/IEpcisEventDetails.md +3 -3
  67. package/docs/reference/interfaces/IObjectEvent.md +3 -3
  68. package/docs/reference/type-aliases/EpcisActionTypes.md +5 -0
  69. package/docs/reference/type-aliases/EpcisBizStepTypes.md +5 -0
  70. package/docs/reference/type-aliases/EpcisDispositionTypes.md +5 -0
  71. package/docs/reference/type-aliases/EpcisEventTypes.md +5 -0
  72. package/docs/reference/type-aliases/Gs1SubSiteAttributes.md +7 -0
  73. package/docs/reference/type-aliases/Gs1SubSiteTypes.md +7 -0
  74. package/docs/reference/variables/{ActionTypes.md → EpcisActionTypes.md} +2 -2
  75. package/docs/reference/variables/{BizStepTypes.md → EpcisBizStepTypes.md} +2 -2
  76. package/docs/reference/variables/{DispositionTypes.md → EpcisDispositionTypes.md} +2 -2
  77. package/docs/reference/variables/{EventTypes.md → EpcisEventTypes.md} +2 -2
  78. package/docs/reference/variables/{SubSiteAttributes.md → Gs1SubSiteAttributes.md} +2 -2
  79. package/docs/reference/variables/{SubSiteTypes.md → Gs1SubSiteTypes.md} +2 -2
  80. package/package.json +1 -1
  81. package/dist/es/models/epcis20/IAggregationEvent.js +0 -2
  82. package/dist/es/models/epcis20/IAggregationEvent.js.map +0 -1
  83. package/dist/es/models/epcis20/IAssociationEvent.js +0 -2
  84. package/dist/es/models/epcis20/IAssociationEvent.js.map +0 -1
  85. package/dist/es/models/epcis20/IBaseAggregationEvent.js +0 -2
  86. package/dist/es/models/epcis20/IBaseAggregationEvent.js.map +0 -1
  87. package/dist/es/models/epcis20/IBizTransaction.js.map +0 -1
  88. package/dist/es/models/epcis20/IDestination.js.map +0 -1
  89. package/dist/es/models/epcis20/IObjectEvent.js +0 -2
  90. package/dist/es/models/epcis20/IObjectEvent.js.map +0 -1
  91. package/dist/es/models/epcis20/IQuantity.js.map +0 -1
  92. package/dist/es/models/epcis20/ISensorElement.js +0 -2
  93. package/dist/es/models/epcis20/ISensorElement.js.map +0 -1
  94. package/dist/es/models/epcis20/ISensorMetadata.js.map +0 -1
  95. package/dist/es/models/epcis20/ISensorReport.js.map +0 -1
  96. package/dist/es/models/epcis20/ISimpleLocation.js +0 -4
  97. package/dist/es/models/epcis20/ISimpleLocation.js.map +0 -1
  98. package/dist/es/models/epcis20/ISource.js +0 -4
  99. package/dist/es/models/epcis20/ISource.js.map +0 -1
  100. package/dist/es/models/epcis20/actionTypes.js.map +0 -1
  101. package/dist/es/models/epcis20/bizStepTypes.js.map +0 -1
  102. package/dist/es/models/epcis20/dispositionTypes.js.map +0 -1
  103. package/dist/es/models/epcis20/eventTypes.js.map +0 -1
  104. package/dist/es/models/gs1/subSiteAttributes.js.map +0 -1
  105. package/dist/es/models/gs1/subSiteTypes.js.map +0 -1
  106. package/docs/reference/type-aliases/ActionTypes.md +0 -5
  107. package/docs/reference/type-aliases/BizStepTypes.md +0 -5
  108. package/docs/reference/type-aliases/DispositionTypes.md +0 -5
  109. package/docs/reference/type-aliases/EventTypes.md +0 -5
  110. package/docs/reference/type-aliases/SubSiteAttributes.md +0 -7
  111. package/docs/reference/type-aliases/SubSiteTypes.md +0 -7
  112. /package/dist/types/models/epcis20/{IBizTransaction.d.ts → IEpcisBizTransaction.d.ts} +0 -0
  113. /package/dist/types/models/epcis20/{IDestination.d.ts → IEpcisDestination.d.ts} +0 -0
  114. /package/dist/types/models/epcis20/{IQuantity.d.ts → IEpcisQuantity.d.ts} +0 -0
  115. /package/dist/types/models/epcis20/{ISensorMetadata.d.ts → IEpcisSensorMetadata.d.ts} +0 -0
  116. /package/dist/types/models/epcis20/{ISensorReport.d.ts → IEpcisSensorReport.d.ts} +0 -0
  117. /package/dist/types/models/epcis20/{ISimpleLocation.d.ts → IEpcisSimpleLocation.d.ts} +0 -0
  118. /package/dist/types/models/epcis20/{ISource.d.ts → IEpcisSource.d.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"subSiteTypes.js","sourceRoot":"","sources":["../../../../src/models/gs1/subSiteTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;GAIG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B;;OAEG;IACH,QAAQ,EAAE,KAAK;IAEf;;OAEG;IACH,WAAW,EAAE,KAAK;IAElB;;OAEG;IACH,UAAU,EAAE,KAAK;IAEjB;;OAEG;IACH,WAAW,EAAE,KAAK;IAElB;;OAEG;IACH,cAAc,EAAE,KAAK;IAErB;;OAEG;IACH,aAAa,EAAE,KAAK;IAEpB;;OAEG;IACH,YAAY,EAAE,KAAK;IAEnB;;OAEG;IACH,wBAAwB,EAAE,KAAK;IAE/B;;OAEG;IACH,kBAAkB,EAAE,KAAK;IAEzB;;OAEG;IACH,IAAI,EAAE,KAAK;IAEX;;OAEG;IACH,aAAa,EAAE,KAAK;IAEpB;;OAEG;IACH,aAAa,EAAE,KAAK;IAEpB;;OAEG;IACH,aAAa,EAAE,KAAK;IAEpB;;OAEG;IACH,WAAW,EAAE,KAAK;IAElB;;OAEG;IACH,YAAY,EAAE,KAAK;IAEnB;;OAEG;IACH,SAAS,EAAE,KAAK;CACP,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Sub Site Identifier Types.\n * Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .\n * Section 10.3.1 .\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const SubSiteTypes = {\n\t/**\n\t * The Backroom.\n\t */\n\tBackroom: \"201\",\n\n\t/**\n\t * The Storage Area.\n\t */\n\tStorageArea: \"202\",\n\n\t/**\n\t * The Sales Floor.\n\t */\n\tSalesFloor: \"203\",\n\n\t/**\n\t * The Returns Area.\n\t */\n\tReturnsArea: \"207\",\n\n\t/**\n\t * The Production Area.\n\t */\n\tProductionArea: \"208\",\n\n\t/**\n\t * The Receiving Area.\n\t */\n\tReceivingArea: \"209\",\n\n\t/**\n\t * The Shipping Area.\n\t */\n\tShippingArea: \"210\",\n\n\t/**\n\t * The Sales Floor Transition Area.\n\t */\n\tSalesFloorTransitionArea: \"211\",\n\n\t/**\n\t * The Customer Pick-Up Area.\n\t */\n\tCustomerPickupArea: \"212\",\n\n\t/**\n\t * The Yard.\n\t */\n\tYard: \"213\",\n\n\t/**\n\t * The Container Deck.\n\t */\n\tContainerDeck: \"214\",\n\n\t/**\n\t * The Cargo Terminal.\n\t */\n\tCargoTerminal: \"215\",\n\n\t/**\n\t * The Packaging Area.\n\t */\n\tPackagingArea: \"251\",\n\n\t/**\n\t * The Picking Area.\n\t */\n\tPickingArea: \"252\",\n\n\t/**\n\t * The Pharmacy Area.\n\t */\n\tPharmacyArea: \"253\",\n\n\t/**\n\t * Undefined.\n\t */\n\tUndefined: \"299\"\n} as const;\n\n/**\n * Sub Site Identifier Types.\n * Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .\n * Section 10.3.1 .\n */\nexport type SubSiteTypes = (typeof SubSiteTypes)[keyof typeof SubSiteTypes];\n"]}
@@ -1,5 +0,0 @@
1
- # Type Alias: ActionTypes
2
-
3
- > **ActionTypes** = *typeof* [`ActionTypes`](../variables/ActionTypes.md)\[keyof *typeof* [`ActionTypes`](../variables/ActionTypes.md)\]
4
-
5
- EPCIS 2.0 action types.
@@ -1,5 +0,0 @@
1
- # Type Alias: BizStepTypes
2
-
3
- > **BizStepTypes** = *typeof* [`BizStepTypes`](../variables/BizStepTypes.md)\[keyof *typeof* [`BizStepTypes`](../variables/BizStepTypes.md)\]
4
-
5
- EPCIS 2.0 action types.
@@ -1,5 +0,0 @@
1
- # Type Alias: DispositionTypes
2
-
3
- > **DispositionTypes** = *typeof* [`DispositionTypes`](../variables/DispositionTypes.md)\[keyof *typeof* [`DispositionTypes`](../variables/DispositionTypes.md)\]
4
-
5
- EPCIS 2.0 disposition types.
@@ -1,5 +0,0 @@
1
- # Type Alias: EventTypes
2
-
3
- > **EventTypes** = *typeof* [`EventTypes`](../variables/EventTypes.md)\[keyof *typeof* [`EventTypes`](../variables/EventTypes.md)\]
4
-
5
- EPCIS 2.0 event types.
@@ -1,7 +0,0 @@
1
- # Type Alias: SubSiteAttributes
2
-
3
- > **SubSiteAttributes** = *typeof* [`SubSiteAttributes`](../variables/SubSiteAttributes.md)\[keyof *typeof* [`SubSiteAttributes`](../variables/SubSiteAttributes.md)\]
4
-
5
- Sub Site Attributes.
6
- Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .
7
- Section 10.3.2 .
@@ -1,7 +0,0 @@
1
- # Type Alias: SubSiteTypes
2
-
3
- > **SubSiteTypes** = *typeof* [`SubSiteTypes`](../variables/SubSiteTypes.md)\[keyof *typeof* [`SubSiteTypes`](../variables/SubSiteTypes.md)\]
4
-
5
- Sub Site Identifier Types.
6
- Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .
7
- Section 10.3.1 .