clarion-shared-types 1.0.4 → 1.0.6

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.
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./interfaces/workflow-query-info"), exports);
18
17
  __exportStar(require("./interfaces/workflow-state"), exports);
18
+ __exportStar(require("./interfaces/incident-status-changed-payload"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/workflow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,8DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/workflow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,+EAA6D"}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=workflow-query-info.js.map
3
+ //# sourceMappingURL=incident-status-changed-payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incident-status-changed-payload.js","sourceRoot":"","sources":["../../../../../src/modules/workflow/interfaces/incident-status-changed-payload.ts"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- export * from './interfaces/workflow-query-info';
2
1
  export * from './interfaces/workflow-state';
2
+ export * from './interfaces/incident-status-changed-payload';
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/workflow/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/workflow/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8CAA8C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=incident-status-changed-payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incident-status-changed-payload.js","sourceRoot":"","sources":["../../../../../src/modules/workflow/interfaces/incident-status-changed-payload.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export * from './interfaces/workflow-query-info';
2
1
  export * from './interfaces/workflow-state';
2
+ export * from './interfaces/incident-status-changed-payload';
@@ -0,0 +1,6 @@
1
+ import { Incident } from "../../incident";
2
+ export interface IncidentStatusChangedPayload {
3
+ incident: Incident;
4
+ extensionDays?: number;
5
+ timestamp?: number;
6
+ }
@@ -1,5 +1,6 @@
1
1
  import { Incident, IncidentStatus } from "../../incident";
2
2
  export interface WorkflowState {
3
+ id: string;
3
4
  incident: Incident;
4
5
  currentStatus: IncidentStatus;
5
6
  resolutionDeadline: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarion-shared-types",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow-query-info.js","sourceRoot":"","sources":["../../../../../src/modules/workflow/interfaces/workflow-query-info.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=workflow-query-info.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow-query-info.js","sourceRoot":"","sources":["../../../../../src/modules/workflow/interfaces/workflow-query-info.ts"],"names":[],"mappings":""}
@@ -1,27 +0,0 @@
1
- export interface WorkflowQueryInfo {
2
- expirationDescription: string;
3
- expirationDate: string;
4
- expirationTime: string;
5
- durationToExpirationMs: number;
6
- expirationTimestampMs: number;
7
- effectiveElapsedTimeMs: number;
8
- workflowStartTimeMs: number;
9
- durationOnHoldMs: number;
10
- durationRemainingToOnHoldExpirationMs: number;
11
- onHoldStartDate: string;
12
- onHoldStartTime: string;
13
- onHoldStartTimestampMs: number;
14
- onHoldExpiryDate: string;
15
- onHoldExpiryTime: string;
16
- onHoldDurationFormatted: string;
17
- onHoldMaxDurationMs: number;
18
- appealDeadlineDate?: string;
19
- appealDeadlineTime?: string;
20
- appealDeadlineTimestampMs?: number;
21
- durationRemainingToAppealExpirationMs?: number;
22
- appealPeriodDurationMs?: number;
23
- closeDate?: string;
24
- closeTime?: string;
25
- closeTimestampMs?: number;
26
- appealAvailable?: boolean;
27
- }