clarion-shared-types 1.0.40 → 1.0.42

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.
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IncidentEmergencyType = void 0;
4
+ var IncidentEmergencyType;
5
+ (function (IncidentEmergencyType) {
6
+ IncidentEmergencyType["EMERGENCY"] = "emergency";
7
+ IncidentEmergencyType["NON_EMERGENCY"] = "non-emergency";
8
+ IncidentEmergencyType["PANIC"] = "panic";
9
+ })(IncidentEmergencyType || (exports.IncidentEmergencyType = IncidentEmergencyType = {}));
10
+ //# sourceMappingURL=incident-emergency-type.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incident-emergency-type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/incident/enums/incident-emergency-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,gDAAuB,CAAA;IACvB,wDAA+B,CAAA;IAC/B,wCAAe,CAAA;AACnB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
@@ -22,6 +22,7 @@ __exportStar(require("./enums/incident-priority.enum"), exports);
22
22
  __exportStar(require("./enums/incident-status.enum"), exports);
23
23
  __exportStar(require("./enums/incident-actions.enum"), exports);
24
24
  __exportStar(require("./enums/incident-workflow-queue-name.enum"), exports);
25
+ __exportStar(require("./enums/incident-emergency-type.enum"), exports);
25
26
  //Interfaces
26
27
  __exportStar(require("./intefaces/incident"), exports);
27
28
  __exportStar(require("./intefaces/incident-action"), exports);
@@ -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;AACpD,sEAAoD;AACpD,8DAA4C;AAC5C,wDAAsC"}
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;AAC1D,uEAAqD;AAErD,YAAY;AACZ,uDAAqC;AACrC,8DAA4C;AAC5C,kEAAgD;AAChD,gEAA8C;AAC9C,gEAA8C;AAC9C,4DAA0C;AAC1C,kEAAgD;AAChD,gFAA8D;AAC9D,sEAAoD;AACpD,sEAAoD;AACpD,sEAAoD;AACpD,8DAA4C;AAC5C,wDAAsC"}
@@ -4,6 +4,7 @@ exports.GuardianRelationship = void 0;
4
4
  var GuardianRelationship;
