atmosx-nwws-parser 1.0.2021 → 1.0.2023

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 +27 -12
  5. package/dist/cjs/helper.cjs +27 -12
  6. package/dist/cjs/parsers/events.cjs +27 -12
  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 +27 -12
  10. package/dist/cjs/parsers/types/cap.cjs +27 -12
  11. package/dist/cjs/parsers/types/text.cjs +27 -12
  12. package/dist/cjs/parsers/types/ugc.cjs +27 -12
  13. package/dist/cjs/parsers/types/vtec.cjs +27 -12
  14. package/dist/cjs/parsers/ugc.cjs +11 -11
  15. package/dist/cjs/parsers/vtec.cjs +11 -11
  16. package/dist/cjs/utils.cjs +27 -12
  17. package/dist/cjs/xmpp.cjs +27 -12
  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 +27 -12
  22. package/dist/esm/helper.mjs +27 -12
  23. package/dist/esm/parsers/events.mjs +27 -12
  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 +27 -12
  27. package/dist/esm/parsers/types/cap.mjs +27 -12
  28. package/dist/esm/parsers/types/text.mjs +27 -12
  29. package/dist/esm/parsers/types/ugc.mjs +27 -12
  30. package/dist/esm/parsers/types/vtec.mjs +27 -12
  31. package/dist/esm/parsers/ugc.mjs +11 -11
  32. package/dist/esm/parsers/vtec.mjs +11 -11
  33. package/dist/esm/utils.mjs +27 -12
  34. package/dist/esm/xmpp.mjs +27 -12
  35. package/package.json +1 -1
  36. package/src/dictionaries/events.ts +12 -12
  37. package/src/parsers/events.ts +4 -1
@@ -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
@@ -21,6 +21,18 @@ var __spreadValues = (a, b) => {
21
21
  return a;
22
22
  };
23
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ var __objRest = (source, exclude) => {
25
+ var target = {};
26
+ for (var prop in source)
27
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
28
+ target[prop] = source[prop];
29
+ if (source != null && __getOwnPropSymbols)
30
+ for (var prop of __getOwnPropSymbols(source)) {
31
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
32
+ target[prop] = source[prop];
33
+ }
34
+ return target;
35
+ };
24
36
  var __export = (target, all) => {
25
37
  for (var name in all)
26
38
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -177,17 +189,17 @@ var TYPES = {
177
189
  "X": "Experimental Product (Non-Operational)"
178
190
  };
179
191
  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 }
192
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
193
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
194
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
195
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
196
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
197
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
198
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
199
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
200
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
201
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
202
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
203
  ];
192
204
 
193
205
  // src/dictionaries/offshore.ts
@@ -1934,8 +1946,11 @@ var EventParser = class {
1934
1946
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
1935
1947
  }
