atmosx-nwws-parser 1.0.2021 → 1.0.2022

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 (37) hide show
  1. package/dist/cjs/bootstrap.cjs +11 -11
  2. package/dist/cjs/database.cjs +11 -11
  3. package/dist/cjs/dictionaries/events.cjs +11 -11
  4. package/dist/cjs/eas.cjs +13 -11
  5. package/dist/cjs/helper.cjs +13 -11
  6. package/dist/cjs/parsers/events.cjs +13 -11
  7. package/dist/cjs/parsers/stanza.cjs +11 -11
  8. package/dist/cjs/parsers/text.cjs +11 -11
  9. package/dist/cjs/parsers/types/api.cjs +13 -11
  10. package/dist/cjs/parsers/types/cap.cjs +13 -11
  11. package/dist/cjs/parsers/types/text.cjs +13 -11
  12. package/dist/cjs/parsers/types/ugc.cjs +13 -11
  13. package/dist/cjs/parsers/types/vtec.cjs +13 -11
  14. package/dist/cjs/parsers/ugc.cjs +11 -11
  15. package/dist/cjs/parsers/vtec.cjs +11 -11
  16. package/dist/cjs/utils.cjs +13 -11
  17. package/dist/cjs/xmpp.cjs +13 -11
  18. package/dist/esm/bootstrap.mjs +11 -11
  19. package/dist/esm/database.mjs +11 -11
  20. package/dist/esm/dictionaries/events.mjs +11 -11
  21. package/dist/esm/eas.mjs +13 -11
  22. package/dist/esm/helper.mjs +13 -11
  23. package/dist/esm/parsers/events.mjs +13 -11
  24. package/dist/esm/parsers/stanza.mjs +11 -11
  25. package/dist/esm/parsers/text.mjs +11 -11
  26. package/dist/esm/parsers/types/api.mjs +13 -11
  27. package/dist/esm/parsers/types/cap.mjs +13 -11
  28. package/dist/esm/parsers/types/text.mjs +13 -11
  29. package/dist/esm/parsers/types/ugc.mjs +13 -11
  30. package/dist/esm/parsers/types/vtec.mjs +13 -11
  31. package/dist/esm/parsers/ugc.mjs +11 -11
  32. package/dist/esm/parsers/vtec.mjs +11 -11
  33. package/dist/esm/utils.mjs +13 -11
  34. package/dist/esm/xmpp.mjs +13 -11
  35. package/package.json +1 -1
  36. package/src/dictionaries/events.ts +12 -12
  37. package/src/parsers/events.ts +2 -0
@@ -140,17 +140,17 @@ var TYPES = {
140
140
  "X": "Experimental Product (Non-Operational)"
141
141
  };
142
142
  var STATUS_CORRELATIONS = [
143
- { type: "Update", forward: "Updated", cancel: false },
144
- { type: "Cancel", forward: "Cancelled", cancel: true },
145
- { type: "Alert", forward: "Issued", cancel: false },
146
- { type: "Updated", forward: "Updated", cancel: false },
147
- { type: "Expired", forward: "Expired", cancel: true },
148
- { type: "Issued", forward: "Issued", cancel: false },
149
- { type: "Extended", forward: "Updated", cancel: false },
150
- { type: "Correction", forward: "Updated", cancel: false },
151
- { type: "Upgraded", forward: "Upgraded", cancel: false },
152
- { type: "Cancelled", forward: "Cancelled", cancel: true },
153
- { type: "Routine", forward: "Routine", cancel: false }
143
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
144
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
145
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
146
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
147
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
148
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
149
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
150
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
151
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
152
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
153
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
154
154
  ];
155
155
 
156
156
  // src/dictionaries/offshore.ts
@@ -160,17 +160,17 @@ var TYPES = {
160
160
  "X": "Experimental Product (Non-Operational)"
161
161
  };
162
162
  var STATUS_CORRELATIONS = [
163
- { type: "Update", forward: "Updated", cancel: false },
164
- { type: "Cancel", forward: "Cancelled", cancel: true },
165
- { type: "Alert", forward: "Issued", cancel: false },
166
- { type: "Updated", forward: "Updated", cancel: false },
167
- { type: "Expired", forward: "Expired", cancel: true },
168
- { type: "Issued", forward: "Issued", cancel: false },
169
- { type: "Extended", forward: "Updated", cancel: false },
170
- { type: "Correction", forward: "Updated", cancel: false },
171
- { type: "Upgraded", forward: "Upgraded", cancel: false },
172
- { type: "Cancelled", forward: "Cancelled", cancel: true },
173
- { type: "Routine", forward: "Routine", cancel: false }
163
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
164
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
165
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
166
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
167
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
168
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
169
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
170
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
171
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
172
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
173
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
174
174
  ];