5
5
  (function (GuardianRelationship) {
6
6
  GuardianRelationship["PARENT"] = "parent";
7
+ GuardianRelationship["SPOUSE"] = "spouse";
7
8
  GuardianRelationship["SIBLING"] = "sibling";
8
9
  GuardianRelationship["GRANDPARENT"] = "grandparent";
9
10
  GuardianRelationship["AUNT"] = "aunt";
@@ -1 +1 @@
1
- {"version":3,"file":"guardian-relationship.enum.js","sourceRoot":"","sources":["../../../../../src/modules/user/enums/guardian-relationship.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAWX;AAXD,WAAY,oBAAoB;IAC5B,yCAAiB,CAAA;IACjB,2CAAmB,CAAA;IACnB,mDAA2B,CAAA;IAC3B,qCAAa,CAAA;IACb,uCAAe,CAAA;IACf,yDAAiC,CAAA;IACjC,6CAAqB,CAAA;IACrB,yCAAiB,CAAA;IACjB,+DAAuC,CAAA;IACvC,uCAAe,CAAA;AACnB,CAAC,EAXW,oBAAoB,oCAApB,oBAAoB,QAW/B"}
1
+ {"version":3,"file":"guardian-relationship.enum.js","sourceRoot":"","sources":["../../../../../src/modules/user/enums/guardian-relationship.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAYX;AAZD,WAAY,oBAAoB;IAC5B,yCAAiB,CAAA;IACjB,yCAAiB,CAAA;IACjB,2CAAmB,CAAA;IACnB,mDAA2B,CAAA;IAC3B,qCAAa,CAAA;IACb,uCAAe,CAAA;IACf,yDAAiC,CAAA;IACjC,6CAAqB,CAAA;IACrB,yCAAiB,CAAA;IACjB,+DAAuC,CAAA;IACvC,uCAAe,CAAA;AACnB,CAAC,EAZW,oBAAoB,oCAApB,oBAAoB,QAY/B"}
@@ -0,0 +1,7 @@
1
+ export var IncidentEmergencyType;
2
+ (function (IncidentEmergencyType) {
3
+ IncidentEmergencyType["EMERGENCY"] = "emergency";
4
+ IncidentEmergencyType["NON_EMERGENCY"] = "non-emergency";
5
+ IncidentEmergencyType["PANIC"] = "panic";
6
+ })(IncidentEmergencyType || (IncidentEmergencyType = {}));
7
+ //# sourceMappingURL=incident-emergency-type.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incident-emergency-type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/incident/enums/incident-emergency-type.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,gDAAuB,CAAA;IACvB,wDAA+B,CAAA;IAC/B,wCAAe,CAAA;AACnB,CAAC,EAJW,qBAAqB,KAArB,qBAAqB,QAIhC"}
@@ -6,6 +6,7 @@ export * from './enums/incident-priority.enum';
6
6
  export * from './enums/incident-status.enum';
7
7
  export * from './enums/incident-actions.enum';
8
8
  export * from './enums/incident-workflow-queue-name.enum';
9
+ export * from './enums/incident-emergency-type.enum';
9
10
  //Interfaces
10
11
  export * from './intefaces/incident';
11
12
  export * from './intefaces/incident-action';
@@ -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;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,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;AAC1D,cAAc,sCAAsC,CAAC;AAErD,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;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export var GuardianRelationship;
2
2
  (function (GuardianRelationship) {
3
3
  GuardianRelationship["PARENT"] = "parent";
4
+ GuardianRelationship["SPOUSE"] = "spouse";
4
5
  GuardianRelationship["SIBLING"] = "sibling";
5
6
  GuardianRelationship["GRANDPARENT"] = "grandparent";
6
7
  GuardianRelationship["AUNT"] = "aunt";
@@ -1 +1 @@
1
- {"version":3,"file":"guardian-relationship.enum.js","sourceRoot":"","sources":["../../../../../src/modules/user/enums/guardian-relationship.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,oBAWX;AAXD,WAAY,oBAAoB;IAC5B,yCAAiB,CAAA;IACjB,2CAAmB,CAAA;IACnB,mDAA2B,CAAA;IAC3B,qCAAa,CAAA;IACb,uCAAe,CAAA;IACf,yDAAiC,CAAA;IACjC,6CAAqB,CAAA;IACrB,yCAAiB,CAAA;IACjB,+DAAuC,CAAA;IACvC,uCAAe,CAAA;AACnB,CAAC,EAXW,oBAAoB,KAApB,oBAAoB,QAW/B"}
1
+ {"version":3,"file":"guardian-relationship.enum.js","sourceRoot":"","sources":["../../../../../src/modules/user/enums/guardian-relationship.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,oBAYX;AAZD,WAAY,oBAAoB;IAC5B,yCAAiB,CAAA;IACjB,yCAAiB,CAAA;IACjB,2CAAmB,CAAA;IACnB,mDAA2B,CAAA;IAC3B,qCAAa,CAAA;IACb,uCAAe,CAAA;IACf,yDAAiC,CAAA;IACjC,6CAAqB,CAAA;IACrB,yCAAiB,CAAA;IACjB,+DAAuC,CAAA;IACvC,uCAAe,CAAA;AACnB,CAAC,EAZW,oBAAoB,KAApB,oBAAoB,QAY/B"}
@@ -0,0 +1,5 @@
1
+ export declare enum IncidentEmergencyType {
2
+ EMERGENCY = "emergency",
3
+ NON_EMERGENCY = "non-emergency",
4
+ PANIC = "panic"
5
+ }
@@ -5,6 +5,7 @@ export * from './enums/incident-priority.enum';
5
5
  export * from './enums/incident-status.enum';
6
6
  export * from './enums/incident-actions.enum';
7
7
  export * from './enums/incident-workflow-queue-name.enum';
8
+ export * from './enums/incident-emergency-type.enum';
8
9
  export * from './intefaces/incident';
9
10
  export * from './intefaces/incident-action';
10
11
  export * from './intefaces/incident-attachment';
@@ -8,15 +8,17 @@ import { IncidentWorkflowTaskQueueName } from "../enums/incident-workflow-queue-
8
8
  import { IncidentAction } from "./incident-action";
9
9
  import { IncidentAssignment } from "./incident-assignment";
10
10
  import { IncidentCategory } from "./incident-category";
11
- import { IncidentReport } from "./incident-report";
11
+ import { IncidentStatusDetails } from "./incident-status-details";
12
12
  import { IncidentReporter } from "./incident-reporter";
13
13
  import { IncidentResponseUnitAssignment } from "./incident-response-unit-assignment";
14
- import { IncidentStatusDetails } from "./incident-status-details";
15
14
  import { IncidentType } from "./incident-type";
15
+ import { IncidentReport } from "./incident-report";
16
+ import { IncidentEmergencyType } from "../enums/incident-emergency-type.enum";
16
17
  export interface Incident {
17
18
  id?: number;
18
19
  appId: IncidentAppId;
19
20
  class: IncidentClass;
21
+ emergencyType: IncidentEmergencyType;
20
22
  reporter: IncidentReporter;
21
23
  isAnonymous?: boolean;
22
24
  channel: IncidentChannel;
@@ -30,8 +32,8 @@ export interface Incident {
30
32
  location?: MapLocation;
31
33
  creatorId?: number;
32
34
  assigneeIds?: number[];
33
- responseUnitIds?: number[];
34
35
  attachmentIds?: number[];
36
+ responseUnitIds?: number[];
35
37
  workflowTaskQueueName: IncidentWorkflowTaskQueueName;
36
38
  controlCentreId: number;
37
39
  organizationId: number;
@@ -1,5 +1,6 @@
1
1
  export declare enum GuardianRelationship {
2
2
  PARENT = "parent",
3
+ SPOUSE = "spouse",
3
4
  SIBLING = "sibling",
4
5
  GRANDPARENT = "grandparent",
5
6
  AUNT = "aunt",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarion-shared-types",
3
- "version": "1.0.40",
3
+ "version": "1.0.42",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",