1936
1948
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
1949
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
1950
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
1937
1951
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
1938
- originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
1952
+ const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
1953
+ originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
1939
1954
  if (props.description) {
1940
1955
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
1941
1956
  if (detectedPhrase && bools.checkExpired) {
@@ -21,6 +21,18 @@ var __spreadValues = (a, b) => {
21
21
  return a;
22
22
  };
23
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ var __objRest = (source, exclude) => {
25
+ var target = {};
26
+ for (var prop in source)
27
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
28
+ target[prop] = source[prop];
29
+ if (source != null && __getOwnPropSymbols)
30
+ for (var prop of __getOwnPropSymbols(source)) {
31
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
32
+ target[prop] = source[prop];
33
+ }
34
+ return target;
35
+ };
24
36
  var __export = (target, all) => {
25
37
  for (var name in all)
26
38
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -185,17 +197,17 @@ var TYPES = {
185
197
  "X": "Experimental Product (Non-Operational)"
186
198
  };
187
199
  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 }
200
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
201
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
202
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
203
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
204
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
205
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
206
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
207
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
208
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
209
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
210
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
199
211
  ];
200
212
 
201
213
  // src/dictionaries/offshore.ts
@@ -2358,8 +2370,11 @@ var EventParser = class {
2358
2370
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2359
2371
  }
2360
2372
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2373
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2374
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2361
2375
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2362
- originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2376
+ const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2377
+ originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2363
2378
  if (props.description) {
2364
2379
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
2365
2380
  if (detectedPhrase && bools.checkExpired) {
@@ -21,6 +21,18 @@ var __spreadValues = (a, b) => {
21
21
  return a;
22
22
  };
23
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ var __objRest = (source, exclude) => {
25
+ var target = {};
26
+ for (var prop in source)
27
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
28
+ target[prop] = source[prop];
29
+ if (source != null && __getOwnPropSymbols)
30
+ for (var prop of __getOwnPropSymbols(source)) {
31
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
32
+ target[prop] = source[prop];
33
+ }
34
+ return target;
35
+ };
24
36
  var __export = (target, all) => {
25
37
  for (var name in all)
26
38
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -177,17 +189,17 @@ var TYPES = {
177
189
  "X": "Experimental Product (Non-Operational)"
178
190
  };
179
191
  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 }
192
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
193
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
194
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
195
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
196
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
197
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
198
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
199
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
200
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
201
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
202
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
203
  ];
192
204
 
193
205
  // src/dictionaries/offshore.ts
@@ -2741,8 +2753,11 @@ var EventParser = class {
2741
2753
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2742
2754
  }
2743
2755
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2756
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2757
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2744
2758
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2745
- originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2759
+ const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2760
+ originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2746
2761
  if (props.description) {
2747
2762
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
2748
2763
  if (detectedPhrase && bools.checkExpired) {
@@ -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
@@ -21,6 +21,18 @@ var __spreadValues = (a, b) => {
21
21
  return a;
22
22
  };
23
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ var __objRest = (source, exclude) => {
25
+ var target = {};
26
+ for (var prop in source)
27
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
28
+ target[prop] = source[prop];
29
+ if (source != null && __getOwnPropSymbols)
30
+ for (var prop of __getOwnPropSymbols(source)) {
31
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
32
+ target[prop] = source[prop];
33
+ }
34
+ return target;
35
+ };
24
36
  var __export = (target, all) => {
25
37
  for (var name in all)
26
38
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -177,17 +189,17 @@ var TYPES = {
177
189
  "X": "Experimental Product (Non-Operational)"
178
190
  };
179
191
  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 }
192
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
193
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
194
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
195
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
196
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
197
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
198
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
199
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
200
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
201
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
202
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
203
  ];
192
204
 
193
205
  // src/dictionaries/offshore.ts
@@ -2664,8 +2676,11 @@ var EventParser = class {
2664
2676
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2665
2677
  }
2666
2678
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2679
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2680
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2667
2681
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2668
- originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2682
+ const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2683
+ originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2669
2684
  if (props.description) {
2670
2685
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
2671
2686
  if (detectedPhrase && bools.checkExpired) {
@@ -21,6 +21,18 @@ var __spreadValues = (a, b) => {
21
21
  return a;
22
22
  };
23
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ var __objRest = (source, exclude) => {
25
+ var target = {};
26
+ for (var prop in source)
27
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
28
+ target[prop] = source[prop];
29
+ if (source != null && __getOwnPropSymbols)
30
+ for (var prop of __getOwnPropSymbols(source)) {
31
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
32
+ target[prop] = source[prop];
33
+ }
34
+ return target;
35
+ };
24
36
  var __export = (target, all) => {
25
37
  for (var name in all)
26
38
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -177,17 +189,17 @@ var TYPES = {
177
189
  "X": "Experimental Product (Non-Operational)"
178
190
  };
179
191
  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 }
192
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
193
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
194
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
195
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
196
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
197
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
198
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
199
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
200
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
201
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
202
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
203
  ];
192
204
 
193
205
  // src/dictionaries/offshore.ts
@@ -2656,8 +2668,11 @@ var EventParser = class {
2656
2668
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2657
2669
  }
2658
2670
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2671
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2672
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2659
2673
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2660
- originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2674
+ const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2675
+ originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2661
2676
  if (props.description) {
2662
2677
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
2663
2678
  if (detectedPhrase && bools.checkExpired) {
@@ -21,6 +21,18 @@ var __spreadValues = (a, b) => {
21
21
  return a;
22
22
  };
23
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ var __objRest = (source, exclude) => {
25
+ var target = {};
26
+ for (var prop in source)
27
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
28
+ target[prop] = source[prop];
29
+ if (source != null && __getOwnPropSymbols)
30
+ for (var prop of __getOwnPropSymbols(source)) {
31
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
32
+ target[prop] = source[prop];
33
+ }
34
+ return target;
35
+ };
24
36
  var __export = (target, all) => {
25
37
  for (var name in all)
26
38
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -177,17 +189,17 @@ var TYPES = {
177
189
  "X": "Experimental Product (Non-Operational)"
178
190
  };
179
191
  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 }
192
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
193
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
194
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
195
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
196
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
197
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
198
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
199
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
200
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
201
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
202
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
203
  ];
192
204
 
193
205
  // src/dictionaries/offshore.ts
@@ -2704,8 +2716,11 @@ var EventParser = class {
2704
2716
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2705
2717
  }
2706
2718
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2719
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2720
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2707
2721
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2708
- originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2722
+ const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2723
+ originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2709
2724
  if (props.description) {
2710
2725
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
2711
2726
  if (detectedPhrase && bools.checkExpired) {
@@ -21,6 +21,18 @@ var __spreadValues = (a, b) => {
21
21
  return a;
22
22
  };
23
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ var __objRest = (source, exclude) => {
25
+ var target = {};
26
+ for (var prop in source)
27
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
28
+ target[prop] = source[prop];
29
+ if (source != null && __getOwnPropSymbols)
30
+ for (var prop of __getOwnPropSymbols(source)) {
31
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
32
+ target[prop] = source[prop];
33
+ }
34
+ return target;
35
+ };
24
36
  var __export = (target, all) => {
25
37
  for (var name in all)
26
38
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -177,17 +189,17 @@ var TYPES = {
177
189
  "X": "Experimental Product (Non-Operational)"
178
190
  };
179
191
  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 }
192
+ { type: "Update", forward: "Updated", cancel: false, update: true, new: false },
193
+ { type: "Cancel", forward: "Cancelled", cancel: true, update: false, new: false },
194
+ { type: "Alert", forward: "Issued", cancel: false, update: false, new: true },
195
+ { type: "Updated", forward: "Updated", cancel: false, update: true, new: false },
196
+ { type: "Expired", forward: "Expired", cancel: true, update: false, new: false },
197
+ { type: "Issued", forward: "Issued", cancel: false, update: false, new: true },
198
+ { type: "Extended", forward: "Updated", cancel: false, update: true, new: false },
199
+ { type: "Correction", forward: "Updated", cancel: false, update: true, new: false },
200
+ { type: "Upgraded", forward: "Upgraded", cancel: false, update: true, new: false },
201
+ { type: "Cancelled", forward: "Cancelled", cancel: true, update: false, new: false },
202
+ { type: "Routine", forward: "Routine", cancel: false, update: true, new: false }
191
203
  ];
192
204
 
193
205
  // src/dictionaries/offshore.ts
@@ -2674,8 +2686,11 @@ var EventParser = class {
2674
2686
  if (key === "checkExpired" && setting && new Date(props == null ? void 0 : props.expires).getTime() < (/* @__PURE__ */ new Date()).getTime()) return false;
2675
2687
  }
2676
2688
  originalEvent.properties.action_type = statusCorrelation ? statusCorrelation.forward : originalEvent.properties.action_type;
2689
+ originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2690
+ originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2677
2691
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2678
- originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(originalEvent)).digest("hex");
2692
+ const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2693
+ originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2679
2694
  if (props.description) {
2680
2695
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
2681
2696
  if (detectedPhrase && bools.checkExpired) {