grm-shared-library 1.1.14 → 1.1.16
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/kafka/index.js +0 -1
- package/dist/cjs/kafka/index.js.map +1 -1
- package/dist/cjs/modules/incident/dtos/incident/incident-status-changed.dto.js +35 -0
- package/dist/cjs/modules/incident/dtos/incident/incident-status-changed.dto.js.map +1 -0
- package/dist/cjs/modules/incident/dtos/incident/incident.dto.js +0 -5
- package/dist/cjs/modules/incident/dtos/incident/incident.dto.js.map +1 -1
- package/dist/cjs/modules/incident/index.js +2 -0
- package/dist/cjs/modules/incident/index.js.map +1 -1
- package/dist/cjs/{kafka/interfaces/incident-status-changed-payload.js → modules/incident/intefaces/incident-status-changed.js} +1 -1
- package/dist/cjs/modules/incident/intefaces/incident-status-changed.js.map +1 -0
- package/dist/cjs/modules/workflow/dtos/workflow-state.dto.js +5 -0
- package/dist/cjs/modules/workflow/dtos/workflow-state.dto.js.map +1 -1
- package/dist/esm/kafka/index.js +0 -1
- package/dist/esm/kafka/index.js.map +1 -1
- package/dist/esm/modules/incident/dtos/incident/incident-status-changed.dto.js +31 -0
- package/dist/esm/modules/incident/dtos/incident/incident-status-changed.dto.js.map +1 -0
- package/dist/esm/modules/incident/dtos/incident/incident.dto.js +0 -5
- package/dist/esm/modules/incident/dtos/incident/incident.dto.js.map +1 -1
- package/dist/esm/modules/incident/index.js +2 -0
- package/dist/esm/modules/incident/index.js.map +1 -1
- package/dist/esm/modules/incident/intefaces/incident-status-changed.js +2 -0
- package/dist/esm/modules/incident/intefaces/incident-status-changed.js.map +1 -0
- package/dist/esm/modules/workflow/dtos/workflow-state.dto.js +6 -1
- package/dist/esm/modules/workflow/dtos/workflow-state.dto.js.map +1 -1
- package/dist/types/kafka/index.d.ts +0 -1
- package/dist/types/modules/incident/dtos/incident/incident-status-changed.dto.d.ts +6 -0
- package/dist/types/modules/incident/dtos/incident/incident.dto.d.ts +0 -1
- package/dist/types/modules/incident/index.d.ts +2 -0
- package/dist/types/modules/incident/intefaces/incident-status-changed.d.ts +6 -0
- package/dist/types/modules/incident/intefaces/incident.d.ts +0 -1
- package/dist/types/modules/workflow/dtos/workflow-state.dto.d.ts +1 -0
- package/dist/types/modules/workflow/interfaces/workflow-state.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/kafka/interfaces/incident-status-changed-payload.js.map +0 -1
- package/dist/esm/kafka/interfaces/incident-status-changed-payload.js +0 -2
- package/dist/esm/kafka/interfaces/incident-status-changed-payload.js.map +0 -1
- package/dist/types/kafka/interfaces/incident-status-changed-payload.d.ts +0 -6
package/dist/cjs/kafka/index.js
CHANGED
|
@@ -22,5 +22,4 @@ __exportStar(require("./dtos/user/user-registered-payload.dto"), exports);
|
|
|
22
22
|
__exportStar(require("./dtos/otp/create-otp-payload.dto"), exports);
|
|
23
23
|
__exportStar(require("./dtos/otp/otp-payload.dto"), exports);
|
|
24
24
|
__exportStar(require("./dtos/password/password-reset-payload.dto"), exports);
|
|
25
|
-
__exportStar(require("./interfaces/incident-status-changed-payload"), exports);
|
|
26
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/kafka/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,8EAA4D;AAC5D,uEAAqD;AACrD,iFAA+D;AAC/D,0EAAwD;AACxD,oEAAkD;AAClD,6DAA2C;AAC3C,6EAA2D
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/kafka/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,8EAA4D;AAC5D,uEAAqD;AACrD,iFAA+D;AAC/D,0EAAwD;AACxD,oEAAkD;AAClD,6DAA2C;AAC3C,6EAA2D"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.IncidentStatusChangedDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const incident_dto_1 = require("./incident.dto");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
class IncidentStatusChangedDto {
|
|
17
|
+
}
|
|
18
|
+
exports.IncidentStatusChangedDto = IncidentStatusChangedDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.ValidateNested)(),
|
|
21
|
+
(0, class_transformer_1.Type)(() => incident_dto_1.IncidentDto),
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
__metadata("design:type", incident_dto_1.IncidentDto)
|
|
24
|
+
], IncidentStatusChangedDto.prototype, "incident", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsNumber)(),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], IncidentStatusChangedDto.prototype, "extensionDays", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsNumber)(),
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], IncidentStatusChangedDto.prototype, "timestamp", void 0);
|
|
35
|
+
//# sourceMappingURL=incident-status-changed.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-status-changed.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/incident/dtos/incident/incident-status-changed.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmF;AACnF,iDAA6C;AAC7C,yDAAyC;AAEzC,MAAa,wBAAwB;CAapC;AAbD,4DAaC;AATG;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;IACvB,IAAA,4BAAU,GAAE;8BACF,0BAAW;0DAAC;AAIvB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACU;AAIvB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACM"}
|
|
@@ -38,11 +38,6 @@ __decorate([
|
|
|
38
38
|
(0, class_validator_1.IsOptional)(),
|
|
39
39
|
__metadata("design:type", create_incident_type_dto_1.CreateIncidentTypeDto)
|
|
40
40
|
], IncidentDto.prototype, "type", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, class_validator_1.IsNumber)(),
|
|
43
|
-
(0, class_validator_1.IsOptional)(),
|
|
44
|
-
__metadata("design:type", Number)
|
|
45
|
-
], IncidentDto.prototype, "statusUpdateTimestamp", void 0);
|
|
46
41
|
__decorate([
|
|
47
42
|
(0, class_validator_1.IsArray)(),
|
|
48
43
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incident.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/incident/dtos/incident/incident.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0G;AAC1G,+DAA0D;AAC1D,yDAAyC;AACzC,2FAAqF;AACrF,+EAAyE;AACzE,uEAAkE;AAClE,mFAA8E;AAC9E,2IAA6H;AAE7H,MAAa,WAAY,SAAQ,uCAAiB;
|
|
1
|
+
{"version":3,"file":"incident.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/incident/dtos/incident/incident.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0G;AAC1G,+DAA0D;AAC1D,yDAAyC;AACzC,2FAAqF;AACrF,+EAAyE;AACzE,uEAAkE;AAClE,mFAA8E;AAC9E,2IAA6H;AAE7H,MAAa,WAAY,SAAQ,uCAAiB;CAwCjD;AAxCD,kCAwCC;AArCG;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uCACD;AAKZ;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wDAAyB,CAAC;IACrC,IAAA,4BAAU,GAAE;8BACF,wDAAyB;6CAAC;AAKrC;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAqB,CAAC;IACjC,IAAA,4BAAU,GAAE;8BACN,gDAAqB;yCAAC;AAM7B;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAiB,CAAC;;4CACA;AAM9B;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+CAAqB,CAAC;;gDACI;AAMtC;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gFAAiC,CAAC;;4DACgB;AAI9D;IAFC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;8CACM;AAInB;IAFC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;8CACM"}
|
|
@@ -37,6 +37,7 @@ __exportStar(require("./dtos/response-unit-assignment/update-incident-response-u
|
|
|
37
37
|
__exportStar(require("./dtos/reporter/incident-reporter.dto"), exports);
|
|
38
38
|
__exportStar(require("./dtos/reporter/create-incident-reporter.dto"), exports);
|
|
39
39
|
__exportStar(require("./dtos/reporter/update-incident-reporter.dto"), exports);
|
|
40
|
+
__exportStar(require("./dtos/incident/incident-status-changed.dto"), exports);
|
|
40
41
|
//enums
|
|
41
42
|
__exportStar(require("./enums/incident-app-id.enum"), exports);
|
|
42
43
|
__exportStar(require("./enums/incident-channel.enum"), exports);
|
|
@@ -54,4 +55,5 @@ __exportStar(require("./intefaces/incident-reporter"), exports);
|
|
|
54
55
|
__exportStar(require("./intefaces/incident-type"), exports);
|
|
55
56
|
__exportStar(require("./intefaces/incident-assignment"), exports);
|
|
56
57
|
__exportStar(require("./intefaces/incident-response-unit-assignment"), exports);
|
|
58
|
+
__exportStar(require("./intefaces/incident-status-changed"), exports);
|
|
57
59
|
//# 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,wEAAsD;AACtD,uEAAqD;AACrD,uEAAqD;AACrD,4EAA0D;AAC1D,mFAAiE;AACjE,mFAAiE;AACjE,wGAAsF;AACtF,+GAA6F;AAC7F,+GAA6F;AAC7F,wEAAsD;AACtD,+EAA6D;AAC7D,+EAA6D;AAC7D,8EAA4D;AAE5D,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-status-changed.js","sourceRoot":"","sources":["../../../../../src/modules/incident/intefaces/incident-status-changed.ts"],"names":[],"mappings":""}
|
|
@@ -32,6 +32,11 @@ __decorate([
|
|
|
32
32
|
(0, class_validator_1.IsNotEmpty)(),
|
|
33
33
|
__metadata("design:type", String)
|
|
34
34
|
], WorkflowStateDto.prototype, "currentStatus", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsNumber)(),
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], WorkflowStateDto.prototype, "statusUpdateTimestamp", void 0);
|
|
35
40
|
__decorate([
|
|
36
41
|
(0, class_validator_1.IsDateString)(),
|
|
37
42
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-state.dto.js","sourceRoot":"","sources":["../../../../../src/modules/workflow/dtos/workflow-state.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"workflow-state.dto.js","sourceRoot":"","sources":["../../../../../src/modules/workflow/dtos/workflow-state.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8H;AAC9H,6CAA6D;AAC7D,yDAAyC;AAEzC,MAAa,gBAAgB;CAiD5B;AAjDD,4CAiDC;AA9CG;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACD;AAKZ;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAW,CAAC;IACvB,IAAA,4BAAU,GAAE;8BACF,sBAAW;kDAAC;AAIvB;IAFC,IAAA,wBAAM,EAAC,yBAAc,CAAC;IACtB,IAAA,4BAAU,GAAE;;uDACkB;AAI/B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACkB;AAI/B;IAFC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;4DACe;AAI5B;IAFC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;wDACW;AAIxB;IAFC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;kEACqB;AAIlC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACa;AAI1B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kDACM;AAInB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACW;AAIxB;IAFC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;0DACa"}
|
package/dist/esm/kafka/index.js
CHANGED
|
@@ -6,5 +6,4 @@ export * from './dtos/user/user-registered-payload.dto';
|
|
|
6
6
|
export * from './dtos/otp/create-otp-payload.dto';
|
|
7
7
|
export * from './dtos/otp/otp-payload.dto';
|
|
8
8
|
export * from './dtos/password/password-reset-payload.dto';
|
|
9
|
-
export * from './interfaces/incident-status-changed-payload';
|
|
10
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/kafka/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4CAA4C,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/kafka/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sCAAsC,CAAC;AACrD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { IsNotEmpty, IsNumber, IsOptional, ValidateNested } from "class-validator";
|
|
11
|
+
import { IncidentDto } from "./incident.dto";
|
|
12
|
+
import { Type } from "class-transformer";
|
|
13
|
+
export class IncidentStatusChangedDto {
|
|
14
|
+
}
|
|
15
|
+
__decorate([
|
|
16
|
+
ValidateNested(),
|
|
17
|
+
Type(() => IncidentDto),
|
|
18
|
+
IsNotEmpty(),
|
|
19
|
+
__metadata("design:type", IncidentDto)
|
|
20
|
+
], IncidentStatusChangedDto.prototype, "incident", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
IsNumber(),
|
|
23
|
+
IsOptional(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], IncidentStatusChangedDto.prototype, "extensionDays", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
IsNumber(),
|
|
28
|
+
IsOptional(),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], IncidentStatusChangedDto.prototype, "timestamp", void 0);
|
|
31
|
+
//# sourceMappingURL=incident-status-changed.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-status-changed.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/incident/dtos/incident/incident-status-changed.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,MAAM,OAAO,wBAAwB;CAapC;AATG;IAHC,cAAc,EAAE;IAChB,IAAI,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC;IACvB,UAAU,EAAE;8BACF,WAAW;0DAAC;AAIvB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACU;AAIvB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACM"}
|
|
@@ -34,11 +34,6 @@ __decorate([
|
|
|
34
34
|
IsOptional(),
|
|
35
35
|
__metadata("design:type", CreateIncidentTypeDto)
|
|
36
36
|
], IncidentDto.prototype, "type", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
IsNumber(),
|
|
39
|
-
IsOptional(),
|
|
40
|
-
__metadata("design:type", Number)
|
|
41
|
-
], IncidentDto.prototype, "statusUpdateTimestamp", void 0);
|
|
42
37
|
__decorate([
|
|
43
38
|
IsArray(),
|
|
44
39
|
IsOptional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incident.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/incident/dtos/incident/incident.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC1G,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,iCAAiC,EAAE,MAAM,0EAA0E,CAAC;AAE7H,MAAM,OAAO,WAAY,SAAQ,iBAAiB;
|
|
1
|
+
{"version":3,"file":"incident.dto.js","sourceRoot":"","sources":["../../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Ac,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAI,CAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;;4DACgB;AAI9D;IAFC,YAAY,EAAE;IACd,UAAU,EAAE;;8CACM;AAInB;IAFC,YAAY,EAAE;IACd,UAAU,EAAE;;8CACM"}
|
|
@@ -21,6 +21,7 @@ export * from './dtos/response-unit-assignment/update-incident-response-unit-ass
|
|
|
21
21
|
export * from './dtos/reporter/incident-reporter.dto';
|
|
22
22
|
export * from './dtos/reporter/create-incident-reporter.dto';
|
|
23
23
|
export * from './dtos/reporter/update-incident-reporter.dto';
|
|
24
|
+
export * from './dtos/incident/incident-status-changed.dto';
|
|
24
25
|
//enums
|
|
25
26
|
export * from './enums/incident-app-id.enum';
|
|
26
27
|
export * from './enums/incident-channel.enum';
|
|
@@ -38,4 +39,5 @@ export * from './intefaces/incident-reporter';
|
|
|
38
39
|
export * from './intefaces/incident-type';
|
|
39
40
|
export * from './intefaces/incident-assignment';
|
|
40
41
|
export * from './intefaces/incident-response-unit-assignment';
|
|
42
|
+
export * from './intefaces/incident-status-changed';
|
|
41
43
|
//# 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,kDA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C;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incident-status-changed.js","sourceRoot":"","sources":["../../../../../src/modules/incident/intefaces/incident-status-changed.ts"],"names":[],"mappings":""}
|
|
@@ -7,7 +7,7 @@ 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, IsDateString, IsEnum, IsNotEmpty, IsOptional, IsString, ValidateNested } from "class-validator";
|
|
10
|
+
import { IsBoolean, IsDateString, IsEnum, IsNotEmpty, IsNumber, IsOptional, IsString, ValidateNested } from "class-validator";
|
|
11
11
|
import { IncidentDto, IncidentStatus } from "../../incident";
|
|
12
12
|
import { Type } from "class-transformer";
|
|
13
13
|
export class WorkflowStateDto {
|
|
@@ -28,6 +28,11 @@ __decorate([
|
|
|
28
28
|
IsNotEmpty(),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
30
|
], WorkflowStateDto.prototype, "currentStatus", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
IsNumber(),
|
|
33
|
+
IsOptional(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], WorkflowStateDto.prototype, "statusUpdateTimestamp", void 0);
|
|
31
36
|
__decorate([
|
|
32
37
|
IsDateString(),
|
|
33
38
|
IsNotEmpty(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-state.dto.js","sourceRoot":"","sources":["../../../../../src/modules/workflow/dtos/workflow-state.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"workflow-state.dto.js","sourceRoot":"","sources":["../../../../../src/modules/workflow/dtos/workflow-state.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC9H,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,MAAM,OAAO,gBAAgB;CAiD5B;AA9CG;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;4CACD;AAKZ;IAHC,cAAc,EAAE;IAChB,IAAI,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC;IACvB,UAAU,EAAE;8BACF,WAAW;kDAAC;AAIvB;IAFC,MAAM,CAAC,cAAc,CAAC;IACtB,UAAU,EAAE;;uDACkB;AAI/B;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACkB;AAI/B;IAFC,YAAY,EAAE;IACd,UAAU,EAAE;;4DACe;AAI5B;IAFC,YAAY,EAAE;IACd,UAAU,EAAE;;wDACW;AAIxB;IAFC,YAAY,EAAE;IACd,UAAU,EAAE;;kEACqB;AAIlC;IAFC,SAAS,EAAE;IACX,UAAU,EAAE;;yDACa;AAI1B;IAFC,SAAS,EAAE;IACX,UAAU,EAAE;;0DACc;AAI3B;IAFC,SAAS,EAAE;IACX,UAAU,EAAE;;kDACM;AAInB;IAFC,SAAS,EAAE;IACX,UAAU,EAAE;;uDACW;AAIxB;IAFC,YAAY,EAAE;IACd,UAAU,EAAE;;0DACa"}
|
|
@@ -6,4 +6,3 @@ export * from './dtos/user/user-registered-payload.dto';
|
|
|
6
6
|
export * from './dtos/otp/create-otp-payload.dto';
|
|
7
7
|
export * from './dtos/otp/otp-payload.dto';
|
|
8
8
|
export * from './dtos/password/password-reset-payload.dto';
|
|
9
|
-
export * from './interfaces/incident-status-changed-payload';
|
|
@@ -8,7 +8,6 @@ export declare class IncidentDto extends CreateIncidentDto {
|
|
|
8
8
|
id: number;
|
|
9
9
|
category?: CreateIncidentCategoryDto;
|
|
10
10
|
type?: CreateIncidentTypeDto;
|
|
11
|
-
statusUpdateTimestamp?: number;
|
|
12
11
|
actions?: IncidentActionDto[];
|
|
13
12
|
assignments?: IncidentAssignmentDto[];
|
|
14
13
|
responseUnitAssignments?: IncidentResponseUnitAssignmentDto[];
|
|
@@ -20,6 +20,7 @@ export * from './dtos/response-unit-assignment/update-incident-response-unit-ass
|
|
|
20
20
|
export * from './dtos/reporter/incident-reporter.dto';
|
|
21
21
|
export * from './dtos/reporter/create-incident-reporter.dto';
|
|
22
22
|
export * from './dtos/reporter/update-incident-reporter.dto';
|
|
23
|
+
export * from './dtos/incident/incident-status-changed.dto';
|
|
23
24
|
export * from './enums/incident-app-id.enum';
|
|
24
25
|
export * from './enums/incident-channel.enum';
|
|
25
26
|
export * from './enums/incident-class.enum';
|
|
@@ -35,3 +36,4 @@ export * from './intefaces/incident-reporter';
|
|
|
35
36
|
export * from './intefaces/incident-type';
|
|
36
37
|
export * from './intefaces/incident-assignment';
|
|
37
38
|
export * from './intefaces/incident-response-unit-assignment';
|
|
39
|
+
export * from './intefaces/incident-status-changed';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"incident-status-changed-payload.js","sourceRoot":"","sources":["../../../../src/kafka/interfaces/incident-status-changed-payload.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"incident-status-changed-payload.js","sourceRoot":"","sources":["../../../../src/kafka/interfaces/incident-status-changed-payload.ts"],"names":[],"mappings":""}
|