@escapenavigator/types 1.10.91 → 1.10.92

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.
@@ -53,7 +53,11 @@ __decorate([
53
53
  ], AgregatorFindQuestroomByTitleRO.prototype, "photo", void 0);
54
54
  __decorate([
55
55
  (0, class_transformer_1.Expose)(),
56
- (0, class_transformer_1.Transform)(({ obj }) => { var _a; return obj.templateId && ((_a = obj.profile) === null || _a === void 0 ? void 0 : _a.partnerProgram) === partner_program_enum_1.PartnerProgramEnum.ACTIVE; }),
56
+ (0, class_transformer_1.Transform)(({ obj }) => {
57
+ var _a;
58
+ return (obj.templateId || obj.integrationId) &&
59
+ ((_a = obj.profile) === null || _a === void 0 ? void 0 : _a.partnerProgram) === partner_program_enum_1.PartnerProgramEnum.ACTIVE;
60
+ }),
57
61
  __metadata("design:type", Boolean)
58
62
  ], AgregatorFindQuestroomByTitleRO.prototype, "hasSchedule", void 0);
59
63
  __decorate([
@@ -118,7 +118,11 @@ __decorate([
118
118
  ], AgregatorQuestroomCardRO.prototype, "fear", void 0);
119
119
  __decorate([
120
120
  (0, class_transformer_1.Expose)(),
121
- (0, class_transformer_1.Transform)(({ obj }) => { var _a; return obj.templateId && ((_a = obj.profile) === null || _a === void 0 ? void 0 : _a.partnerProgram) === partner_program_enum_1.PartnerProgramEnum.ACTIVE; }),
121
+ (0, class_transformer_1.Transform)(({ obj }) => {
122
+ var _a;
123
+ return (obj.templateId || obj.integrationId) &&
124
+ ((_a = obj.profile) === null || _a === void 0 ? void 0 : _a.partnerProgram) === partner_program_enum_1.PartnerProgramEnum.ACTIVE;
125
+ }),
122
126
  __metadata("design:type", Boolean)
123
127
  ], AgregatorQuestroomCardRO.prototype, "hasSchedule", void 0);
124
128
  __decorate([
@@ -17,7 +17,7 @@ class OpenapiProfileBookingsDateQueryDto {
17
17
  __decorate([
18
18
  (0, swagger_1.ApiProperty)({
19
19
  example: '2026-03-30',
20
- description: 'Дата по полю utcDate заказа (первые 10 символов ISO UTC, yyyy-MM-dd)',
20
+ description: 'Date by order utcDate field (first 10 chars of UTC ISO, yyyy-MM-dd)',
21
21
  }),
22
22
  (0, class_validator_1.IsNotEmpty)(),
23
23
  (0, class_validator_1.IsDateString)(),