175
175
 
176
176
  // src/dictionaries/offshore.ts
@@ -117,17 +117,17 @@ var TYPES = {
117
117
  "X": "Experimental Product (Non-Operational)"
118
118
  };
119
119
  var STATUS_CORRELATIONS = [
120
- { type: "Update", forward: "Updated", cancel: false },
121
- { type: "Cancel", forward: "Cancelled", cancel: true },
122
- { type: "Alert", forward: "Issued", cancel: false },
123
- { type: "Updated", forward: "Updated", cancel: false },
124
- { type: "Expired", forward: "Expired", cancel: true },
125
- { type: "Issued", forward: "Issued", cancel: false },
126
- { type: "Extended", forward: "Updated", cancel: false },
127
- { type: "Correction", forward: "Updated", cancel: false },
128
- { type: "Upgraded", forward: "Upgraded", cancel: false },
129
- { type: "Cancelled", forward: "Cancelled", cancel: true },
130
- { type: "Routine", forward: "Routine", cancel: false }
120
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
121
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
122
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
123
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
124
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
125
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
126
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
127
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
128
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
129
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
130
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
131
131
  ];
132
132
  // Annotate the CommonJS export names for ESM import in node:
133
133
  0 && (module.exports = {
package/dist/cjs/eas.cjs CHANGED
@@ -177,17 +177,17 @@ var TYPES = {
177
177
  "X": "Experimental Product (Non-Operational)"
178
178
  };
179
179
  var STATUS_CORRELATIONS = [
180
- { type: "Update", forward: "Updated", cancel: false },
181
- { type: "Cancel", forward: "Cancelled", cancel: true },
182
- { type: "Alert", forward: "Issued", cancel: false },
183
- { type: "Updated", forward: "Updated", cancel: false },
184
- { type: "Expired", forward: "Expired", cancel: true },
185
- { type: "Issued", forward: "Issued", cancel: false },
186
- { type: "Extended", forward: "Updated", cancel: false },
187
- { type: "Correction", forward: "Updated", cancel: false },
188
- { type: "Upgraded", forward: "Upgraded", cancel: false },
189
- { type: "Cancelled", forward: "Cancelled", cancel: true },
190
- { type: "Routine", forward: "Routine", cancel: false }
180
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
181
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
182
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
183
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
184
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
185
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
186
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
187
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
188
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
189
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
190
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
191
  ];
192
192
 
193
193
  // src/dictionaries/offshore.ts
@@ -1934,6 +1934,8 @@ var EventParser = class {
1934
1934
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
1935
1935
  }
1936
1936
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
1937
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
1938
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
1937
1939
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
1938
1940
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
1939
1941
  if (props.description) {
@@ -185,17 +185,17 @@ var TYPES = {
185
185
  "X": "Experimental Product (Non-Operational)"
186
186
  };
187
187
  var STATUS_CORRELATIONS = [
188
- { type: "Update", forward: "Updated", cancel: false },
189
- { type: "Cancel", forward: "Cancelled", cancel: true },
190
- { type: "Alert", forward: "Issued", cancel: false },
191
- { type: "Updated", forward: "Updated", cancel: false },
192
- { type: "Expired", forward: "Expired", cancel: true },
193
- { type: "Issued", forward: "Issued", cancel: false },
194
- { type: "Extended", forward: "Updated", cancel: false },
195
- { type: "Correction", forward: "Updated", cancel: false },
196
- { type: "Upgraded", forward: "Upgraded", cancel: false },
197
- { type: "Cancelled", forward: "Cancelled", cancel: true },
198
- { type: "Routine", forward: "Routine", cancel: false }
188
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
189
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
190
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
191
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
192
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
193
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
194
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
195
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
196
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
197
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
198
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
199
199
  ];
200
200
 
201
201
  // src/dictionaries/offshore.ts
@@ -2358,6 +2358,8 @@ var EventParser = class {
2358
2358
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2359
2359
  }
2360
2360
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2361
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2362
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2361
2363
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2362
2364
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2363
2365
  if (props.description) {
@@ -177,17 +177,17 @@ var TYPES = {
177
177
  "X": "Experimental Product (Non-Operational)"
178
178
  };
179
179
  var STATUS_CORRELATIONS = [
180
- { type: "Update", forward: "Updated", cancel: false },
181
- { type: "Cancel", forward: "Cancelled", cancel: true },
182
- { type: "Alert", forward: "Issued", cancel: false },
183
- { type: "Updated", forward: "Updated", cancel: false },
184
- { type: "Expired", forward: "Expired", cancel: true },
185
- { type: "Issued", forward: "Issued", cancel: false },
186
- { type: "Extended", forward: "Updated", cancel: false },
187
- { type: "Correction", forward: "Updated", cancel: false },
188
- { type: "Upgraded", forward: "Upgraded", cancel: false },
189
- { type: "Cancelled", forward: "Cancelled", cancel: true },
190
- { type: "Routine", forward: "Routine", cancel: false }
180
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
181
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
182
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
183
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
184
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
185
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
186
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
187
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
188
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
189
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
190
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
191
  ];
192
192
 
193
193
  // src/dictionaries/offshore.ts
@@ -2741,6 +2741,8 @@ var EventParser = class {
2741
2741
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2742
2742
  }
2743
2743
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2744
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2745
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2744
2746
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2745
2747
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2746
2748
  if (props.description) {
@@ -140,17 +140,17 @@ var TYPES = {
140
140
  "X": "Experimental Product (Non-Operational)"
141
141
  };
142
142
  var STATUS_CORRELATIONS = [
143
- { type: "Update", forward: "Updated", cancel: false },
144
- { type: "Cancel", forward: "Cancelled", cancel: true },
145
- { type: "Alert", forward: "Issued", cancel: false },
146
- { type: "Updated", forward: "Updated", cancel: false },
147
- { type: "Expired", forward: "Expired", cancel: true },
148
- { type: "Issued", forward: "Issued", cancel: false },
149
- { type: "Extended", forward: "Updated", cancel: false },
150
- { type: "Correction", forward: "Updated", cancel: false },
151
- { type: "Upgraded", forward: "Upgraded", cancel: false },
152
- { type: "Cancelled", forward: "Cancelled", cancel: true },
153
- { type: "Routine", forward: "Routine", cancel: false }
143
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
144
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
145
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
146
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
147
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
148
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
149
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
150
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
151
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
152
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
153
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
154
154
  ];
155
155
 
156
156
  // src/dictionaries/offshore.ts
@@ -137,17 +137,17 @@ var TYPES = {
137
137
  "X": "Experimental Product (Non-Operational)"
138
138
  };
139
139
  var STATUS_CORRELATIONS = [
140
- { type: "Update", forward: "Updated", cancel: false },
141
- { type: "Cancel", forward: "Cancelled", cancel: true },
142
- { type: "Alert", forward: "Issued", cancel: false },
143
- { type: "Updated", forward: "Updated", cancel: false },
144
- { type: "Expired", forward: "Expired", cancel: true },
145
- { type: "Issued", forward: "Issued", cancel: false },
146
- { type: "Extended", forward: "Updated", cancel: false },
147
- { type: "Correction", forward: "Updated", cancel: false },
148
- { type: "Upgraded", forward: "Upgraded", cancel: false },
149
- { type: "Cancelled", forward: "Cancelled", cancel: true },
150
- { type: "Routine", forward: "Routine", cancel: false }
140
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
141
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
142
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
143
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
144
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
145
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
146
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
147
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
148
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
149
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
150
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
151
151
  ];
152
152
 
153
153
  // src/dictionaries/offshore.ts
@@ -177,17 +177,17 @@ var TYPES = {
177
177
  "X": "Experimental Product (Non-Operational)"
178
178
  };
179
179
  var STATUS_CORRELATIONS = [
180
- { type: "Update", forward: "Updated", cancel: false },
181
- { type: "Cancel", forward: "Cancelled", cancel: true },
182
- { type: "Alert", forward: "Issued", cancel: false },
183
- { type: "Updated", forward: "Updated", cancel: false },
184
- { type: "Expired", forward: "Expired", cancel: true },
185
- { type: "Issued", forward: "Issued", cancel: false },
186
- { type: "Extended", forward: "Updated", cancel: false },
187
- { type: "Correction", forward: "Updated", cancel: false },
188
- { type: "Upgraded", forward: "Upgraded", cancel: false },
189
- { type: "Cancelled", forward: "Cancelled", cancel: true },
190
- { type: "Routine", forward: "Routine", cancel: false }
180
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
181
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
182
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
183
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
184
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
185
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
186
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
187
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
188
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
189
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
190
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
191
  ];
192
192
 
193
193
  // src/dictionaries/offshore.ts
@@ -2664,6 +2664,8 @@ var EventParser = class {
2664
2664
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2665
2665
  }
2666
2666
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2667
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2668
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2667
2669
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2668
2670
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2669
2671
  if (props.description) {
@@ -177,17 +177,17 @@ var TYPES = {
177
177
  "X": "Experimental Product (Non-Operational)"
178
178
  };
179
179
  var STATUS_CORRELATIONS = [
180
- { type: "Update", forward: "Updated", cancel: false },
181
- { type: "Cancel", forward: "Cancelled", cancel: true },
182
- { type: "Alert", forward: "Issued", cancel: false },
183
- { type: "Updated", forward: "Updated", cancel: false },
184
- { type: "Expired", forward: "Expired", cancel: true },
185
- { type: "Issued", forward: "Issued", cancel: false },
186
- { type: "Extended", forward: "Updated", cancel: false },
187
- { type: "Correction", forward: "Updated", cancel: false },
188
- { type: "Upgraded", forward: "Upgraded", cancel: false },
189
- { type: "Cancelled", forward: "Cancelled", cancel: true },
190
- { type: "Routine", forward: "Routine", cancel: false }
180
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
181
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
182
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
183
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
184
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
185
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
186
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
187
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
188
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
189
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
190
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
191
  ];
192
192
 
193
193
  // src/dictionaries/offshore.ts
@@ -2656,6 +2656,8 @@ var EventParser = class {
2656
2656
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2657
2657
  }
2658
2658
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2659
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2660
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2659
2661
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2660
2662
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2661
2663
  if (props.description) {
@@ -177,17 +177,17 @@ var TYPES = {
177
177
  "X": "Experimental Product (Non-Operational)"
178
178
  };
179
179
  var STATUS_CORRELATIONS = [
180
- { type: "Update", forward: "Updated", cancel: false },
181
- { type: "Cancel", forward: "Cancelled", cancel: true },
182
- { type: "Alert", forward: "Issued", cancel: false },
183
- { type: "Updated", forward: "Updated", cancel: false },
184
- { type: "Expired", forward: "Expired", cancel: true },
185
- { type: "Issued", forward: "Issued", cancel: false },
186
- { type: "Extended", forward: "Updated", cancel: false },
187
- { type: "Correction", forward: "Updated", cancel: false },
188
- { type: "Upgraded", forward: "Upgraded", cancel: false },
189
- { type: "Cancelled", forward: "Cancelled", cancel: true },
190
- { type: "Routine", forward: "Routine", cancel: false }
180
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
181
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
182
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
183
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
184
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
185
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
186
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
187
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
188
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
189
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
190
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
191
  ];
192
192
 
193
193
  // src/dictionaries/offshore.ts
@@ -2704,6 +2704,8 @@ var EventParser = class {
2704
2704
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2705
2705
  }
2706
2706
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2707
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2708
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2707
2709
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2708
2710
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2709
2711
  if (props.description) {
@@ -177,17 +177,17 @@ var TYPES = {
177
177
  "X": "Experimental Product (Non-Operational)"
178
178
  };
179
179
  var STATUS_CORRELATIONS = [
180
- { type: "Update", forward: "Updated", cancel: false },
181
- { type: "Cancel", forward: "Cancelled", cancel: true },
182
- { type: "Alert", forward: "Issued", cancel: false },
183
- { type: "Updated", forward: "Updated", cancel: false },
184
- { type: "Expired", forward: "Expired", cancel: true },
185
- { type: "Issued", forward: "Issued", cancel: false },
186
- { type: "Extended", forward: "Updated", cancel: false },
187
- { type: "Correction", forward: "Updated", cancel: false },
188
- { type: "Upgraded", forward: "Upgraded", cancel: false },
189
- { type: "Cancelled", forward: "Cancelled", cancel: true },
190
- { type: "Routine", forward: "Routine", cancel: false }
180
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
181
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
182
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
183
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
184
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
185
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
186
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
187
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
188
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
189
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
190
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
191
  ];
192
192
 
193
193
  // src/dictionaries/offshore.ts
@@ -2674,6 +2674,8 @@ var EventParser = class {
2674
2674
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2675
2675
  }
2676
2676
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2677
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2678
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2677
2679
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2678
2680
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2679
2681
  if (props.description) {
@@ -177,17 +177,17 @@ var TYPES = {
177
177
  "X": "Experimental Product (Non-Operational)"
178
178
  };
179
179
  var STATUS_CORRELATIONS = [
180
- { type: "Update", forward: "Updated", cancel: false },
181
- { type: "Cancel", forward: "Cancelled", cancel: true },
182
- { type: "Alert", forward: "Issued", cancel: false },
183
- { type: "Updated", forward: "Updated", cancel: false },
184
- { type: "Expired", forward: "Expired", cancel: true },
185
- { type: "Issued", forward: "Issued", cancel: false },
186
- { type: "Extended", forward: "Updated", cancel: false },
187
- { type: "Correction", forward: "Updated", cancel: false },
188
- { type: "Upgraded", forward: "Upgraded", cancel: false },
189
- { type: "Cancelled", forward: "Cancelled", cancel: true },
190
- { type: "Routine", forward: "Routine", cancel: false }
180
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
181
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
182
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
183
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
184
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
185
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
186
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
187
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
188
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
189
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
190
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
191
  ];
192
192
 
193
193
  // src/dictionaries/offshore.ts
@@ -2697,6 +2697,8 @@ var EventParser = class {
2697
2697
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2698
2698
  }
2699
2699
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2700
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2701
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2700
2702
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2701
2703
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2702
2704
  if (props.description) {
@@ -157,17 +157,17 @@ var TYPES = {
157
157
  "X": "Experimental Product (Non-Operational)"
158
158
  };
159
159
  var STATUS_CORRELATIONS = [
160
- { type: "Update", forward: "Updated", cancel: false },
161
- { type: "Cancel", forward: "Cancelled", cancel: true },
162
- { type: "Alert", forward: "Issued", cancel: false },
163
- { type: "Updated", forward: "Updated", cancel: false },
164
- { type: "Expired", forward: "Expired", cancel: true },
165
- { type: "Issued", forward: "Issued", cancel: false },
166
- { type: "Extended", forward: "Updated", cancel: false },
167
- { type: "Correction", forward: "Updated", cancel: false },
168
- { type: "Upgraded", forward: "Upgraded", cancel: false },
169
- { type: "Cancelled", forward: "Cancelled", cancel: true },
170
- { type: "Routine", forward: "Routine", cancel: false }
160
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
161
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
162
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
163
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
164
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
165
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
166
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
167
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
168
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
169
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
170
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
171
171
  ];
172
172
 
173
173
  // src/dictionaries/offshore.ts
@@ -157,17 +157,17 @@ var TYPES = {
157
157
  "X": "Experimental Product (Non-Operational)"
158
158
  };
159
159
  var STATUS_CORRELATIONS = [
160
- { type: "Update", forward: "Updated", cancel: false },
161
- { type: "Cancel", forward: "Cancelled", cancel: true },
162
- { type: "Alert", forward: "Issued", cancel: false },
163
- { type: "Updated", forward: "Updated", cancel: false },
164
- { type: "Expired", forward: "Expired", cancel: true },
165
- { type: "Issued", forward: "Issued", cancel: false },
166
- { type: "Extended", forward: "Updated", cancel: false },
167
- { type: "Correction", forward: "Updated", cancel: false },
168
- { type: "Upgraded", forward: "Upgraded", cancel: false },
169
- { type: "Cancelled", forward: "Cancelled", cancel: true },
170
- { type: "Routine", forward: "Routine", cancel: false }
160
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
161
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
162
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
163
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
164
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
165
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
166
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
167
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
168
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
169
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
170
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
171
171
  ];
172
172
 
173
173
  // src/dictionaries/offshore.ts
@@ -177,17 +177,17 @@ var TYPES = {
177
177
  "X": "Experimental Product (Non-Operational)"
178
178
  };
179
179
  var STATUS_CORRELATIONS = [
180
- { type: "Update", forward: "Updated", cancel: false },
181
- { type: "Cancel", forward: "Cancelled", cancel: true },
182
- { type: "Alert", forward: "Issued", cancel: false },
183
- { type: "Updated", forward: "Updated", cancel: false },
184
- { type: "Expired", forward: "Expired", cancel: true },
185
- { type: "Issued", forward: "Issued", cancel: false },
186
- { type: "Extended", forward: "Updated", cancel: false },
187
- { type: "Correction", forward: "Updated", cancel: false },
188
- { type: "Upgraded", forward: "Upgraded", cancel: false },
189
- { type: "Cancelled", forward: "Cancelled", cancel: true },
190
- { type: "Routine", forward: "Routine", cancel: false }
180
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
181
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
182
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
183
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
184
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
185
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
186
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
187
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
188
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
189
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
190
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
191
  ];
192
192
 
193
193
  // src/dictionaries/offshore.ts
@@ -2347,6 +2347,8 @@ var EventParser = class {
2347
2347
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2348
2348
  }
2349
2349
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2350
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2351
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2350
2352
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2351
2353
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2352
2354
  if (props.description) {