grm-shared-library 1.1.61 → 1.1.62
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/sms/dtos/create-sms-notification.dto.js +6 -6
- package/dist/cjs/modules/sms/dtos/create-sms-notification.dto.js.map +1 -1
- package/dist/esm/modules/sms/dtos/create-sms-notification.dto.js +7 -7
- package/dist/esm/modules/sms/dtos/create-sms-notification.dto.js.map +1 -1
- package/dist/types/modules/sms/dtos/create-sms-notification.dto.d.ts +3 -3
- package/dist/types/modules/sms/interfaces/sms-notification.d.ts +15 -15
- package/package.json +1 -1
|
@@ -39,21 +39,21 @@ __decorate([
|
|
|
39
39
|
__metadata("design:type", Object)
|
|
40
40
|
], CreateSMSNotificationDto.prototype, "metadata", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
(0, class_validator_1.
|
|
42
|
+
(0, class_validator_1.IsNumber)(),
|
|
43
43
|
(0, class_validator_1.IsOptional)(),
|
|
44
44
|
(0, class_validator_1.MaxLength)(100),
|
|
45
|
-
__metadata("design:type",
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
46
|
], CreateSMSNotificationDto.prototype, "incidentId", void 0);
|
|
47
47
|
__decorate([
|
|
48
|
-
(0, class_validator_1.
|
|
48
|
+
(0, class_validator_1.IsNumber)(),
|
|
49
49
|
(0, class_validator_1.IsOptional)(),
|
|
50
50
|
(0, class_validator_1.MaxLength)(100),
|
|
51
|
-
__metadata("design:type",
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
52
|
], CreateSMSNotificationDto.prototype, "userId", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
(0, class_validator_1.
|
|
54
|
+
(0, class_validator_1.IsNumber)(),
|
|
55
55
|
(0, class_validator_1.IsNotEmpty)(),
|
|
56
56
|
(0, class_validator_1.MaxLength)(100),
|
|
57
|
-
__metadata("design:type",
|
|
57
|
+
__metadata("design:type", Number)
|
|
58
58
|
], CreateSMSNotificationDto.prototype, "organizationId", void 0);
|
|
59
59
|
//# sourceMappingURL=create-sms-notification.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sms-notification.dto.js","sourceRoot":"","sources":["../../../../../src/modules/sms/dtos/create-sms-notification.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"create-sms-notification.dto.js","sourceRoot":"","sources":["../../../../../src/modules/sms/dtos/create-sms-notification.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2H;AAE3H,MAAa,wBAAwB;CAkCpC;AAlCD,4DAkCC;AA9BG;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4DACL;AAKtB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;0DACI;AAKlB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,IAAI,CAAC,CAAC,mBAAmB;;;yDACnB;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACoB;AAK/B;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;4DACK;AAKpB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;wDACC;AAKhB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;gEACS"}
|
|
@@ -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 { IsArray, IsNotEmpty, IsOptional, IsString, MaxLength, IsObject } from "class-validator";
|
|
10
|
+
import { IsArray, IsNotEmpty, IsOptional, IsString, MaxLength, IsObject, IsNumber } from "class-validator";
|
|
11
11
|
export class CreateSMSNotificationDto {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
@@ -35,21 +35,21 @@ __decorate([
|
|
|
35
35
|
__metadata("design:type", Object)
|
|
36
36
|
], CreateSMSNotificationDto.prototype, "metadata", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
|
|
38
|
+
IsNumber(),
|
|
39
39
|
IsOptional(),
|
|
40
40
|
MaxLength(100),
|
|
41
|
-
__metadata("design:type",
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
42
|
], CreateSMSNotificationDto.prototype, "incidentId", void 0);
|
|
43
43
|
__decorate([
|
|
44
|
-
|
|
44
|
+
IsNumber(),
|
|
45
45
|
IsOptional(),
|
|
46
46
|
MaxLength(100),
|
|
47
|
-
__metadata("design:type",
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
48
|
], CreateSMSNotificationDto.prototype, "userId", void 0);
|
|
49
49
|
__decorate([
|
|
50
|
-
|
|
50
|
+
IsNumber(),
|
|
51
51
|
IsNotEmpty(),
|
|
52
52
|
MaxLength(100),
|
|
53
|
-
__metadata("design:type",
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
54
|
], CreateSMSNotificationDto.prototype, "organizationId", void 0);
|
|
55
55
|
//# sourceMappingURL=create-sms-notification.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sms-notification.dto.js","sourceRoot":"","sources":["../../../../../src/modules/sms/dtos/create-sms-notification.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAkB,QAAQ,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"create-sms-notification.dto.js","sourceRoot":"","sources":["../../../../../src/modules/sms/dtos/create-sms-notification.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAkB,QAAQ,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3H,MAAM,OAAO,wBAAwB;CAkCpC;AA9BG;IAHC,OAAO,EAAE;IACT,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4DACL;AAKtB;IAHC,QAAQ,EAAE;IACV,UAAU,EAAE;IACZ,SAAS,CAAC,EAAE,CAAC;;0DACI;AAKlB;IAHC,QAAQ,EAAE;IACV,UAAU,EAAE;IACZ,SAAS,CAAC,IAAI,CAAC,CAAC,mBAAmB;;;yDACnB;AAIjB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;0DACoB;AAK/B;IAHC,QAAQ,EAAE;IACV,UAAU,EAAE;IACZ,SAAS,CAAC,GAAG,CAAC;;4DACK;AAKpB;IAHC,QAAQ,EAAE;IACV,UAAU,EAAE;IACZ,SAAS,CAAC,GAAG,CAAC;;wDACC;AAKhB;IAHC,QAAQ,EAAE;IACV,UAAU,EAAE;IACZ,SAAS,CAAC,GAAG,CAAC;;gEACS"}
|
|
@@ -5,19 +5,19 @@ export interface SMSNotification {
|
|
|
5
5
|
senderID: string;
|
|
6
6
|
message: string;
|
|
7
7
|
status: SMSNotificationStatus;
|
|
8
|
-
externalId
|
|
9
|
-
providerResponse
|
|
10
|
-
errorMessage
|
|
11
|
-
retryCount
|
|
12
|
-
cost
|
|
13
|
-
currency
|
|
14
|
-
sentAt
|
|
15
|
-
deliveredAt
|
|
16
|
-
failedAt
|
|
17
|
-
createdAt
|
|
18
|
-
updatedAt
|
|
19
|
-
metadata
|
|
20
|
-
incidentId
|
|
21
|
-
userId
|
|
22
|
-
organizationId:
|
|
8
|
+
externalId?: string;
|
|
9
|
+
providerResponse?: string;
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
retryCount?: number;
|
|
12
|
+
cost?: number;
|
|
13
|
+
currency?: string;
|
|
14
|
+
sentAt?: string;
|
|
15
|
+
deliveredAt?: string;
|
|
16
|
+
failedAt?: string;
|
|
17
|
+
createdAt?: string;
|
|
18
|
+
updatedAt?: string;
|
|
19
|
+
metadata?: Record<string, any>;
|
|
20
|
+
incidentId?: number;
|
|
21
|
+
userId?: number;
|
|
22
|
+
organizationId: number;
|
|
23
23
|
}
|