@twin.org/standards-gs1 0.0.2-next.9 → 0.0.3-next.10

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 (131) hide show
  1. package/dist/es/dataTypes/gs1DataTypes.js +24 -0
  2. package/dist/es/dataTypes/gs1DataTypes.js.map +1 -0
  3. package/dist/es/entities/gs1Location.js +193 -0
  4. package/dist/es/entities/gs1Location.js.map +1 -0
  5. package/dist/es/identifiers/gs1Identifiers.js +32 -0
  6. package/dist/es/identifiers/gs1Identifiers.js.map +1 -0
  7. package/dist/es/index.js +38 -0
  8. package/dist/es/index.js.map +1 -0
  9. package/dist/es/models/epc/IEPCClassUri.js +4 -0
  10. package/dist/es/models/epc/IEPCClassUri.js.map +1 -0
  11. package/dist/es/models/epcis20/IEpcisAggregationEvent.js +2 -0
  12. package/dist/es/models/epcis20/IEpcisAggregationEvent.js.map +1 -0
  13. package/dist/es/models/epcis20/IEpcisAssociationEvent.js +2 -0
  14. package/dist/es/models/epcis20/IEpcisAssociationEvent.js.map +1 -0
  15. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js +2 -0
  16. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js.map +1 -0
  17. package/dist/es/models/epcis20/IEpcisBizTransaction.js +4 -0
  18. package/dist/es/models/epcis20/IEpcisBizTransaction.js.map +1 -0
  19. package/dist/es/models/epcis20/IEpcisDestination.js +4 -0
  20. package/dist/es/models/epcis20/IEpcisDestination.js.map +1 -0
  21. package/dist/es/models/epcis20/IEpcisDocument.js +2 -0
  22. package/dist/es/models/epcis20/IEpcisDocument.js.map +1 -0
  23. package/dist/es/models/epcis20/IEpcisEvent.js +2 -0
  24. package/dist/es/models/epcis20/IEpcisEvent.js.map +1 -0
  25. package/dist/es/models/epcis20/IEpcisEventDetails.js +2 -0
  26. package/dist/es/models/epcis20/IEpcisEventDetails.js.map +1 -0
  27. package/dist/es/models/epcis20/IEpcisObjectEvent.js +2 -0
  28. package/dist/es/models/epcis20/IEpcisObjectEvent.js.map +1 -0
  29. package/dist/es/models/epcis20/IEpcisQuantity.js +4 -0
  30. package/dist/es/models/epcis20/IEpcisQuantity.js.map +1 -0
  31. package/dist/es/models/epcis20/IEpcisQuery.js +4 -0
  32. package/dist/es/models/epcis20/IEpcisQuery.js.map +1 -0
  33. package/dist/es/models/epcis20/IEpcisQueryDocument.js +2 -0
  34. package/dist/es/models/epcis20/IEpcisQueryDocument.js.map +1 -0
  35. package/dist/es/models/epcis20/IEpcisSensorElement.js +2 -0
  36. package/dist/es/models/epcis20/IEpcisSensorElement.js.map +1 -0
  37. package/dist/es/models/epcis20/IEpcisSensorMetadata.js +4 -0
  38. package/dist/es/models/epcis20/IEpcisSensorMetadata.js.map +1 -0
  39. package/dist/es/models/epcis20/IEpcisSensorReport.js +4 -0
  40. package/dist/es/models/epcis20/IEpcisSensorReport.js.map +1 -0
  41. package/dist/es/models/epcis20/IEpcisSimpleLocation.js +4 -0
  42. package/dist/es/models/epcis20/IEpcisSimpleLocation.js.map +1 -0
  43. package/dist/es/models/epcis20/IEpcisSource.js +4 -0
  44. package/dist/es/models/epcis20/IEpcisSource.js.map +1 -0
  45. package/dist/es/models/epcis20/epcisActionTypes.js +21 -0
  46. package/dist/es/models/epcis20/epcisActionTypes.js.map +1 -0
  47. package/dist/es/models/epcis20/epcisBizStepTypes.js +52 -0
  48. package/dist/es/models/epcis20/epcisBizStepTypes.js.map +1 -0
  49. package/dist/es/models/epcis20/epcisDispositionTypes.js +45 -0
  50. package/dist/es/models/epcis20/epcisDispositionTypes.js.map +1 -0
  51. package/dist/es/models/epcis20/epcisErrorTypes.js +11 -0
  52. package/dist/es/models/epcis20/epcisErrorTypes.js.map +1 -0
  53. package/dist/es/models/epcis20/epcisEventTypes.js +29 -0
  54. package/dist/es/models/epcis20/epcisEventTypes.js.map +1 -0
  55. package/dist/es/models/epcis20/epcisEventUnionType.js +2 -0
  56. package/dist/es/models/epcis20/epcisEventUnionType.js.map +1 -0
  57. package/dist/es/models/gs1/gs1Contexts.js +13 -0
  58. package/dist/es/models/gs1/gs1Contexts.js.map +1 -0
  59. package/dist/es/models/gs1/gs1IdTypes.js +90 -0
  60. package/dist/es/models/gs1/gs1IdTypes.js.map +1 -0
  61. package/dist/es/models/gs1/gs1IdentifierTypes.js +26 -0
  62. package/dist/es/models/gs1/gs1IdentifierTypes.js.map +1 -0
  63. package/dist/es/models/gs1/gs1SubSiteAttributes.js +143 -0
  64. package/dist/es/models/gs1/gs1SubSiteAttributes.js.map +1 -0
  65. package/dist/es/models/gs1/gs1SubSiteTypes.js +75 -0
  66. package/dist/es/models/gs1/gs1SubSiteTypes.js.map +1 -0
  67. package/dist/es/models/gs1/gs1Types.js +13 -0
  68. package/dist/es/models/gs1/gs1Types.js.map +1 -0
  69. package/dist/es/utils/gs1IdentifiersValidation.js +144 -0
  70. package/dist/es/utils/gs1IdentifiersValidation.js.map +1 -0
  71. package/dist/es/utils/gs1Is.js +24 -0
  72. package/dist/es/utils/gs1Is.js.map +1 -0
  73. package/dist/es/utils/gs1Validation.js +51 -0
  74. package/dist/es/utils/gs1Validation.js.map +1 -0
  75. package/dist/types/entities/gs1Location.d.ts +4 -4
  76. package/dist/types/index.d.ts +35 -35
  77. package/dist/types/models/epcis20/{IAggregationEvent.d.ts → IEpcisAggregationEvent.d.ts} +1 -1
  78. package/dist/types/models/epcis20/{IAssociationEvent.d.ts → IEpcisAssociationEvent.d.ts} +1 -1
  79. package/dist/types/models/epcis20/{IBaseAggregationEvent.d.ts → IEpcisBaseAggregationEvent.d.ts} +2 -2
  80. package/dist/types/models/epcis20/IEpcisDocument.d.ts +1 -1
  81. package/dist/types/models/epcis20/IEpcisEvent.d.ts +2 -2
  82. package/dist/types/models/epcis20/IEpcisEventDetails.d.ts +9 -9
  83. package/dist/types/models/epcis20/{IObjectEvent.d.ts → IEpcisObjectEvent.d.ts} +3 -3
  84. package/dist/types/models/epcis20/IEpcisQueryDocument.d.ts +1 -1
  85. package/dist/types/models/epcis20/{ISensorElement.d.ts → IEpcisSensorElement.d.ts} +2 -2
  86. package/dist/types/models/epcis20/{actionTypes.d.ts → epcisActionTypes.d.ts} +2 -2
  87. package/dist/types/models/epcis20/{bizStepTypes.d.ts → epcisBizStepTypes.d.ts} +2 -2
  88. package/dist/types/models/epcis20/{dispositionTypes.d.ts → epcisDispositionTypes.d.ts} +2 -2
  89. package/dist/types/models/epcis20/{eventTypes.d.ts → epcisEventTypes.d.ts} +2 -2
  90. package/dist/types/models/epcis20/epcisEventUnionType.d.ts +3 -3
  91. package/dist/types/models/gs1/{subSiteAttributes.d.ts → gs1SubSiteAttributes.d.ts} +2 -2
  92. package/dist/types/models/gs1/{subSiteTypes.d.ts → gs1SubSiteTypes.d.ts} +2 -2
  93. package/dist/types/utils/gs1IdentifiersValidation.d.ts +1 -1
  94. package/dist/types/utils/gs1Validation.d.ts +1 -1
  95. package/docs/changelog.md +125 -0
  96. package/docs/reference/classes/Gs1IdentifiersValidation.md +6 -6
  97. package/docs/reference/classes/Gs1Location.md +2 -2
  98. package/docs/reference/index.md +14 -14
  99. package/docs/reference/interfaces/IAggregationEvent.md +3 -3
  100. package/docs/reference/interfaces/IAssociationEvent.md +3 -3
  101. package/docs/reference/interfaces/IEpcisEventDetails.md +3 -3
  102. package/docs/reference/interfaces/IObjectEvent.md +3 -3
  103. package/docs/reference/type-aliases/EpcisActionTypes.md +5 -0
  104. package/docs/reference/type-aliases/EpcisBizStepTypes.md +5 -0
  105. package/docs/reference/type-aliases/EpcisDispositionTypes.md +5 -0
  106. package/docs/reference/type-aliases/EpcisEventTypes.md +5 -0
  107. package/docs/reference/type-aliases/Gs1SubSiteAttributes.md +7 -0
  108. package/docs/reference/type-aliases/Gs1SubSiteTypes.md +7 -0
  109. package/docs/reference/variables/{ActionTypes.md → EpcisActionTypes.md} +2 -2
  110. package/docs/reference/variables/{BizStepTypes.md → EpcisBizStepTypes.md} +2 -2
  111. package/docs/reference/variables/{DispositionTypes.md → EpcisDispositionTypes.md} +2 -2
  112. package/docs/reference/variables/{EventTypes.md → EpcisEventTypes.md} +2 -2
  113. package/docs/reference/variables/{SubSiteAttributes.md → Gs1SubSiteAttributes.md} +2 -2
  114. package/docs/reference/variables/{SubSiteTypes.md → Gs1SubSiteTypes.md} +2 -2
  115. package/locales/en.json +0 -1
  116. package/package.json +20 -8
  117. package/dist/cjs/index.cjs +0 -991
  118. package/dist/esm/index.mjs +0 -974
  119. package/docs/reference/type-aliases/ActionTypes.md +0 -5
  120. package/docs/reference/type-aliases/BizStepTypes.md +0 -5
  121. package/docs/reference/type-aliases/DispositionTypes.md +0 -5
  122. package/docs/reference/type-aliases/EventTypes.md +0 -5
  123. package/docs/reference/type-aliases/SubSiteAttributes.md +0 -7
  124. package/docs/reference/type-aliases/SubSiteTypes.md +0 -7
  125. /package/dist/types/models/epcis20/{IBizTransaction.d.ts → IEpcisBizTransaction.d.ts} +0 -0
  126. /package/dist/types/models/epcis20/{IDestination.d.ts → IEpcisDestination.d.ts} +0 -0
  127. /package/dist/types/models/epcis20/{IQuantity.d.ts → IEpcisQuantity.d.ts} +0 -0
  128. /package/dist/types/models/epcis20/{ISensorMetadata.d.ts → IEpcisSensorMetadata.d.ts} +0 -0
  129. /package/dist/types/models/epcis20/{ISensorReport.d.ts → IEpcisSensorReport.d.ts} +0 -0
  130. /package/dist/types/models/epcis20/{ISimpleLocation.d.ts → IEpcisSimpleLocation.d.ts} +0 -0
  131. /package/dist/types/models/epcis20/{ISource.d.ts → IEpcisSource.d.ts} +0 -0
