grm-shared-library 1.1.18 → 1.1.19
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.
- package/dist/cjs/modules/incident/dtos/incident/incident-on-hold-record.dto.js +37 -0
- package/dist/cjs/modules/incident/dtos/incident/incident-on-hold-record.dto.js.map +1 -0
- package/dist/cjs/modules/incident/dtos/incident/incident-status-details.dto.js +13 -13
- package/dist/cjs/modules/incident/dtos/incident/incident-status-details.dto.js.map +1 -1
- package/dist/cjs/modules/incident/index.js +4 -2
- package/dist/cjs/modules/incident/index.js.map +1 -1
- package/dist/cjs/modules/incident/intefaces/incident-on-hold-record.js +3 -0
- package/dist/cjs/modules/incident/intefaces/incident-on-hold-record.js.map +1 -0
- package/dist/esm/modules/incident/dtos/incident/incident-on-hold-record.dto.js +33 -0
- package/dist/esm/modules/incident/dtos/incident/incident-on-hold-record.dto.js.map +1 -0
- package/dist/esm/modules/incident/dtos/incident/incident-status-details.dto.js +14 -14
- package/dist/esm/modules/incident/dtos/incident/incident-status-details.dto.js.map +1 -1
- package/dist/esm/modules/incident/index.js +4 -2
- package/dist/esm/modules/incident/index.js.map +1 -1
- package/dist/esm/modules/incident/intefaces/incident-on-hold-record.js +2 -0
- package/dist/esm/modules/incident/intefaces/incident-on-hold-record.js.map +1 -0
- package/dist/types/modules/incident/dtos/incident/incident-on-hold-record.dto.d.ts +6 -0
- package/dist/types/modules/incident/dtos/incident/incident-status-details.dto.d.ts +4 -2
- package/dist/types/modules/incident/index.d.ts +4 -2
- package/dist/types/modules/incident/intefaces/incident-on-hold-record.d.ts +6 -0
- package/dist/types/modules/incident/intefaces/incident-status-details.d.ts +4 -2
- package/package.json +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.IncidentOnHoldRecordDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class IncidentOnHoldRecordDto {
|
|
15
|
+
}
|
|
16
|
+
exports.IncidentOnHoldRecordDto = IncidentOnHoldRecordDto;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsDate)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", Date)
|
|
21
|
+
], IncidentOnHoldRecordDto.prototype, "startDate", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsDate)(),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
__metadata("design:type", Date)
|
|
26
|
+
], IncidentOnHoldRecordDto.prototype, "endDate", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNumber)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], IncidentOnHoldRecordDto.prototype, "durationDays", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], IncidentOnHoldRecordDto.prototype, "reason", void 0);
|
|
37
|
+
//# sourceMappingURL=incident-on-hold-record.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-on-hold-record.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/incident/dtos/incident/incident-on-hold-record.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqF;AAErF,MAAa,uBAAuB;CAgBnC;AAhBD,0DAgBC;AAbG;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACD,IAAI;0DAAC;AAIjB;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACH,IAAI;wDAAC;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACS;AAItB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACG"}
|
|
@@ -12,12 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.IncidentStatusDetailsDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class IncidentStatusDetailsDto {
|
|
15
|
-
constructor() {
|
|
16
|
-
this.hasBeenOnHold = false;
|
|
17
|
-
this.maxOnHoldDurationDays = 10;
|
|
18
|
-
this.onHoldDurationDays = 0;
|
|
19
|
-
this.extensionDays = 0;
|
|
20
|
-
}
|
|
21
15
|
}
|
|
22
16
|
exports.IncidentStatusDetailsDto = IncidentStatusDetailsDto;
|
|
23
17
|
__decorate([
|
|
@@ -29,15 +23,21 @@ __decorate([
|
|
|
29
23
|
(0, class_validator_1.IsNumber)(),
|
|
30
24
|
(0, class_validator_1.IsOptional)(),
|
|
31
25
|
__metadata("design:type", Number)
|
|
32
|
-
], IncidentStatusDetailsDto.prototype, "
|
|
26
|
+
], IncidentStatusDetailsDto.prototype, "onHoldDurationDays", void 0);
|
|
33
27
|
__decorate([
|
|
34
|
-
(0, class_validator_1.
|
|
28
|
+
(0, class_validator_1.IsDate)(),
|
|
35
29
|
(0, class_validator_1.IsOptional)(),
|
|
36
|
-
__metadata("design:type",
|
|
37
|
-
], IncidentStatusDetailsDto.prototype, "
|
|
30
|
+
__metadata("design:type", Date)
|
|
31
|
+
], IncidentStatusDetailsDto.prototype, "onHoldStartDate", void 0);
|
|
38
32
|
__decorate([
|
|
39
|
-
(0, class_validator_1.
|
|
33
|
+
(0, class_validator_1.IsDate)(),
|
|
40
34
|
(0, class_validator_1.IsOptional)(),
|
|
41
|
-
__metadata("design:type",
|
|
42
|
-
], IncidentStatusDetailsDto.prototype, "
|
|
35
|
+
__metadata("design:type", Date)
|
|
36
|
+
], IncidentStatusDetailsDto.prototype, "onHoldEndDate", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
39
|
+
(0, class_validator_1.IsArray)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
__metadata("design:type", Array)
|
|
42
|
+
], IncidentStatusDetailsDto.prototype, "onHoldHistory", void 0);
|
|
43
43
|
//# sourceMappingURL=incident-status-details.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incident-status-details.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/incident/dtos/incident/incident-status-details.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"incident-status-details.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/incident/dtos/incident/incident-status-details.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmG;AAGnG,MAAa,wBAAwB;CAqBpC;AArBD,4DAqBC;AAlBG;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACW;AAIxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oEACe;AAI5B;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACK,IAAI;iEAAC;AAIvB;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACG,IAAI;+DAAC;AAKrB;IAHC,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;+DAC6B"}
|
|
@@ -25,6 +25,9 @@ __exportStar(require("./dtos/category/update-incident-category.dto"), exports);
|
|
|
25
25
|
__exportStar(require("./dtos/incident/incident.dto"), exports);
|
|
26
26
|
__exportStar(require("./dtos/incident/create-incident.dto"), exports);
|
|
27
27
|
__exportStar(require("./dtos/incident/update-incident.dto"), exports);
|
|
28
|
+
__exportStar(require("./dtos/incident/incident-status-details.dto"), exports);
|
|
29
|
+
__exportStar(require("./dtos/incident/incident-status-changed.dto"), exports);
|
|
30
|
+
__exportStar(require("./dtos/incident/incident-on-hold-record.dto"), exports);
|
|
28
31
|
__exportStar(require("./dtos/reporter/incident-reporter.dto"), exports);
|
|
29
32
|
__exportStar(require("./dtos/type/create-incident-type.dto"), exports);
|
|
30
33
|
__exportStar(require("./dtos/type/update-incident-type.dto"), exports);
|
|
@@ -37,8 +40,6 @@ __exportStar(require("./dtos/response-unit-assignment/update-incident-response-u
|
|
|
37
40
|
__exportStar(require("./dtos/reporter/incident-reporter.dto"), exports);
|
|
38
41
|
__exportStar(require("./dtos/reporter/create-incident-reporter.dto"), exports);
|
|
39
42
|
__exportStar(require("./dtos/reporter/update-incident-reporter.dto"), exports);
|
|
40
|
-
__exportStar(require("./dtos/incident/incident-status-changed.dto"), exports);
|
|
41
|
-
__exportStar(require("./dtos/incident/incident-status-details.dto"), exports);
|
|
42
43
|
//enums
|
|
43
44
|
__exportStar(require("./enums/incident-app-id.enum"), exports);
|
|
44
45
|
__exportStar(require("./enums/incident-channel.enum"), exports);
|
|
@@ -58,4 +59,5 @@ __exportStar(require("./intefaces/incident-assignment"), exports);
|
|
|
58
59
|
__exportStar(require("./intefaces/incident-response-unit-assignment"), exports);
|
|
59
60
|
__exportStar(require("./intefaces/incident-status-changed"), exports);
|
|
60
61
|
__exportStar(require("./intefaces/incident-status-details"), exports);
|
|
62
|
+
__exportStar(require("./intefaces/incident-on-hold-record"), exports);
|
|
61
63
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/incident/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAO;AACP,oEAAkD;AAClD,2EAAyD;AACzD,0EAAwD;AACxD,mFAAiE;AACjE,mFAAiE;AACjE,+EAA6D;AAC7D,+EAA6D;AAC7D,+DAA6C;AAC7C,sEAAoD;AACpD,sEAAoD;AACpD,wEAAsD;AACtD,uEAAqD;AACrD,uEAAqD;AACrD,4EAA0D;AAC1D,mFAAiE;AACjE,mFAAiE;AACjE,wGAAsF;AACtF,+GAA6F;AAC7F,+GAA6F;AAC7F,wEAAsD;AACtD,+EAA6D;AAC7D,+EAA6D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/incident/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAO;AACP,oEAAkD;AAClD,2EAAyD;AACzD,0EAAwD;AACxD,mFAAiE;AACjE,mFAAiE;AACjE,+EAA6D;AAC7D,+EAA6D;AAC7D,+DAA6C;AAC7C,sEAAoD;AACpD,sEAAoD;AACpD,8EAA4D;AAC5D,8EAA4D;AAC5D,8EAA4D;AAC5D,wEAAsD;AACtD,uEAAqD;AACrD,uEAAqD;AACrD,4EAA0D;AAC1D,mFAAiE;AACjE,mFAAiE;AACjE,wGAAsF;AACtF,+GAA6F;AAC7F,+GAA6F;AAC7F,wEAAsD;AACtD,+EAA6D;AAC7D,+EAA6D;AAE7D,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 @@
|
|
|
1
|
+
{"version":3,"file":"incident-on-hold-record.js","sourceRoot":"","sources":["../../../../../src/modules/incident/intefaces/incident-on-hold-record.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsDate, IsNotEmpty, IsNumber, IsOptional, IsString } from "class-validator";
|
|
11
|
+
export class IncidentOnHoldRecordDto {
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
IsDate(),
|
|
15
|
+
IsNotEmpty(),
|
|
16
|
+
__metadata("design:type", Date)
|
|
17
|
+
], IncidentOnHoldRecordDto.prototype, "startDate", void 0);
|
|
18
|
+
__decorate([
|
|
19
|
+
IsDate(),
|
|
20
|
+
IsOptional(),
|
|
21
|
+
__metadata("design:type", Date)
|
|
22
|
+
], IncidentOnHoldRecordDto.prototype, "endDate", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
IsNumber(),
|
|
25
|
+
IsNotEmpty(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], IncidentOnHoldRecordDto.prototype, "durationDays", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
IsString(),
|
|
30
|
+
IsOptional(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], IncidentOnHoldRecordDto.prototype, "reason", void 0);
|
|
33
|
+
//# sourceMappingURL=incident-on-hold-record.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-on-hold-record.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/incident/dtos/incident/incident-on-hold-record.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAErF,MAAM,OAAO,uBAAuB;CAgBnC;AAbG;IAFC,MAAM,EAAE;IACR,UAAU,EAAE;8BACD,IAAI;0DAAC;AAIjB;IAFC,MAAM,EAAE;IACR,UAAU,EAAE;8BACH,IAAI;wDAAC;AAIf;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;6DACS;AAItB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;uDACG"}
|
|
@@ -7,14 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsBoolean, IsNumber, IsOptional } from "class-validator";
|
|
10
|
+
import { IsArray, IsBoolean, IsDate, IsNumber, IsOptional, ValidateNested } from "class-validator";
|
|
11
11
|
export class IncidentStatusDetailsDto {
|
|
12
|
-
constructor() {
|
|
13
|
-
this.hasBeenOnHold = false;
|
|
14
|
-
this.maxOnHoldDurationDays = 10;
|
|
15
|
-
this.onHoldDurationDays = 0;
|
|
16
|
-
this.extensionDays = 0;
|
|
17
|
-
}
|
|
18
12
|
}
|
|
19
13
|
__decorate([
|
|
20
14
|
IsBoolean(),
|
|
@@ -25,15 +19,21 @@ __decorate([
|
|
|
25
19
|
IsNumber(),
|
|
26
20
|
IsOptional(),
|
|
27
21
|
__metadata("design:type", Number)
|
|
28
|
-
], IncidentStatusDetailsDto.prototype, "
|
|
22
|
+
], IncidentStatusDetailsDto.prototype, "onHoldDurationDays", void 0);
|
|
29
23
|
__decorate([
|
|
30
|
-
|
|
24
|
+
IsDate(),
|
|
31
25
|
IsOptional(),
|
|
32
|
-
__metadata("design:type",
|
|
33
|
-
], IncidentStatusDetailsDto.prototype, "
|
|
26
|
+
__metadata("design:type", Date)
|
|
27
|
+
], IncidentStatusDetailsDto.prototype, "onHoldStartDate", void 0);
|
|
34
28
|
__decorate([
|
|
35
|
-
|
|
29
|
+
IsDate(),
|
|
36
30
|
IsOptional(),
|
|
37
|
-
__metadata("design:type",
|
|
38
|
-
], IncidentStatusDetailsDto.prototype, "
|
|
31
|
+
__metadata("design:type", Date)
|
|
32
|
+
], IncidentStatusDetailsDto.prototype, "onHoldEndDate", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ValidateNested({ each: true }),
|
|
35
|
+
IsArray(),
|
|
36
|
+
IsOptional(),
|
|
37
|
+
__metadata("design:type", Array)
|
|
38
|
+
], IncidentStatusDetailsDto.prototype, "onHoldHistory", void 0);
|
|
39
39
|
//# sourceMappingURL=incident-status-details.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incident-status-details.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/incident/dtos/incident/incident-status-details.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"incident-status-details.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/incident/dtos/incident/incident-status-details.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGnG,MAAM,OAAO,wBAAwB;CAqBpC;AAlBG;IAFC,SAAS,EAAE;IACX,UAAU,EAAE;;+DACW;AAIxB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;oEACe;AAI5B;IAFC,MAAM,EAAE;IACR,UAAU,EAAE;8BACK,IAAI;iEAAC;AAIvB;IAFC,MAAM,EAAE;IACR,UAAU,EAAE;8BACG,IAAI;+DAAC;AAKrB;IAHC,cAAc,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,OAAO,EAAE;IACT,UAAU,EAAE;;+DAC6B"}
|
|
@@ -9,6 +9,9 @@ export * from './dtos/category/update-incident-category.dto';
|
|
|
9
9
|
export * from './dtos/incident/incident.dto';
|
|
10
10
|
export * from './dtos/incident/create-incident.dto';
|
|
11
11
|
export * from './dtos/incident/update-incident.dto';
|
|
12
|
+
export * from './dtos/incident/incident-status-details.dto';
|
|
13
|
+
export * from './dtos/incident/incident-status-changed.dto';
|
|
14
|
+
export * from './dtos/incident/incident-on-hold-record.dto';
|
|
12
15
|
export * from './dtos/reporter/incident-reporter.dto';
|
|
13
16
|
export * from './dtos/type/create-incident-type.dto';
|
|
14
17
|
export * from './dtos/type/update-incident-type.dto';
|
|
@@ -21,8 +24,6 @@ export * from './dtos/response-unit-assignment/update-incident-response-unit-ass
|
|
|
21
24
|
export * from './dtos/reporter/incident-reporter.dto';
|
|
22
25
|
export * from './dtos/reporter/create-incident-reporter.dto';
|
|
23
26
|
export * from './dtos/reporter/update-incident-reporter.dto';
|
|
24
|
-
export * from './dtos/incident/incident-status-changed.dto';
|
|
25
|
-
export * from './dtos/incident/incident-status-details.dto';
|
|
26
27
|
//enums
|
|
27
28
|
export * from './enums/incident-app-id.enum';
|
|
28
29
|
export * from './enums/incident-channel.enum';
|
|
@@ -42,4 +43,5 @@ export * from './intefaces/incident-assignment';
|
|
|
42
43
|
export * from './intefaces/incident-response-unit-assignment';
|
|
43
44
|
export * from './intefaces/incident-status-changed';
|
|
44
45
|
export * from './intefaces/incident-status-details';
|
|
46
|
+
export * from './intefaces/incident-on-hold-record';
|
|
45
47
|
//# 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,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,uEAAuE,CAAC;AACtF,cAAc,8EAA8E,CAAC;AAC7F,cAAc,8EAA8E,CAAC;AAC7F,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/incident/index.ts"],"names":[],"mappings":"AAAA,OAAO;AACP,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,uEAAuE,CAAC;AACtF,cAAc,8EAA8E,CAAC;AAC7F,cAAc,8EAA8E,CAAC;AAC7F,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAE7D,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 @@
|
|
|
1
|
+
{"version":3,"file":"incident-on-hold-record.js","sourceRoot":"","sources":["../../../../../src/modules/incident/intefaces/incident-on-hold-record.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { IncidentOnHoldRecordDto } from "./incident-on-hold-record.dto";
|
|
1
2
|
export declare class IncidentStatusDetailsDto {
|
|
2
3
|
hasBeenOnHold?: boolean;
|
|
3
|
-
maxOnHoldDurationDays?: number;
|
|
4
4
|
onHoldDurationDays?: number;
|
|
5
|
-
|
|
5
|
+
onHoldStartDate?: Date;
|
|
6
|
+
onHoldEndDate?: Date;
|
|
7
|
+
onHoldHistory?: IncidentOnHoldRecordDto[];
|
|
6
8
|
}
|
|
@@ -8,6 +8,9 @@ export * from './dtos/category/update-incident-category.dto';
|
|
|
8
8
|
export * from './dtos/incident/incident.dto';
|
|
9
9
|
export * from './dtos/incident/create-incident.dto';
|
|
10
10
|
export * from './dtos/incident/update-incident.dto';
|
|
11
|
+
export * from './dtos/incident/incident-status-details.dto';
|
|
12
|
+
export * from './dtos/incident/incident-status-changed.dto';
|
|
13
|
+
export * from './dtos/incident/incident-on-hold-record.dto';
|
|
11
14
|
export * from './dtos/reporter/incident-reporter.dto';
|
|
12
15
|
export * from './dtos/type/create-incident-type.dto';
|
|
13
16
|
export * from './dtos/type/update-incident-type.dto';
|
|
@@ -20,8 +23,6 @@ export * from './dtos/response-unit-assignment/update-incident-response-unit-ass
|
|
|
20
23
|
export * from './dtos/reporter/incident-reporter.dto';
|
|
21
24
|
export * from './dtos/reporter/create-incident-reporter.dto';
|
|
22
25
|
export * from './dtos/reporter/update-incident-reporter.dto';
|
|
23
|
-
export * from './dtos/incident/incident-status-changed.dto';
|
|
24
|
-
export * from './dtos/incident/incident-status-details.dto';
|
|
25
26
|
export * from './enums/incident-app-id.enum';
|
|
26
27
|
export * from './enums/incident-channel.enum';
|
|
27
28
|
export * from './enums/incident-class.enum';
|
|
@@ -39,3 +40,4 @@ export * from './intefaces/incident-assignment';
|
|
|
39
40
|
export * from './intefaces/incident-response-unit-assignment';
|
|
40
41
|
export * from './intefaces/incident-status-changed';
|
|
41
42
|
export * from './intefaces/incident-status-details';
|
|
43
|
+
export * from './intefaces/incident-on-hold-record';
|
|
@@ -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
|
-
|
|
5
|
+
onHoldStartDate?: string;
|
|
6
|
+
onHoldEndDate?: string;
|
|
7
|
+
onHoldHistory?: IncidentOnHoldRecord[];
|
|
6
8
|
}
|