easywork-common-lib 1.0.1007 → 1.0.1008

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.
@@ -1,6 +1,7 @@
1
1
  import { NotificationCategory, NotificationChannel, NotificationSubcategory } from '../enums';
2
2
  export declare class SendNotificationDto {
3
3
  title: string;
4
+ emailDestination?: string;
4
5
  recipientsId: string[];
5
6
  entityId?: string;
6
7
  content: string;
@@ -14,6 +14,7 @@ const class_validator_1 = require("class-validator");
14
14
  const enums_1 = require("../enums");
15
15
  class SendNotificationDto {
16
16
  title;
17
+ emailDestination;
17
18
  recipientsId;
18
19
  entityId;
19
20
  content;
@@ -28,6 +29,11 @@ __decorate([
28
29
  (0, class_validator_1.IsString)(),
29
30
  __metadata("design:type", String)
30
31
  ], SendNotificationDto.prototype, "title", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_validator_1.IsString)(),
35
+ __metadata("design:type", String)
36
+ ], SendNotificationDto.prototype, "emailDestination", void 0);
31
37
  __decorate([
32
38
  (0, class_validator_1.IsUUID)('all', { each: true }),
33
39
  __metadata("design:type", Array)
@@ -1 +1 @@
1
- {"version":3,"file":"send-notification.dto.js","sourceRoot":"","sources":["../../../src/common/dtos/send-notification.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4F;AAC5F,oCAA8F;AAE9F,MAAa,mBAAmB;IAE9B,KAAK,CAAS;IAGd,YAAY,CAAW;IAIvB,QAAQ,CAAU;IAGlB,OAAO,CAAS;IAGhB,QAAQ,CAAwB;IAGhC,QAAQ,CAAwB;IAGhC,WAAW,CAA2B;IAItC,QAAQ,CAAuB;IAI/B,QAAQ,CAAW;CACpB;AA9BD,kDA8BC;AA5BC;IADC,IAAA,0BAAQ,GAAE;;kDACG;AAGd;IADC,IAAA,wBAAM,EAAC,KAAK,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;yDACP;AAIvB;IAFC,IAAA,4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;IADC,IAAA,wBAAM,EAAC,+BAAuB,CAAC;;wDACM;AAItC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACoB;AAI/B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;qDACO"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.1007",
3
+ "version": "1.0.1008",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",