@@ -0,0 +1,24 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ import { DataTypeHandlerFactory } from "@twin.org/data-core";
4
+ import { GS1Contexts } from "../models/gs1/gs1Contexts.js";
5
+ import { Gs1Types } from "../models/gs1/gs1Types.js";
6
+ import { Gs1Validation } from "../utils/gs1Validation.js";
7
+ /**
8
+ * Handle all the data types for GS1.
9
+ * Vocabulary https://www.gs1.org/voc .
10
+ */
11
+ export class Gs1DataTypes {
12
+ /**
13
+ * Register all the data types.
14
+ */
15
+ static registerTypes() {
16
+ DataTypeHandlerFactory.register(`${GS1Contexts.ContextRoot}${Gs1Types.LocationMasterData}`, () => ({
17
+ context: GS1Contexts.ContextRoot,
18
+ type: Gs1Types.LocationMasterData,
19
+ defaultValue: {},
20
+ validate: async (propertyName, value, failures, container) => Gs1Validation.locationMasterData(propertyName, value, failures, container)
21
+ }));
22
+ }
23
+ }
24
+ //# sourceMappingURL=gs1DataTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gs1DataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/gs1DataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D;;;GAGG;AACH,MAAM,OAAO,YAAY;IACxB;;OAEG;IACI,MAAM,CAAC,aAAa;QAC1B,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,WAAW,CAAC,WAAW,GAAG,QAAQ,CAAC,kBAAkB,EAAE,EAC1D,GAAG,EAAE,CAAC,CAAC;YACN,OAAO,EAAE,WAAW,CAAC,WAAW;YAChC,IAAI,EAAE,QAAQ,CAAC,kBAAkB;YACjC,YAAY,EAAE,EAAE;YAChB,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,CAC5D,aAAa,CAAC,kBAAkB,CAAC,YAAY,EAAE,KAAoB,EAAE,QAAQ,EAAE,SAAS,CAAC;SAC1F,CAAC,CACF,CAAC;IACH,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { DataTypeHandlerFactory } from \"@twin.org/data-core\";\nimport type { Gs1Location } from \"../entities/gs1Location.js\";\nimport { GS1Contexts } from \"../models/gs1/gs1Contexts.js\";\nimport { Gs1Types } from \"../models/gs1/gs1Types.js\";\nimport { Gs1Validation } from \"../utils/gs1Validation.js\";\n\n/**\n * Handle all the data types for GS1.\n * Vocabulary https://www.gs1.org/voc .\n */\nexport class Gs1DataTypes {\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${GS1Contexts.ContextRoot}${Gs1Types.LocationMasterData}`,\n\t\t\t() => ({\n\t\t\t\tcontext: GS1Contexts.ContextRoot,\n\t\t\t\ttype: Gs1Types.LocationMasterData,\n\t\t\t\tdefaultValue: {},\n\t\t\t\tvalidate: async (propertyName, value, failures, container) =>\n\t\t\t\t\tGs1Validation.locationMasterData(propertyName, value as Gs1Location, failures, container)\n\t\t\t})\n\t\t);\n\t}\n}\n"]}
@@ -0,0 +1,193 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ import { entity, property } from "@twin.org/entity";
4
+ /**
5
+ * Interface describing a GS1 Location master data.
6
+ * Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .
7
+ * Section 10.2 .
8
+ */
9
+ let Gs1Location = class Gs1Location {
10
+ /**
11
+ * The GS1 sgln identifier.
12
+ */
13
+ id;
14
+ /**
15
+ * Identifies the site in which the location is contained.
16
+ */
17
+ site;
18
+ /**
19
+ * Sub site type describes the primary business function of the sub site location.
20
+ */
21
+ sst;
22
+ /**
23
+ * Sub site attribute further qualifies the business function of the sub site location.
24
+ */
25
+ ssa;
26
+ /**
27
+ * Sub site detail provides additional proprietary information.
28
+ */
29
+ ssd;
30
+ /**
31
+ * The name of the location.
32
+ */
33
+ name;
34
+ /**
35
+ * The street address line 1.
36
+ */
37
+ streetAddressOne;
38
+ /**
39
+ * The street address line 2.
40
+ */
41
+ streetAddressTwo;
42
+ /**
43
+ * The street address line 3.
44
+ */
45
+ streetAddressThree;
46
+ /**
47
+ * City.
48
+ */
49
+ city;
50
+ /**
51
+ * State.
52
+ */
53
+ state;
54
+ /**
55
+ * Postal Code.
56
+ */
57
+ postalCode;
58
+ /**
59
+ * Country Code The ISO 3166-1 alpha-2 code specifying the country for the address.
60
+ */
61
+ countryCode;
62
+ /**
63
+ * The latitude of the location in degrees.
64
+ */
65
+ latitude;
66
+ /**
67
+ * The longitude of the location in degrees.
68
+ */
69
+ longitude;
70
+ };
71
+ __decorate([
72
+ property({ description: "Unique identifier for the location.", type: "string", isPrimary: true }),
73
+ __metadata("design:type", String)
74
+ ], Gs1Location.prototype, "id", void 0);
75
+ __decorate([
76
+ property({
77
+ description: "Site identifier or name, if applicable.",
78
+ type: "string",
79
+ optional: true
80
+ }),
81
+ __metadata("design:type", String)
82
+ ], Gs1Location.prototype, "site", void 0);
83
+ __decorate([
84
+ property({
85
+ description: "Additional site-specific information or code.",
86
+ type: "string",
87
+ optional: true
88
+ }),
89
+ __metadata("design:type", String)
90
+ ], Gs1Location.prototype, "sst", void 0);
91
+ __decorate([
92
+ property({
93
+ description: "Sub-site area or section information.",
94
+ type: "string",
95
+ optional: true
96
+ }),
97
+ __metadata("design:type", String)
98
+ ], Gs1Location.prototype, "ssa", void 0);
99
+ __decorate([
100
+ property({
101
+ description: "Detailed site description or additional data.",
102
+ type: "string",
103
+ optional: true
104
+ }),
105
+ __metadata("design:type", String)
106
+ ], Gs1Location.prototype, "ssd", void 0);
107
+ __decorate([
108
+ property({
109
+ description: "Name of the location.",
110
+ type: "string",
111
+ optional: true
112
+ }),
113
+ __metadata("design:type", String)
114
+ ], Gs1Location.prototype, "name", void 0);
115
+ __decorate([
116
+ property({
117
+ description: "Primary street address.",
118
+ type: "string",
119
+ optional: true
120
+ }),
121
+ __metadata("design:type", String)
122
+ ], Gs1Location.prototype, "streetAddressOne", void 0);
123
+ __decorate([
124
+ property({
125
+ description: "Secondary street address, if needed.",
126
+ type: "string",
127
+ optional: true
128
+ }),
129
+ __metadata("design:type", String)
130
+ ], Gs1Location.prototype, "streetAddressTwo", void 0);
131
+ __decorate([
132
+ property({
133
+ description: "Tertiary street address, if applicable.",
134
+ type: "string",
135
+ optional: true
136
+ }),
137
+ __metadata("design:type", String)
138
+ ], Gs1Location.prototype, "streetAddressThree", void 0);
139
+ __decorate([
140
+ property({
141
+ description: "City where the location is situated.",
142
+ type: "string",
143
+ optional: true
144
+ }),
145
+ __metadata("design:type", String)
146
+ ], Gs1Location.prototype, "city", void 0);
147
+ __decorate([
148
+ property({
149
+ description: "State or province of the location.",
150
+ type: "string",
151
+ optional: true
152
+ }),
153
+ __metadata("design:type", String)
154
+ ], Gs1Location.prototype, "state", void 0);
155
+ __decorate([
156
+ property({
157
+ description: "Postal or ZIP code for the location.",
158
+ type: "string",
159
+ optional: true
160
+ }),
161
+ __metadata("design:type", String)
162
+ ], Gs1Location.prototype, "postalCode", void 0);
163
+ __decorate([
164
+ property({
165
+ description: "Country code where the location is located.",
166
+ type: "string",
167
+ optional: true
168
+ }),
169
+ __metadata("design:type", String)
170
+ ], Gs1Location.prototype, "countryCode", void 0);
171
+ __decorate([
172
+ property({
173
+ description: "Latitude coordinate of the location.",
174
+ type: "number",
175
+ optional: true
176
+ }),
177
+ __metadata("design:type", Number)
178
+ ], Gs1Location.prototype, "latitude", void 0);
179
+ __decorate([
180
+ property({
181
+ description: "Longitude coordinate of the location.",
182
+ type: "number",
183
+ optional: true
184
+ }),
185
+ __metadata("design:type", Number)
186
+ ], Gs1Location.prototype, "longitude", void 0);
187
+ Gs1Location = __decorate([
188
+ entity({
189
+ description: "Stores detailed information about locations, including addresses and geographic coordinates"
190
+ })
191
+ ], Gs1Location);
192
+ export { Gs1Location };
193
+ //# sourceMappingURL=gs1Location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gs1Location.js","sourceRoot":"","sources":["../../../src/entities/gs1Location.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIpD;;;;GAIG;AAKI,IAAM,WAAW,GAAjB,MAAM,WAAW;IACvB;;OAEG;IAEI,EAAE,CAAU;IAEnB;;OAEG;IAMI,IAAI,CAAU;IAErB;;OAEG;IAMI,GAAG,CAAmB;IAE7B;;OAEG;IAMI,GAAG,CAAwB;IAElC;;OAEG;IAMI,GAAG,CAAU;IAEpB;;OAEG;IAMI,IAAI,CAAU;IAErB;;OAEG;IAMI,gBAAgB,CAAU;IAEjC;;OAEG;IAMI,gBAAgB,CAAU;IAEjC;;OAEG;IAMI,kBAAkB,CAAU;IAEnC;;OAEG;IAMI,IAAI,CAAU;IAErB;;OAEG;IAMI,KAAK,CAAU;IAEtB;;OAEG;IAMI,UAAU,CAAU;IAE3B;;OAEG;IAMI,WAAW,CAAU;IAE5B;;OAEG;IAMI,QAAQ,CAAU;IAEzB;;OAEG;IAMI,SAAS,CAAU;CAC1B,CAAA;AA7IO;IADN,QAAQ,CAAC,EAAE,WAAW,EAAE,qCAAqC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;uCAC/E;AAUZ;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,yCAAyC;QACtD,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;yCACmB;AAUd;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,+CAA+C;QAC5D,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;wCAC2B;AAUtB;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,uCAAuC;QACpD,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;wCACgC;AAU3B;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,+CAA+C;QAC5D,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;wCACkB;AAUb;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,uBAAuB;QACpC,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;yCACmB;AAUd;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,yBAAyB;QACtC,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;qDAC+B;AAU1B;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,sCAAsC;QACnD,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;qDAC+B;AAU1B;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,yCAAyC;QACtD,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;uDACiC;AAU5B;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,sCAAsC;QACnD,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;yCACmB;AAUd;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,oCAAoC;QACjD,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;0CACoB;AAUf;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,sCAAsC;QACnD,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;+CACyB;AAUpB;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,6CAA6C;QAC1D,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;gDAC0B;AAUrB;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,sCAAsC;QACnD,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;6CACuB;AAUlB;IALN,QAAQ,CAAC;QACT,WAAW,EAAE,uCAAuC;QACpD,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;;8CACwB;AAjJd,WAAW;IAJvB,MAAM,CAAC;QACP,WAAW,EACV,6FAA6F;KAC9F,CAAC;GACW,WAAW,CAkJvB","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { entity, property } from \"@twin.org/entity\";\nimport type { Gs1SubSiteAttributes } from \"../models/gs1/gs1SubSiteAttributes.js\";\nimport type { Gs1SubSiteTypes } from \"../models/gs1/gs1SubSiteTypes.js\";\n\n/**\n * Interface describing a GS1 Location master data.\n * Spec https://www.gs1.org/sites/default/files/docs/epc/CBV-Standard-1-2-1-r-2017-05-05.pdf .\n * Section 10.2 .\n */\n@entity({\n\tdescription:\n\t\t\"Stores detailed information about locations, including addresses and geographic coordinates\"\n})\nexport class Gs1Location {\n\t/**\n\t * The GS1 sgln identifier.\n\t */\n\t@property({ description: \"Unique identifier for the location.\", type: \"string\", isPrimary: true })\n\tpublic id!: string;\n\n\t/**\n\t * Identifies the site in which the location is contained.\n\t */\n\t@property({\n\t\tdescription: \"Site identifier or name, if applicable.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic site?: string;\n\n\t/**\n\t * Sub site type describes the primary business function of the sub site location.\n\t */\n\t@property({\n\t\tdescription: \"Additional site-specific information or code.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic sst?: Gs1SubSiteTypes;\n\n\t/**\n\t * Sub site attribute further qualifies the business function of the sub site location.\n\t */\n\t@property({\n\t\tdescription: \"Sub-site area or section information.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic ssa?: Gs1SubSiteAttributes;\n\n\t/**\n\t * Sub site detail provides additional proprietary information.\n\t */\n\t@property({\n\t\tdescription: \"Detailed site description or additional data.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic ssd?: string;\n\n\t/**\n\t * The name of the location.\n\t */\n\t@property({\n\t\tdescription: \"Name of the location.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic name?: string;\n\n\t/**\n\t * The street address line 1.\n\t */\n\t@property({\n\t\tdescription: \"Primary street address.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic streetAddressOne?: string;\n\n\t/**\n\t * The street address line 2.\n\t */\n\t@property({\n\t\tdescription: \"Secondary street address, if needed.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic streetAddressTwo?: string;\n\n\t/**\n\t * The street address line 3.\n\t */\n\t@property({\n\t\tdescription: \"Tertiary street address, if applicable.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic streetAddressThree?: string;\n\n\t/**\n\t * City.\n\t */\n\t@property({\n\t\tdescription: \"City where the location is situated.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic city?: string;\n\n\t/**\n\t * State.\n\t */\n\t@property({\n\t\tdescription: \"State or province of the location.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic state?: string;\n\n\t/**\n\t * Postal Code.\n\t */\n\t@property({\n\t\tdescription: \"Postal or ZIP code for the location.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic postalCode?: string;\n\n\t/**\n\t * Country Code The ISO 3166-1 alpha-2 code specifying the country for the address.\n\t */\n\t@property({\n\t\tdescription: \"Country code where the location is located.\",\n\t\ttype: \"string\",\n\t\toptional: true\n\t})\n\tpublic countryCode?: string;\n\n\t/**\n\t * The latitude of the location in degrees.\n\t */\n\t@property({\n\t\tdescription: \"Latitude coordinate of the location.\",\n\t\ttype: \"number\",\n\t\toptional: true\n\t})\n\tpublic latitude?: number;\n\n\t/**\n\t * The longitude of the location in degrees.\n\t */\n\t@property({\n\t\tdescription: \"Longitude coordinate of the location.\",\n\t\ttype: \"number\",\n\t\toptional: true\n\t})\n\tpublic longitude?: number;\n}\n"]}
@@ -0,0 +1,32 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ import { IdentifierHandlerFactory } from "@twin.org/data-core";
4
+ import { Gs1IdentifierTypes } from "../models/gs1/gs1IdentifierTypes.js";
5
+ import { Gs1IdentifiersValidation } from "../utils/gs1IdentifiersValidation.js";
6
+ /**
7
+ * Handle all identifier types for GS1.
8
+ */
9
+ export class Gs1Identifiers {
10
+ /**
11
+ * Register all the identifiers.
12
+ */
13
+ static registerIdentifiers() {
14
+ IdentifierHandlerFactory.register(Gs1IdentifierTypes.EpcId, () => ({
15
+ namespace: Gs1IdentifierTypes.EpcId,
16
+ validate: (propertyName, value, failures) => Gs1IdentifiersValidation.epcId(propertyName, value, failures)
17
+ }));
18
+ IdentifierHandlerFactory.register(Gs1IdentifierTypes.EpcIdGtin, () => ({
19
+ namespace: Gs1IdentifierTypes.EpcIdGtin,
20
+ validate: (propertyName, value, failures) => Gs1IdentifiersValidation.epcIdGtin(propertyName, value, failures)
21
+ }));
22
+ IdentifierHandlerFactory.register(Gs1IdentifierTypes.EpcIdGln, () => ({
23
+ namespace: Gs1IdentifierTypes.EpcIdGln,
24
+ validate: (propertyName, value, failures) => Gs1IdentifiersValidation.epcIdGln(propertyName, value, failures)
25
+ }));
26
+ IdentifierHandlerFactory.register(Gs1IdentifierTypes.EpcClass, () => ({
27
+ namespace: Gs1IdentifierTypes.EpcClass,
28
+ validate: (propertyName, value, failures) => Gs1IdentifiersValidation.epcClass(propertyName, value, failures)
29
+ }));
30
+ }
31
+ }
32
+ //# sourceMappingURL=gs1Identifiers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gs1Identifiers.js","sourceRoot":"","sources":["../../../src/identifiers/gs1Identifiers.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF;;GAEG;AACH,MAAM,OAAO,cAAc;IAC1B;;OAEG;IACI,MAAM,CAAC,mBAAmB;QAChC,wBAAwB,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;YAClE,SAAS,EAAE,kBAAkB,CAAC,KAAK;YACnC,QAAQ,EAAE,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAW,EAAE,CACpD,wBAAwB,CAAC,KAAK,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;SAC9D,CAAC,CAAC,CAAC;QAEJ,wBAAwB,CAAC,QAAQ,CAAC,kBAAkB,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC;YACtE,SAAS,EAAE,kBAAkB,CAAC,SAAS;YACvC,QAAQ,EAAE,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAW,EAAE,CACpD,wBAAwB,CAAC,SAAS,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;SAClE,CAAC,CAAC,CAAC;QAEJ,wBAAwB,CAAC,QAAQ,CAAC,kBAAkB,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC;YACrE,SAAS,EAAE,kBAAkB,CAAC,QAAQ;YACtC,QAAQ,EAAE,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAW,EAAE,CACpD,wBAAwB,CAAC,QAAQ,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;SACjE,CAAC,CAAC,CAAC;QAEJ,wBAAwB,CAAC,QAAQ,CAAC,kBAAkB,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC;YACrE,SAAS,EAAE,kBAAkB,CAAC,QAAQ;YACtC,QAAQ,EAAE,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAW,EAAE,CACpD,wBAAwB,CAAC,QAAQ,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;SACjE,CAAC,CAAC,CAAC;IACL,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { IdentifierHandlerFactory } from \"@twin.org/data-core\";\nimport { Gs1IdentifierTypes } from \"../models/gs1/gs1IdentifierTypes.js\";\nimport { Gs1IdentifiersValidation } from \"../utils/gs1IdentifiersValidation.js\";\n\n/**\n * Handle all identifier types for GS1.\n */\nexport class Gs1Identifiers {\n\t/**\n\t * Register all the identifiers.\n\t */\n\tpublic static registerIdentifiers(): void {\n\t\tIdentifierHandlerFactory.register(Gs1IdentifierTypes.EpcId, () => ({\n\t\t\tnamespace: Gs1IdentifierTypes.EpcId,\n\t\t\tvalidate: (propertyName, value, failures): boolean =>\n\t\t\t\tGs1IdentifiersValidation.epcId(propertyName, value, failures)\n\t\t}));\n\n\t\tIdentifierHandlerFactory.register(Gs1IdentifierTypes.EpcIdGtin, () => ({\n\t\t\tnamespace: Gs1IdentifierTypes.EpcIdGtin,\n\t\t\tvalidate: (propertyName, value, failures): boolean =>\n\t\t\t\tGs1IdentifiersValidation.epcIdGtin(propertyName, value, failures)\n\t\t}));\n\n\t\tIdentifierHandlerFactory.register(Gs1IdentifierTypes.EpcIdGln, () => ({\n\t\t\tnamespace: Gs1IdentifierTypes.EpcIdGln,\n\t\t\tvalidate: (propertyName, value, failures): boolean =>\n\t\t\t\tGs1IdentifiersValidation.epcIdGln(propertyName, value, failures)\n\t\t}));\n\n\t\tIdentifierHandlerFactory.register(Gs1IdentifierTypes.EpcClass, () => ({\n\t\t\tnamespace: Gs1IdentifierTypes.EpcClass,\n\t\t\tvalidate: (propertyName, value, failures): boolean =>\n\t\t\t\tGs1IdentifiersValidation.epcClass(propertyName, value, failures)\n\t\t}));\n\t}\n}\n"]}
@@ -0,0 +1,38 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export * from "./dataTypes/gs1DataTypes.js";
4
+ export * from "./entities/gs1Location.js";
5
+ export * from "./identifiers/gs1Identifiers.js";
6
+ export * from "./models/epc/IEPCClassUri.js";
7
+ export * from "./models/epcis20/epcisActionTypes.js";
8
+ export * from "./models/epcis20/epcisBizStepTypes.js";
9
+ export * from "./models/epcis20/epcisDispositionTypes.js";
10
+ export * from "./models/epcis20/epcisErrorTypes.js";
11
+ export * from "./models/epcis20/epcisEventUnionType.js";
12
+ export * from "./models/epcis20/epcisEventTypes.js";
13
+ export * from "./models/epcis20/IEpcisAggregationEvent.js";
14
+ export * from "./models/epcis20/IEpcisAssociationEvent.js";
15
+ export * from "./models/epcis20/IEpcisBizTransaction.js";
16
+ export * from "./models/epcis20/IEpcisDestination.js";
17
+ export * from "./models/epcis20/IEpcisDocument.js";
18
+ export * from "./models/epcis20/IEpcisEvent.js";
19
+ export * from "./models/epcis20/IEpcisEventDetails.js";
20
+ export * from "./models/epcis20/IEpcisQuery.js";
21
+ export * from "./models/epcis20/IEpcisQueryDocument.js";
22
+ export * from "./models/epcis20/IEpcisObjectEvent.js";
23
+ export * from "./models/epcis20/IEpcisQuantity.js";
24
+ export * from "./models/epcis20/IEpcisSensorElement.js";
25
+ export * from "./models/epcis20/IEpcisSensorMetadata.js";
26
+ export * from "./models/epcis20/IEpcisSensorReport.js";
27
+ export * from "./models/epcis20/IEpcisSimpleLocation.js";
28
+ export * from "./models/epcis20/IEpcisSource.js";
29
+ export * from "./models/gs1/gs1Contexts.js";
30
+ export * from "./models/gs1/gs1IdentifierTypes.js";
31
+ export * from "./models/gs1/gs1IdTypes.js";
32
+ export * from "./models/gs1/gs1Types.js";
33
+ export * from "./models/gs1/gs1SubSiteAttributes.js";
34
+ export * from "./models/gs1/gs1SubSiteTypes.js";
35
+ export * from "./utils/gs1IdentifiersValidation.js";
36
+ export * from "./utils/gs1Is.js";
37
+ export * from "./utils/gs1Validation.js";
38
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC;AACxD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./dataTypes/gs1DataTypes.js\";\nexport * from \"./entities/gs1Location.js\";\nexport * from \"./identifiers/gs1Identifiers.js\";\nexport * from \"./models/epc/IEPCClassUri.js\";\nexport * from \"./models/epcis20/epcisActionTypes.js\";\nexport * from \"./models/epcis20/epcisBizStepTypes.js\";\nexport * from \"./models/epcis20/epcisDispositionTypes.js\";\nexport * from \"./models/epcis20/epcisErrorTypes.js\";\nexport * from \"./models/epcis20/epcisEventUnionType.js\";\nexport * from \"./models/epcis20/epcisEventTypes.js\";\nexport * from \"./models/epcis20/IEpcisAggregationEvent.js\";\nexport * from \"./models/epcis20/IEpcisAssociationEvent.js\";\nexport * from \"./models/epcis20/IEpcisBizTransaction.js\";\nexport * from \"./models/epcis20/IEpcisDestination.js\";\nexport * from \"./models/epcis20/IEpcisDocument.js\";\nexport * from \"./models/epcis20/IEpcisEvent.js\";\nexport * from \"./models/epcis20/IEpcisEventDetails.js\";\nexport * from \"./models/epcis20/IEpcisQuery.js\";\nexport * from \"./models/epcis20/IEpcisQueryDocument.js\";\nexport * from \"./models/epcis20/IEpcisObjectEvent.js\";\nexport * from \"./models/epcis20/IEpcisQuantity.js\";\nexport * from \"./models/epcis20/IEpcisSensorElement.js\";\nexport * from \"./models/epcis20/IEpcisSensorMetadata.js\";\nexport * from \"./models/epcis20/IEpcisSensorReport.js\";\nexport * from \"./models/epcis20/IEpcisSimpleLocation.js\";\nexport * from \"./models/epcis20/IEpcisSource.js\";\nexport * from \"./models/gs1/gs1Contexts.js\";\nexport * from \"./models/gs1/gs1IdentifierTypes.js\";\nexport * from \"./models/gs1/gs1IdTypes.js\";\nexport * from \"./models/gs1/gs1Types.js\";\nexport * from \"./models/gs1/gs1SubSiteAttributes.js\";\nexport * from \"./models/gs1/gs1SubSiteTypes.js\";\nexport * from \"./utils/gs1IdentifiersValidation.js\";\nexport * from \"./utils/gs1Is.js\";\nexport * from \"./utils/gs1Validation.js\";\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IEPCClassUri.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEPCClassUri.js","sourceRoot":"","sources":["../../../../src/models/epc/IEPCClassUri.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Interface for EPC class URI.\n */\nexport interface IEPCClassUri {\n\t/**\n\t * The company prefix.\n\t */\n\tcompanyPrefix: string;\n\n\t/**\n\t * The item reference number.\n\t */\n\titemRefAndIndicator: string;\n\n\t/**\n\t * The batch/lot.\n\t */\n\tlot: string;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IEpcisAggregationEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisAggregationEvent.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisAggregationEvent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IBaseAggregationEvent } from \"./IEpcisBaseAggregationEvent.js\";\n\n/**\n * Describes an AggregationEvent.\n */\nexport interface IAggregationEvent extends IBaseAggregationEvent {\n\t/**\n\t * The type.\n\t */\n\ttype: \"AggregationEvent\";\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IEpcisAssociationEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisAssociationEvent.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisAssociationEvent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IBaseAggregationEvent } from \"./IEpcisBaseAggregationEvent.js\";\n\n/**\n * Association Event.\n */\nexport interface IAssociationEvent extends IBaseAggregationEvent {\n\t/**\n\t * Type.\n\t */\n\ttype: \"AssociationEvent\";\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IEpcisBaseAggregationEvent.js.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IEpcisBizTransaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisBizTransaction.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisBizTransaction.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Biz Transaction.\n */\nexport interface IBizTransaction {\n\t/**\n\t * Type.\n\t */\n\ttype: string;\n\n\t/**\n\t * The transaction.\n\t */\n\tbizTransaction: string;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IEpcisDestination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisDestination.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisDestination.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Destination.\n */\nexport interface IDestination {\n\t/**\n\t * Type.\n\t */\n\ttype: string;\n\n\t/**\n\t * The destination.\n\t */\n\tdestination: string;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IEpcisDocument.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisDocument.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisDocument.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinition } from \"@twin.org/data-json-ld\";\nimport type { IEpcisEvent } from \"./IEpcisEvent.js\";\n\n/**\n * EPCIS Document.\n */\nexport interface IEpcisDocument {\n\t/**\n\t * The @context.\n\t */\n\t\"@context\": IJsonLdContextDefinition;\n\n\t/**\n\t * The JSON-LD document id.\n\t */\n\tid?: string;\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: \"EPCISDocument\";\n\n\t/**\n\t * The EPCIS Body.\n\t */\n\tepcisBody: {\n\t\t/**\n\t\t * The list of events.\n\t\t */\n\t\teventList: IEpcisEvent[];\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IEpcisEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisEvent.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisEvent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinition } from \"@twin.org/data-json-ld\";\nimport type { IDestination } from \"./IEpcisDestination.js\";\nimport type { ISource } from \"./IEpcisSource.js\";\n\n/**\n * EPCIS Event.\n */\nexport interface IEpcisEvent {\n\t/**\n\t * JSON-LD @context.\n\t */\n\t\"@context\"?: IJsonLdContextDefinition;\n\n\t/**\n\t * UUID of the event.\n\t */\n\tid?: string;\n\n\t/**\n\t * The id of the event. Marked here as optional as we usually won't store it on Tangle.\n\t */\n\teventID?: string;\n\n\t/**\n\t * Type of Event.\n\t */\n\ttype: string;\n\n\t/**\n\t * Timestamp in UTC.\n\t */\n\teventTime: string;\n\n\t/**\n\t * Timezone offset. Useful if we want to represent timestamp in local timezone.\n\t */\n\teventTimeZoneOffset: string;\n\n\t/**\n\t * When the event was recorded. It will be automatically generated.\n\t */\n\trecordTime?: string;\n\n\t/**\n\t * Source list. Semantics according to EPCIS standard.\n\t */\n\tsourceList?: ISource[];\n\n\t/**\n\t * Destination list. Semantics according to EPCIS standard.\n\t */\n\tdestinationList?: IDestination[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IEpcisEventDetails.js.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IEpcisObjectEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisObjectEvent.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisObjectEvent.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\";\nimport type { ISensorElement } from \"./IEpcisSensorElement.js\";\n\n/**\n * Defines an EPCIS 2.0 Object Event.\n *\n */\nexport interface IObjectEvent extends IEpcisEventDetails {\n\t/**\n\t * Fixed to ObjectEvent.\n\t */\n\ttype: \"ObjectEvent\";\n\n\t/**\n\t * List of EPCs involved.\n\t */\n\tepcList: string[];\n\n\t/**\n\t * Quantity in case of class-level event visibility data.\n\t */\n\tquantityList?: IQuantity[];\n\n\t/**\n\t * Sensor element list.\n\t */\n\tsensorElementList?: ISensorElement[];\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IEpcisQuantity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisQuantity.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisQuantity.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Quantity.\n */\nexport interface IQuantity {\n\t/**\n\t * EPC Class.\n\t */\n\tepcClass: string;\n\n\t/**\n\t * Quantity.\n\t */\n\tquantity: number;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IEpcisQuery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisQuery.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisQuery.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Query type.\n */\nexport interface IEpcisQuery {\n\t[key: string]: string;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IEpcisQueryDocument.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisQueryDocument.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisQueryDocument.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinition } from \"@twin.org/data-json-ld\";\nimport type { IEpcisEvent } from \"./IEpcisEvent.js\";\n\n/**\n * EPCIS Query Document.\n */\nexport interface IEpcisQueryDocument {\n\t/**\n\t * The @context.\n\t */\n\t\"@context\": IJsonLdContextDefinition;\n\n\t/**\n\t * The JSON-LD document id.\n\t */\n\tid?: string;\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: string;\n\n\t/**\n\t * Schema version.\n\t */\n\tschemaVersion?: string;\n\t/**\n\t * Creation Date.\n\t */\n\tcreationDate?: string;\n\n\t/**\n\t * The EPCIS Body.\n\t */\n\tepcisBody: {\n\t\t/**\n\t\t * The results of the query.\n\t\t */\n\t\tqueryResults: {\n\t\t\t/**\n\t\t\t * The concerned subscription.\n\t\t\t */\n\t\t\tsubscriptionID?: string;\n\t\t\t/**\n\t\t\t * The concerned query.\n\t\t\t */\n\t\t\tqueryName: string;\n\t\t\t/**\n\t\t\t * And now the results.\n\t\t\t */\n\t\t\tresultsBody: {\n\t\t\t\t/**\n\t\t\t\t * The list of events.\n\t\t\t\t */\n\t\t\t\teventList: IEpcisEvent[];\n\t\t\t};\n\t\t};\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IEpcisSensorElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisSensorElement.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisSensorElement.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ISensorMetadata } from \"./IEpcisSensorMetadata.js\";\nimport type { ISensorReport } from \"./IEpcisSensorReport.js\";\n\n/**\n * EPCIS SensorElement.\n */\nexport interface ISensorElement {\n\t/**\n\t * Sensor metadata.\n\t */\n\tsensorMetadata?: ISensorMetadata;\n\n\t/**\n\t * Sensor report.\n\t */\n\tsensorReport: ISensorReport[];\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IEpcisSensorMetadata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisSensorMetadata.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisSensorMetadata.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Sensor metadata.\n */\nexport interface ISensorMetadata {\n\t/**\n\t * Time.\n\t */\n\ttime: string;\n\n\t/**\n\t * Device ID.\n\t */\n\tdeviceID: string;\n\n\t/**\n\t * Device Metadata.\n\t */\n\tdeviceMetadata: string;\n\n\t/**\n\t * Raw data.\n\t */\n\trawData: string;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IEpcisSensorReport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisSensorReport.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisSensorReport.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS SensorReport.\n */\nexport interface ISensorReport {\n\t/**\n\t * Type.\n\t */\n\ttype: string;\n\n\t/**\n\t * Value.\n\t */\n\tvalue: number;\n\n\t/**\n\t * Unit of measurement.\n\t */\n\tuom: string;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IEpcisSimpleLocation.js.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IEpcisSource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEpcisSource.js","sourceRoot":"","sources":["../../../../src/models/epcis20/IEpcisSource.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS Biz Transaction.\n */\nexport interface ISource {\n\t/**\n\t * Type.\n\t */\n\ttype: string;\n\n\t/**\n\t * The source.\n\t */\n\tsource: string;\n}\n"]}
@@ -0,0 +1,21 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * EPCIS 2.0 action types.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const EpcisActionTypes = {
8
+ /**
9
+ * ADD action.
10
+ */
11
+ Add: "ADD",
12
+ /**
13
+ * OBSERVE action.
14
+ */
15
+ Observe: "OBSERVE",
16
+ /**
17
+ * DELETE action.
18
+ */
19
+ Delete: "DELETE"
20
+ };
21
+ //# sourceMappingURL=epcisActionTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"epcisActionTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisActionTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B;;OAEG;IACH,GAAG,EAAE,KAAK;IAEV;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,MAAM,EAAE,QAAQ;CACP,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS 2.0 action types.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisActionTypes = {\n\t/**\n\t * ADD action.\n\t */\n\tAdd: \"ADD\",\n\n\t/**\n\t * OBSERVE action.\n\t */\n\tObserve: \"OBSERVE\",\n\n\t/**\n\t * DELETE action.\n\t */\n\tDelete: \"DELETE\"\n} as const;\n\n/**\n * EPCIS 2.0 action types.\n */\nexport type EpcisActionTypes = (typeof EpcisActionTypes)[keyof typeof EpcisActionTypes];\n"]}
@@ -0,0 +1,52 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Supported EPCIS 2.0 bizStep.
5
+ *
6
+ * See EPCIS CVB specification for details.
7
+ */
8
+ // eslint-disable-next-line @typescript-eslint/naming-convention
9
+ export const EpcisBizStepTypes = {
10
+ Accepting: "accepting",
11
+ Arriving: "arriving",
12
+ Assembling: "assembling",
13
+ Collecting: "collecting",
14
+ Commissioning: "commissioning",
15
+ Consigning: "consigning",
16
+ CreatingClassInstance: "creating_class_instance",
17
+ CycleCounting: "cycle_counting",
18
+ Decommissioning: "decommissioning",
19
+ Departing: "departing",
20
+ Destroying: "destroying",
21
+ Disassembling: "disassembling",
22
+ Dispensing: "dispensing",
23
+ Encoding: "encoding",
24
+ EnteringExiting: "entering_exiting",
25
+ Holding: "holding",
26
+ Inspecting: "inspecting",
27
+ Installing: "installing",
28
+ Killing: "killing",
29
+ Loading: "loading",
30
+ Other: "other",
31
+ Packing: "packing",
32
+ Picking: "picking",
33
+ Receiving: "receiving",
34
+ Removing: "removing",
35
+ Repackaging: "repackaging",
36
+ Repairing: "repairing",
37
+ Replacing: "replacing",
38
+ Reserving: "reserving",
39
+ RetailSelling: "retail_selling",
40
+ Shipping: "shipping",
41
+ StagingOutbound: "staging_outbound",
42
+ StockTaking: "stock_taking",
43
+ Stocking: "stocking",
44
+ Storing: "storing",
45
+ Transporting: "transporting",
46
+ Unloading: "unloading",
47
+ Unpacking: "unpacking",
48
+ VoidShipping: "void_shipping",
49
+ SensorReporting: "sensor_reporting",
50
+ Sampling: "sampling"
51
+ };
52
+ //# sourceMappingURL=epcisBizStepTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"epcisBizStepTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisBizStepTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;GAIG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC,SAAS,EAAE,WAAW;IAEtB,QAAQ,EAAE,UAAU;IAEpB,UAAU,EAAE,YAAY;IAExB,UAAU,EAAE,YAAY;IAExB,aAAa,EAAE,eAAe;IAE9B,UAAU,EAAE,YAAY;IAExB,qBAAqB,EAAE,yBAAyB;IAEhD,aAAa,EAAE,gBAAgB;IAE/B,eAAe,EAAE,iBAAiB;IAElC,SAAS,EAAE,WAAW;IAEtB,UAAU,EAAE,YAAY;IAExB,aAAa,EAAE,eAAe;IAE9B,UAAU,EAAE,YAAY;IAExB,QAAQ,EAAE,UAAU;IAEpB,eAAe,EAAE,kBAAkB;IAEnC,OAAO,EAAE,SAAS;IAElB,UAAU,EAAE,YAAY;IAExB,UAAU,EAAE,YAAY;IAExB,OAAO,EAAE,SAAS;IAElB,OAAO,EAAE,SAAS;IAElB,KAAK,EAAE,OAAO;IAEd,OAAO,EAAE,SAAS;IAElB,OAAO,EAAE,SAAS;IAElB,SAAS,EAAE,WAAW;IAEtB,QAAQ,EAAE,UAAU;IAEpB,WAAW,EAAE,aAAa;IAE1B,SAAS,EAAE,WAAW;IAEtB,SAAS,EAAE,WAAW;IAEtB,SAAS,EAAE,WAAW;IAEtB,aAAa,EAAE,gBAAgB;IAE/B,QAAQ,EAAE,UAAU;IAEpB,eAAe,EAAE,kBAAkB;IAEnC,WAAW,EAAE,cAAc;IAE3B,QAAQ,EAAE,UAAU;IAEpB,OAAO,EAAE,SAAS;IAElB,YAAY,EAAE,cAAc;IAE5B,SAAS,EAAE,WAAW;IAEtB,SAAS,EAAE,WAAW;IAEtB,YAAY,EAAE,eAAe;IAE7B,eAAe,EAAE,kBAAkB;IAEnC,QAAQ,EAAE,UAAU;CACX,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Supported EPCIS 2.0 bizStep.\n *\n * See EPCIS CVB specification for details.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisBizStepTypes = {\n\tAccepting: \"accepting\",\n\n\tArriving: \"arriving\",\n\n\tAssembling: \"assembling\",\n\n\tCollecting: \"collecting\",\n\n\tCommissioning: \"commissioning\",\n\n\tConsigning: \"consigning\",\n\n\tCreatingClassInstance: \"creating_class_instance\",\n\n\tCycleCounting: \"cycle_counting\",\n\n\tDecommissioning: \"decommissioning\",\n\n\tDeparting: \"departing\",\n\n\tDestroying: \"destroying\",\n\n\tDisassembling: \"disassembling\",\n\n\tDispensing: \"dispensing\",\n\n\tEncoding: \"encoding\",\n\n\tEnteringExiting: \"entering_exiting\",\n\n\tHolding: \"holding\",\n\n\tInspecting: \"inspecting\",\n\n\tInstalling: \"installing\",\n\n\tKilling: \"killing\",\n\n\tLoading: \"loading\",\n\n\tOther: \"other\",\n\n\tPacking: \"packing\",\n\n\tPicking: \"picking\",\n\n\tReceiving: \"receiving\",\n\n\tRemoving: \"removing\",\n\n\tRepackaging: \"repackaging\",\n\n\tRepairing: \"repairing\",\n\n\tReplacing: \"replacing\",\n\n\tReserving: \"reserving\",\n\n\tRetailSelling: \"retail_selling\",\n\n\tShipping: \"shipping\",\n\n\tStagingOutbound: \"staging_outbound\",\n\n\tStockTaking: \"stock_taking\",\n\n\tStocking: \"stocking\",\n\n\tStoring: \"storing\",\n\n\tTransporting: \"transporting\",\n\n\tUnloading: \"unloading\",\n\n\tUnpacking: \"unpacking\",\n\n\tVoidShipping: \"void_shipping\",\n\n\tSensorReporting: \"sensor_reporting\",\n\n\tSampling: \"sampling\"\n} as const;\n\n/**\n * EPCIS 2.0 action types.\n */\nexport type EpcisBizStepTypes = (typeof EpcisBizStepTypes)[keyof typeof EpcisBizStepTypes];\n"]}