@escapenavigator/types 1.9.38 → 1.9.40

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.
@@ -60,7 +60,7 @@ __decorate([
60
60
  ], ClientFormDto.prototype, "sendAds", void 0);
61
61
  __decorate([
62
62
  (0, class_validator_1.ValidateIf)(({ fields, clientType }) => clientType === client_type_enum_1.ClientTypeEnum.ADULT && fields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.PHONE)),
63
- (0, class_validator_1.IsPhoneNumber)(),
63
+ (0, is_not_blank_1.IsNotBlank)(),
64
64
  (0, class_transformer_1.Expose)(),
65
65
  __metadata("design:type", String)
66
66
  ], ClientFormDto.prototype, "phone", void 0);
@@ -2,13 +2,16 @@ import { LocationRO } from '../location/location.ro';
2
2
  import { ProfileRO } from '../profile/profile.ro';
3
3
  import { QuestroomAwardEnum } from './enum/questroom-award.enum';
4
4
  import { QuestroomLocale, QuestroomRO } from './questroom.ro';
5
+ export declare class LocationAdminRO extends LocationRO {
6
+ cityId: number;
7
+ }
5
8
  export declare class QuestroomAdminRO extends QuestroomRO {
6
9
  awards: QuestroomAwardEnum[];
7
10
  minPrice: number;
8
11
  maxPrice: number;
9
12
  top: boolean;
10
13
  verified: boolean;
11
- location: LocationRO;
14
+ location: LocationAdminRO;
12
15
  techlocales: QuestroomLocale[];
13
16
  profile: ProfileRO;
14
17
  }
@@ -9,11 +9,19 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QuestroomAdminRO = void 0;
12
+ exports.QuestroomAdminRO = exports.LocationAdminRO = void 0;
13
+ /* eslint-disable max-classes-per-file */
13
14
  const class_transformer_1 = require("class-transformer");
14
15
  const location_ro_1 = require("../location/location.ro");
15
16
  const profile_ro_1 = require("../profile/profile.ro");
16
17
  const questroom_ro_1 = require("./questroom.ro");
18
+ class LocationAdminRO extends location_ro_1.LocationRO {
19
+ }
20
+ __decorate([
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", Number)
23
+ ], LocationAdminRO.prototype, "cityId", void 0);
24
+ exports.LocationAdminRO = LocationAdminRO;
17
25
  class QuestroomAdminRO extends questroom_ro_1.QuestroomRO {
18
26
  }
19
27
  __decorate([
@@ -38,8 +46,8 @@ __decorate([
38
46
  ], QuestroomAdminRO.prototype, "verified", void 0);
39
47
  __decorate([
40
48
  (0, class_transformer_1.Expose)(),
41
- (0, class_transformer_1.Type)(() => location_ro_1.LocationRO),
42
- __metadata("design:type", location_ro_1.LocationRO)
49
+ (0, class_transformer_1.Type)(() => LocationAdminRO),
50
+ __metadata("design:type", LocationAdminRO)
43
51
  ], QuestroomAdminRO.prototype, "location", void 0);
44
52
  __decorate([
45
53
  (0, class_transformer_1.Expose)(),