@escapenavigator/types 1.10.10 → 1.10.12

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.
@@ -141,13 +141,17 @@ __decorate([
141
141
  __metadata("design:type", String)
142
142
  ], OpenapiCreateCertificateSaleDto.prototype, "deliveryMessage", void 0);
143
143
  __decorate([
144
- (0, class_validator_1.ValidateIf)((row) => !row.sendAfterPayment && row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.EMAIL),
144
+ (0, class_validator_1.ValidateIf)((row) => !row.sendAfterPayment &&
145
+ !row.sameRecipient &&
146
+ row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.EMAIL),
145
147
  (0, is_not_blank_1.IsNotBlank)(),
146
148
  (0, class_transformer_1.Expose)(),
147
149
  __metadata("design:type", String)
148
150
  ], OpenapiCreateCertificateSaleDto.prototype, "sendingDate", void 0);
149
151
  __decorate([
150
- (0, class_validator_1.ValidateIf)((row) => !row.sendAfterPayment && row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.EMAIL),
152
+ (0, class_validator_1.ValidateIf)((row) => !row.sendAfterPayment &&
153
+ !row.sameRecipient &&
154
+ row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.EMAIL),
151
155
  (0, class_validator_1.IsMilitaryTime)(),
152
156
  (0, class_transformer_1.Transform)(({ value }) => (value && (value === null || value === void 0 ? void 0 : value.length) === 4 && value[1] === ':' ? `0${value}` : value)),
153
157
  (0, class_validator_1.Length)(5),
@@ -39,7 +39,6 @@ __decorate([
39
39
  ], CreateNotificationChanelDto.prototype, "type", void 0);
40
40
  __decorate([
41
41
  (0, class_validator_1.IsArray)(),
42
- (0, class_validator_1.ArrayMinSize)(1),
43
42
  (0, class_transformer_1.Expose)(),
44
43
  __metadata("design:type", Array)
45
44
  ], CreateNotificationChanelDto.prototype, "notificationTriggers", void 0);