clarion-shared-types 1.0.10 → 1.0.12

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.
@@ -33,4 +33,5 @@ __exportStar(require("./intefaces/incident-assignment"), exports);
33
33
  __exportStar(require("./intefaces/incident-response-unit-assignment"), exports);
34
34
  __exportStar(require("./intefaces/incident-status-changed"), exports);
35
35
  __exportStar(require("./intefaces/incident-status-details"), exports);
36
+ __exportStar(require("./intefaces/incident-on-hold-record"), exports);
36
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/incident/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAO;AACP,+DAA6C;AAC7C,gEAA8C;AAC9C,8DAA4C;AAC5C,iEAA+C;AAC/C,+DAA6C;AAC7C,gEAA8C;AAC9C,4EAA0D;AAE1D,YAAY;AACZ,uDAAqC;AACrC,8DAA4C;AAC5C,kEAAgD;AAChD,gEAA8C;AAC9C,gEAA8C;AAC9C,4DAA0C;AAC1C,kEAAgD;AAChD,gFAA8D;AAC9D,sEAAoD;AACpD,sEAAoD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/incident/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAO;AACP,+DAA6C;AAC7C,gEAA8C;AAC9C,8DAA4C;AAC5C,iEAA+C;AAC/C,+DAA6C;AAC7C,gEAA8C;AAC9C,4EAA0D;AAE1D,YAAY;AACZ,uDAAqC;AACrC,8DAA4C;AAC5C,kEAAgD;AAChD,gEAA8C;AAC9C,gEAA8C;AAC9C,4DAA0C;AAC1C,kEAAgD;AAChD,gFAA8D;AAC9D,sEAAoD;AACpD,sEAAoD;AACpD,sEAAoD"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=incident-on-hold-record.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incident-on-hold-record.js","sourceRoot":"","sources":["../../../../../src/modules/incident/intefaces/incident-on-hold-record.ts"],"names":[],"mappings":""}
@@ -17,4 +17,5 @@ export * from './intefaces/incident-assignment';
17
17
  export * from './intefaces/incident-response-unit-assignment';
18
18
  export * from './intefaces/incident-status-changed';
19
19
  export * from './intefaces/incident-status-details';
20
+ export * from './intefaces/incident-on-hold-record';
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/incident/index.ts"],"names":[],"mappings":"AAAA,OAAO;AACP,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2CAA2C,CAAC;AAE1D,YAAY;AACZ,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/incident/index.ts"],"names":[],"mappings":"AAAA,OAAO;AACP,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2CAA2C,CAAC;AAE1D,YAAY;AACZ,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=incident-on-hold-record.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incident-on-hold-record.js","sourceRoot":"","sources":["../../../../../src/modules/incident/intefaces/incident-on-hold-record.ts"],"names":[],"mappings":""}
@@ -15,3 +15,4 @@ export * from './intefaces/incident-assignment';
15
15
  export * from './intefaces/incident-response-unit-assignment';
16
16
  export * from './intefaces/incident-status-changed';
17
17
  export * from './intefaces/incident-status-details';
18
+ export * from './intefaces/incident-on-hold-record';
@@ -0,0 +1,6 @@
1
+ export interface IncidentOnHoldRecord {
2
+ startDate: string;
3
+ endDate?: string;
4
+ durationDays: number;
5
+ reason?: string;
6
+ }
@@ -1,6 +1,6 @@
1
- import { Incident } from "./incident";
2
1
  export interface IncidentStatusChanged {
3
- incident: Incident;
2
+ incidentId: number;
3
+ status: string;
4
4
  extensionDays?: number;
5
5
  timestamp?: number;
6
6
  }
@@ -1,6 +1,8 @@
1
+ import { IncidentOnHoldRecord } from "./incident-on-hold-record";
1
2
  export interface IncidentStatusDetails {
2
3
  hasBeenOnHold?: boolean;
3
- maxOnHoldDurationDays?: number;
4
4
  onHoldDurationDays?: number;
5
- extensionDays?: number;
5
+ onHoldStartDate?: string;
6
+ onHoldEndDate?: string;
7
+ onHoldHistory?: IncidentOnHoldRecord[];
6
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarion-shared-types",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",