@escapenavigator/types 1.2.0 → 1.2.4
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/admin/login-admin.dto.js +7 -2
- package/dist/agb/update-agb.dto.js +5 -1
- package/dist/cashbox/create-cashbox.dto.d.ts +1 -1
- package/dist/cashbox/create-cashbox.dto.js +13 -5
- package/dist/certificate/create-certificate.dto.js +37 -17
- package/dist/certificate-sale/annul-certificate-sale.dto.js +5 -1
- package/dist/certificate-sale/check-certificate-sale.dto.js +5 -1
- package/dist/certificate-sale/create-certificatesale.dto.js +28 -12
- package/dist/certificate-sale/update-certificate-sale-expire-date.dto.js +5 -1
- package/dist/certificate-sale/update-certificate-sale-status.dto.js +5 -1
- package/dist/certificate-sale/update-certificatesale.dto.js +13 -5
- package/dist/city/create-city.dto.d.ts +5 -0
- package/dist/city/create-city.dto.js +29 -0
- package/dist/city/update-city.dto.js +14 -6
- package/dist/client/create-client-from-widget.dto.js +5 -1
- package/dist/client/create-client.dto.js +21 -9
- package/dist/client/update-client.dto.js +21 -9
- package/dist/financeitem/create-financeitem.dto.js +9 -3
- package/dist/image/create-image.dto.js +9 -3
- package/dist/location/create-location.dto.js +27 -12
- package/dist/location/get-nearest-location.dto.js +7 -2
- package/dist/order/add-certificate-to-order.dto.js +5 -1
- package/dist/order/create-order-from-widget.dto.js +17 -7
- package/dist/order/create-order.dto.js +9 -3
- package/dist/order/remove-certificate-from-order.dto.js +5 -1
- package/dist/order/update-order-players.dto.js +5 -1
- package/dist/order/update-order-slot.dto.js +5 -1
- package/dist/order/update-order-status.dto.js +5 -1
- package/dist/order/update-order.dto.js +9 -3
- package/dist/order-certificate/create-order-certificate.dto.js +7 -2
- package/dist/order-discount/create-order-discount.dto.js +9 -3
- package/dist/order-penalty/create-order-penalty.dto.js +9 -3
- package/dist/order-upselling/create-order-upselling.dto.js +7 -2
- package/dist/partner/create-partner.dto.js +13 -5
- package/dist/profile/create-profile.dto.js +32 -14
- package/dist/profile/update-profile.dto.js +33 -14
- package/dist/questroom/create-questroom.dto.js +57 -27
- package/dist/registration-request/create-registration-request.dto.js +11 -4
- package/dist/registration-request/update-registration-request.dto.js +13 -5
- package/dist/role/create-role.dto.js +21 -9
- package/dist/shared/enum/countries.enum.d.ts +1 -0
- package/dist/shared/enum/countries.enum.js +1 -0
- package/dist/shared/enum/tags.enum.d.ts +4 -0
- package/dist/shared/enum/tags.enum.js +8 -0
- package/dist/shared/query.dto.js +15 -6
- package/dist/slot/add-breaks.dto.js +13 -5
- package/dist/slot/add-or-remove-break.dto.js +5 -1
- package/dist/slot/calendar-query.dto.js +9 -3
- package/dist/slot/create-slot.dto.js +13 -5
- package/dist/slot/daily-query.dto.js +7 -2
- package/dist/slot/remove-breaks.dto.js +9 -3
- package/dist/slot/remove-slots-by-date.dto.js +7 -2
- package/dist/slot/update-slot.dto.js +7 -2
- package/dist/slot/weekly-query.dto.js +7 -2
- package/dist/slot-template/create-slot-template-autocomplete.dto.js +13 -5
- package/dist/slot-template/create-slot-template.dto.js +7 -2
- package/dist/slot-template/update-slot-template.dto.js +9 -3
- package/dist/slot-template/update-weekends.dto.js +9 -3
- package/dist/support/create-support.dto.js +9 -3
- package/dist/tariff/create-tariff.dto.js +7 -2
- package/dist/transaction/create-certificate-sale-payment.dto.js +11 -4
- package/dist/transaction/create-certificate-sale-refund.dto.js +11 -4
- package/dist/transaction/create-order-payment.dto.js +11 -4
- package/dist/transaction/create-order-refund.dto.js +11 -4
- package/dist/transaction/create-transaction.dto.js +13 -5
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upload/upload-image.dto.js +5 -1
- package/dist/upselling/create-upselling.dto.js +15 -6
- package/dist/user/check-user-token.dto.js +5 -1
- package/dist/user/create-user.dto.js +19 -8
- package/dist/user/login-user.dto.js +9 -3
- package/dist/user/recover-password.dto.js +5 -1
- package/dist/user/update-current-user-password.dto.js +9 -3
- package/dist/user/update-current-user.dto.js +18 -7
- package/dist/user/update-user-password.dto.js +7 -2
- package/dist/user/update-user.dto.js +13 -5
- package/dist/user-message/create-user-message.dto.js +11 -4
- package/dist/widget/create-widget.dto.js +13 -5
- package/dist/widget/widget.ro.d.ts +1 -0
- package/dist/widget-openapi/widget-openapi-schedule-query.dto.d.ts +4 -0
- package/dist/{widget-api/widget-schedule-query.dto.js → widget-openapi/widget-openapi-schedule-query.dto.js} +12 -7
- package/dist/{widget-api/widget-slot.ro.d.ts → widget-openapi/widget-openapi-slot.ro.d.ts} +1 -1
- package/dist/{widget-api/widget-slot.ro.js → widget-openapi/widget-openapi-slot.ro.js} +0 -0
- package/dist/widget-openapi/widget-openapi.ro.d.ts +15 -0
- package/dist/widget-openapi/widget-openapi.ro.js +2 -0
- package/package.json +3 -3
- package/dist/widget-api/widget-schedule-query.dto.d.ts +0 -4
|
@@ -5,74 +5,92 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.CreateProfileDto = void 0;
|
|
10
13
|
const class_transformer_1 = require("class-transformer");
|
|
11
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
12
16
|
const is_not_blank_string_1 = require("../shared/is-not-blank-string");
|
|
13
17
|
const profile_currency_1 = require("./enum/profile-currency");
|
|
14
18
|
class CreateProfileDto {
|
|
15
19
|
}
|
|
16
20
|
__decorate([
|
|
17
21
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
18
|
-
(0, class_transformer_1.Expose)()
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
19
24
|
], CreateProfileDto.prototype, "title", void 0);
|
|
20
25
|
__decorate([
|
|
21
26
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
22
27
|
(0, class_validator_1.IsEmail)(),
|
|
23
|
-
(0, class_transformer_1.Expose)()
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
24
30
|
], CreateProfileDto.prototype, "email", void 0);
|
|
25
31
|
__decorate([
|
|
26
32
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
27
|
-
(0, class_transformer_1.Expose)()
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
28
35
|
], CreateProfileDto.prototype, "phone", void 0);
|
|
29
36
|
__decorate([
|
|
30
37
|
(0, class_validator_1.IsUrl)(),
|
|
31
|
-
(0, class_transformer_1.Expose)()
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
32
40
|
], CreateProfileDto.prototype, "site", void 0);
|
|
33
41
|
__decorate([
|
|
34
42
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
35
|
-
(0, class_transformer_1.Expose)()
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
36
45
|
], CreateProfileDto.prototype, "legalTitle", void 0);
|
|
37
46
|
__decorate([
|
|
38
47
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
39
|
-
(0, class_transformer_1.Expose)()
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
40
50
|
], CreateProfileDto.prototype, "address", void 0);
|
|
41
51
|
__decorate([
|
|
42
52
|
(0, class_validator_1.IsOptional)(),
|
|
43
53
|
(0, class_validator_1.IsString)(),
|
|
44
|
-
(0, class_transformer_1.Expose)()
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
45
56
|
], CreateProfileDto.prototype, "instagram", void 0);
|
|
46
57
|
__decorate([
|
|
47
58
|
(0, class_validator_1.IsOptional)(),
|
|
48
59
|
(0, class_validator_1.IsString)(),
|
|
49
|
-
(0, class_transformer_1.Expose)()
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
50
62
|
], CreateProfileDto.prototype, "facebook", void 0);
|
|
51
63
|
__decorate([
|
|
52
64
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
53
|
-
(0, class_transformer_1.Expose)()
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
54
67
|
], CreateProfileDto.prototype, "country", void 0);
|
|
55
68
|
__decorate([
|
|
56
69
|
(0, class_validator_1.IsEnum)(profile_currency_1.ProfileCurrencyEnum),
|
|
57
70
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
58
|
-
(0, class_transformer_1.Expose)()
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
__metadata("design:type", String)
|
|
59
73
|
], CreateProfileDto.prototype, "currency", void 0);
|
|
60
74
|
__decorate([
|
|
61
75
|
(0, class_validator_1.IsOptional)(),
|
|
62
76
|
(0, class_validator_1.IsString)(),
|
|
63
|
-
(0, class_transformer_1.Expose)()
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
__metadata("design:type", String)
|
|
64
79
|
], CreateProfileDto.prototype, "comment", void 0);
|
|
65
80
|
__decorate([
|
|
66
81
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
67
|
-
(0, class_transformer_1.Expose)()
|
|
82
|
+
(0, class_transformer_1.Expose)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
68
84
|
], CreateProfileDto.prototype, "contactName", void 0);
|
|
69
85
|
__decorate([
|
|
70
86
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
71
|
-
(0, class_transformer_1.Expose)()
|
|
87
|
+
(0, class_transformer_1.Expose)(),
|
|
88
|
+
__metadata("design:type", String)
|
|
72
89
|
], CreateProfileDto.prototype, "contactPhone", void 0);
|
|
73
90
|
__decorate([
|
|
74
91
|
(0, class_validator_1.IsOptional)(),
|
|
75
92
|
(0, class_validator_1.IsString)(),
|
|
76
|
-
(0, class_transformer_1.Expose)()
|
|
93
|
+
(0, class_transformer_1.Expose)(),
|
|
94
|
+
__metadata("design:type", String)
|
|
77
95
|
], CreateProfileDto.prototype, "logo", void 0);
|
|
78
96
|
exports.CreateProfileDto = CreateProfileDto;
|
|
@@ -5,52 +5,71 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.UpdateProfileDto = void 0;
|
|
10
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
11
15
|
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
16
|
+
const profile_currency_1 = require("./enum/profile-currency");
|
|
12
17
|
class UpdateProfileDto {
|
|
13
18
|
}
|
|
14
19
|
__decorate([
|
|
15
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
20
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
16
22
|
], UpdateProfileDto.prototype, "title", void 0);
|
|
17
23
|
__decorate([
|
|
18
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
24
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
19
26
|
], UpdateProfileDto.prototype, "legalTitle", void 0);
|
|
20
27
|
__decorate([
|
|
21
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
28
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
22
30
|
], UpdateProfileDto.prototype, "phone", void 0);
|
|
23
31
|
__decorate([
|
|
24
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
32
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
25
34
|
], UpdateProfileDto.prototype, "contactPhone", void 0);
|
|
26
35
|
__decorate([
|
|
27
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
36
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
28
38
|
], UpdateProfileDto.prototype, "contactName", void 0);
|
|
29
39
|
__decorate([
|
|
30
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
40
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
31
42
|
], UpdateProfileDto.prototype, "email", void 0);
|
|
32
43
|
__decorate([
|
|
33
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
44
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
34
46
|
], UpdateProfileDto.prototype, "site", void 0);
|
|
35
47
|
__decorate([
|
|
36
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
48
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
37
50
|
], UpdateProfileDto.prototype, "address", void 0);
|
|
38
51
|
__decorate([
|
|
39
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
52
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
40
54
|
], UpdateProfileDto.prototype, "country", void 0);
|
|
41
55
|
__decorate([
|
|
42
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
56
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
43
58
|
], UpdateProfileDto.prototype, "currency", void 0);
|
|
44
59
|
__decorate([
|
|
45
|
-
(0, class_validator_1.IsOptional)()
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
46
62
|
], UpdateProfileDto.prototype, "facebook", void 0);
|
|
47
63
|
__decorate([
|
|
48
|
-
(0, class_validator_1.IsOptional)()
|
|
64
|
+
(0, class_validator_1.IsOptional)(),
|
|
65
|
+
__metadata("design:type", String)
|
|
49
66
|
], UpdateProfileDto.prototype, "instagram", void 0);
|
|
50
67
|
__decorate([
|
|
51
|
-
(0, class_validator_1.IsOptional)()
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
52
70
|
], UpdateProfileDto.prototype, "comment", void 0);
|
|
53
71
|
__decorate([
|
|
54
|
-
(0, class_validator_1.IsOptional)()
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
__metadata("design:type", String)
|
|
55
74
|
], UpdateProfileDto.prototype, "logo", void 0);
|
|
56
75
|
exports.UpdateProfileDto = UpdateProfileDto;
|
|
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.CreateQuestroomDto = void 0;
|
|
10
13
|
const class_transformer_1 = require("class-transformer");
|
|
@@ -16,131 +19,158 @@ class CreateQuestroomDto {
|
|
|
16
19
|
}
|
|
17
20
|
__decorate([
|
|
18
21
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
19
|
-
(0, class_transformer_1.Expose)()
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
20
24
|
], CreateQuestroomDto.prototype, "title", void 0);
|
|
21
25
|
__decorate([
|
|
22
26
|
(0, class_validator_1.IsPositive)(),
|
|
23
|
-
(0, class_transformer_1.Expose)()
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
24
29
|
], CreateQuestroomDto.prototype, "locationId", void 0);
|
|
25
30
|
__decorate([
|
|
26
31
|
(0, class_validator_1.IsEnum)(questroom_type_enum_1.QuestroomTypeEnum),
|
|
27
32
|
(0, class_transformer_1.Transform)(({ value }) => value || questroom_type_enum_1.QuestroomTypeEnum.ESCAPE),
|
|
28
|
-
(0, class_transformer_1.Expose)()
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
29
35
|
], CreateQuestroomDto.prototype, "type", void 0);
|
|
30
36
|
__decorate([
|
|
31
37
|
(0, class_validator_1.IsPositive)(),
|
|
32
38
|
(0, class_transformer_1.Transform)(({ value }) => value || 6),
|
|
33
|
-
(0, class_transformer_1.Expose)()
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", Number)
|
|
34
41
|
], CreateQuestroomDto.prototype, "difficult", void 0);
|
|
35
42
|
__decorate([
|
|
36
43
|
(0, class_validator_1.IsInt)(),
|
|
37
44
|
(0, class_transformer_1.Transform)(({ value }) => value || 0),
|
|
38
|
-
(0, class_transformer_1.Expose)()
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", Number)
|
|
39
47
|
], CreateQuestroomDto.prototype, "fear", void 0);
|
|
40
48
|
__decorate([
|
|
41
49
|
(0, class_validator_1.IsInt)(),
|
|
42
50
|
(0, class_transformer_1.Transform)(({ value }) => value || 12),
|
|
43
|
-
(0, class_transformer_1.Expose)()
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", Number)
|
|
44
53
|
], CreateQuestroomDto.prototype, "minAge", void 0);
|
|
45
54
|
__decorate([
|
|
46
55
|
(0, class_validator_1.IsPositive)(),
|
|
47
56
|
(0, class_transformer_1.Transform)(({ value }) => value || 6),
|
|
48
|
-
(0, class_transformer_1.Expose)()
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", Number)
|
|
49
59
|
], CreateQuestroomDto.prototype, "playersMin", void 0);
|
|
50
60
|
__decorate([
|
|
51
61
|
(0, class_validator_1.IsPositive)(),
|
|
52
62
|
(0, class_transformer_1.Transform)(({ value }) => value || 6),
|
|
53
|
-
(0, class_transformer_1.Expose)()
|
|
63
|
+
(0, class_transformer_1.Expose)(),
|
|
64
|
+
__metadata("design:type", Number)
|
|
54
65
|
], CreateQuestroomDto.prototype, "playersMax", void 0);
|
|
55
66
|
__decorate([
|
|
56
67
|
(0, class_validator_1.IsBoolean)(),
|
|
57
68
|
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? false : value)),
|
|
58
|
-
(0, class_transformer_1.Expose)()
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
__metadata("design:type", Boolean)
|
|
59
71
|
], CreateQuestroomDto.prototype, "actors", void 0);
|
|
60
72
|
__decorate([
|
|
61
73
|
(0, class_validator_1.IsArray)(),
|
|
62
74
|
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
63
|
-
(0, class_transformer_1.Expose)()
|
|
75
|
+
(0, class_transformer_1.Expose)(),
|
|
76
|
+
__metadata("design:type", Array)
|
|
64
77
|
], CreateQuestroomDto.prototype, "questroomIds", void 0);
|
|
65
78
|
__decorate([
|
|
66
79
|
(0, class_validator_1.IsArray)(),
|
|
67
80
|
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
68
|
-
(0, class_transformer_1.Expose)()
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
__metadata("design:type", Array)
|
|
69
83
|
], CreateQuestroomDto.prototype, "languages", void 0);
|
|
70
84
|
__decorate([
|
|
71
85
|
(0, class_validator_1.ValidateIf)((o) => o.languages && o.languages.length),
|
|
72
86
|
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
73
|
-
(0, class_transformer_1.Expose)()
|
|
87
|
+
(0, class_transformer_1.Expose)(),
|
|
88
|
+
__metadata("design:type", String)
|
|
74
89
|
], CreateQuestroomDto.prototype, "defaultLanguage", void 0);
|
|
75
90
|
__decorate([
|
|
76
91
|
(0, class_validator_1.IsOptional)(),
|
|
77
92
|
(0, class_validator_1.IsPositive)(),
|
|
78
|
-
(0, class_transformer_1.Expose)()
|
|
93
|
+
(0, class_transformer_1.Expose)(),
|
|
94
|
+
__metadata("design:type", Number)
|
|
79
95
|
], CreateQuestroomDto.prototype, "walletId", void 0);
|
|
80
96
|
__decorate([
|
|
81
97
|
(0, class_validator_1.IsOptional)(),
|
|
82
98
|
(0, class_validator_1.IsNumber)(),
|
|
83
|
-
(0, class_transformer_1.Expose)()
|
|
99
|
+
(0, class_transformer_1.Expose)(),
|
|
100
|
+
__metadata("design:type", Number)
|
|
84
101
|
], CreateQuestroomDto.prototype, "onlinePaymentsCashbox", void 0);
|
|
85
102
|
__decorate([
|
|
86
103
|
(0, class_validator_1.IsPositive)(),
|
|
87
|
-
(0, class_transformer_1.Expose)()
|
|
104
|
+
(0, class_transformer_1.Expose)(),
|
|
105
|
+
__metadata("design:type", Number)
|
|
88
106
|
], CreateQuestroomDto.prototype, "cashPaymentsCashbox", void 0);
|
|
89
107
|
__decorate([
|
|
90
108
|
(0, class_validator_1.IsPositive)(),
|
|
91
|
-
(0, class_transformer_1.Expose)()
|
|
109
|
+
(0, class_transformer_1.Expose)(),
|
|
110
|
+
__metadata("design:type", Number)
|
|
92
111
|
], CreateQuestroomDto.prototype, "cardPaymentsCashbox", void 0);
|
|
93
112
|
__decorate([
|
|
94
113
|
(0, class_validator_1.IsBoolean)(),
|
|
95
114
|
(0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : true)),
|
|
96
|
-
(0, class_transformer_1.Expose)()
|
|
115
|
+
(0, class_transformer_1.Expose)(),
|
|
116
|
+
__metadata("design:type", Boolean)
|
|
97
117
|
], CreateQuestroomDto.prototype, "awailableForWidgets", void 0);
|
|
98
118
|
__decorate([
|
|
99
119
|
(0, class_validator_1.IsBoolean)(),
|
|
100
120
|
(0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : true)),
|
|
101
|
-
(0, class_transformer_1.Expose)()
|
|
121
|
+
(0, class_transformer_1.Expose)(),
|
|
122
|
+
__metadata("design:type", Boolean)
|
|
102
123
|
], CreateQuestroomDto.prototype, "awailableForNavigator", void 0);
|
|
103
124
|
__decorate([
|
|
104
125
|
(0, class_validator_1.IsPositive)(),
|
|
105
126
|
(0, class_transformer_1.Transform)(({ value }) => value || 15),
|
|
106
|
-
(0, class_transformer_1.Expose)()
|
|
127
|
+
(0, class_transformer_1.Expose)(),
|
|
128
|
+
__metadata("design:type", Number)
|
|
107
129
|
], CreateQuestroomDto.prototype, "breakInterval", void 0);
|
|
108
130
|
__decorate([
|
|
109
131
|
(0, class_validator_1.IsPositive)(),
|
|
110
132
|
(0, class_transformer_1.Transform)(({ value }) => value || 60),
|
|
111
|
-
(0, class_transformer_1.Expose)()
|
|
133
|
+
(0, class_transformer_1.Expose)(),
|
|
134
|
+
__metadata("design:type", Number)
|
|
112
135
|
], CreateQuestroomDto.prototype, "time", void 0);
|
|
113
136
|
__decorate([
|
|
114
137
|
(0, class_validator_1.IsInt)(),
|
|
115
138
|
(0, class_transformer_1.Transform)(({ value }) => value || 24),
|
|
116
|
-
(0, class_transformer_1.Expose)()
|
|
139
|
+
(0, class_transformer_1.Expose)(),
|
|
140
|
+
__metadata("design:type", Number)
|
|
117
141
|
], CreateQuestroomDto.prototype, "minHoursForFreeCanceling", void 0);
|
|
118
142
|
__decorate([
|
|
119
143
|
(0, class_validator_1.IsBoolean)(),
|
|
120
144
|
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? false : value)),
|
|
121
|
-
(0, class_transformer_1.Expose)()
|
|
145
|
+
(0, class_transformer_1.Expose)(),
|
|
146
|
+
__metadata("design:type", Boolean)
|
|
122
147
|
], CreateQuestroomDto.prototype, "ticketSystem", void 0);
|
|
123
148
|
__decorate([
|
|
124
149
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
125
|
-
(0, class_transformer_1.Expose)()
|
|
150
|
+
(0, class_transformer_1.Expose)(),
|
|
151
|
+
__metadata("design:type", String)
|
|
126
152
|
], CreateQuestroomDto.prototype, "photo", void 0);
|
|
127
153
|
__decorate([
|
|
128
154
|
(0, class_validator_1.IsArray)(),
|
|
129
155
|
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
130
|
-
(0, class_transformer_1.Expose)()
|
|
156
|
+
(0, class_transformer_1.Expose)(),
|
|
157
|
+
__metadata("design:type", Array)
|
|
131
158
|
], CreateQuestroomDto.prototype, "photos", void 0);
|
|
132
159
|
__decorate([
|
|
133
160
|
(0, class_validator_1.IsOptional)(),
|
|
134
161
|
(0, class_validator_1.IsString)(),
|
|
135
|
-
(0, class_transformer_1.Expose)()
|
|
162
|
+
(0, class_transformer_1.Expose)(),
|
|
163
|
+
__metadata("design:type", String)
|
|
136
164
|
], CreateQuestroomDto.prototype, "video", void 0);
|
|
137
165
|
__decorate([
|
|
138
166
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
139
|
-
(0, class_transformer_1.Expose)()
|
|
167
|
+
(0, class_transformer_1.Expose)(),
|
|
168
|
+
__metadata("design:type", String)
|
|
140
169
|
], CreateQuestroomDto.prototype, "legend", void 0);
|
|
141
170
|
__decorate([
|
|
142
171
|
(0, class_validator_1.IsOptional)(),
|
|
143
172
|
(0, class_validator_1.IsString)(),
|
|
144
|
-
(0, class_transformer_1.Expose)()
|
|
173
|
+
(0, class_transformer_1.Expose)(),
|
|
174
|
+
__metadata("design:type", String)
|
|
145
175
|
], CreateQuestroomDto.prototype, "teaser", void 0);
|
|
146
176
|
exports.CreateQuestroomDto = CreateQuestroomDto;
|
|
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.CreateRegistrationRequestDto = void 0;
|
|
10
13
|
const class_transformer_1 = require("class-transformer");
|
|
@@ -13,18 +16,22 @@ class CreateRegistrationRequestDto {
|
|
|
13
16
|
}
|
|
14
17
|
__decorate([
|
|
15
18
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
16
|
-
(0, class_transformer_1.Expose)()
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
17
21
|
], CreateRegistrationRequestDto.prototype, "name", void 0);
|
|
18
22
|
__decorate([
|
|
19
23
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
20
|
-
(0, class_transformer_1.Expose)()
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
21
26
|
], CreateRegistrationRequestDto.prototype, "email", void 0);
|
|
22
27
|
__decorate([
|
|
23
28
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
24
|
-
(0, class_transformer_1.Expose)()
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
25
31
|
], CreateRegistrationRequestDto.prototype, "phone", void 0);
|
|
26
32
|
__decorate([
|
|
27
33
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
28
|
-
(0, class_transformer_1.Expose)()
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
29
36
|
], CreateRegistrationRequestDto.prototype, "site", void 0);
|
|
30
37
|
exports.CreateRegistrationRequestDto = CreateRegistrationRequestDto;
|
|
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.UpdateRegistrationRequestDto = void 0;
|
|
10
13
|
const class_transformer_1 = require("class-transformer");
|
|
@@ -13,22 +16,27 @@ class UpdateRegistrationRequestDto {
|
|
|
13
16
|
}
|
|
14
17
|
__decorate([
|
|
15
18
|
(0, class_validator_1.IsOptional)(),
|
|
16
|
-
(0, class_transformer_1.Expose)()
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
17
21
|
], UpdateRegistrationRequestDto.prototype, "name", void 0);
|
|
18
22
|
__decorate([
|
|
19
23
|
(0, class_validator_1.IsOptional)(),
|
|
20
|
-
(0, class_transformer_1.Expose)()
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
21
26
|
], UpdateRegistrationRequestDto.prototype, "phone", void 0);
|
|
22
27
|
__decorate([
|
|
23
28
|
(0, class_validator_1.IsOptional)(),
|
|
24
|
-
(0, class_transformer_1.Expose)()
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
25
31
|
], UpdateRegistrationRequestDto.prototype, "email", void 0);
|
|
26
32
|
__decorate([
|
|
27
33
|
(0, class_validator_1.IsOptional)(),
|
|
28
|
-
(0, class_transformer_1.Expose)()
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
29
36
|
], UpdateRegistrationRequestDto.prototype, "site", void 0);
|
|
30
37
|
__decorate([
|
|
31
38
|
(0, class_validator_1.IsOptional)(),
|
|
32
|
-
(0, class_transformer_1.Expose)()
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
33
41
|
], UpdateRegistrationRequestDto.prototype, "comment", void 0);
|
|
34
42
|
exports.UpdateRegistrationRequestDto = UpdateRegistrationRequestDto;
|
|
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.CreateRoleDto = void 0;
|
|
10
13
|
const class_transformer_1 = require("class-transformer");
|
|
@@ -14,46 +17,55 @@ class CreateRoleDto {
|
|
|
14
17
|
}
|
|
15
18
|
__decorate([
|
|
16
19
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
17
|
-
(0, class_transformer_1.Expose)()
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
18
22
|
], CreateRoleDto.prototype, "title", void 0);
|
|
19
23
|
__decorate([
|
|
20
24
|
(0, class_validator_1.IsBoolean)(),
|
|
21
25
|
(0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : true)),
|
|
22
|
-
(0, class_transformer_1.Expose)()
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
23
28
|
], CreateRoleDto.prototype, "totalAccess", void 0);
|
|
24
29
|
__decorate([
|
|
25
30
|
(0, class_validator_1.IsBoolean)(),
|
|
26
31
|
(0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : true)),
|
|
27
|
-
(0, class_transformer_1.Expose)()
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", Boolean)
|
|
28
34
|
], CreateRoleDto.prototype, "calendarAccess", void 0);
|
|
29
35
|
__decorate([
|
|
30
36
|
(0, class_validator_1.IsBoolean)(),
|
|
31
37
|
(0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : true)),
|
|
32
|
-
(0, class_transformer_1.Expose)()
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
33
40
|
], CreateRoleDto.prototype, "sheduleAccess", void 0);
|
|
34
41
|
__decorate([
|
|
35
42
|
(0, class_validator_1.IsBoolean)(),
|
|
36
43
|
(0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : true)),
|
|
37
|
-
(0, class_transformer_1.Expose)()
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
38
46
|
], CreateRoleDto.prototype, "certificateAccess", void 0);
|
|
39
47
|
__decorate([
|
|
40
48
|
(0, class_validator_1.IsBoolean)(),
|
|
41
49
|
(0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : true)),
|
|
42
|
-
(0, class_transformer_1.Expose)()
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", Boolean)
|
|
43
52
|
], CreateRoleDto.prototype, "financeAccess", void 0);
|
|
44
53
|
__decorate([
|
|
45
54
|
(0, class_validator_1.IsBoolean)(),
|
|
46
55
|
(0, class_transformer_1.Transform)(({ value }) => value || false),
|
|
47
|
-
(0, class_transformer_1.Expose)()
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
__metadata("design:type", Boolean)
|
|
48
58
|
], CreateRoleDto.prototype, "employeeAccess", void 0);
|
|
49
59
|
__decorate([
|
|
50
60
|
(0, class_validator_1.IsBoolean)(),
|
|
51
61
|
(0, class_transformer_1.Transform)(({ value }) => value || false),
|
|
52
|
-
(0, class_transformer_1.Expose)()
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
__metadata("design:type", Boolean)
|
|
53
64
|
], CreateRoleDto.prototype, "settingsAccess", void 0);
|
|
54
65
|
__decorate([
|
|
55
66
|
(0, class_validator_1.IsBoolean)(),
|
|
56
67
|
(0, class_transformer_1.Transform)(({ value }) => value || false),
|
|
57
|
-
(0, class_transformer_1.Expose)()
|
|
68
|
+
(0, class_transformer_1.Expose)(),
|
|
69
|
+
__metadata("design:type", Boolean)
|
|
58
70
|
], CreateRoleDto.prototype, "statisticsAccess", void 0);
|
|
59
71
|
exports.CreateRoleDto = CreateRoleDto;
|
|
@@ -4,6 +4,7 @@ exports.CountriesEnum = void 0;
|
|
|
4
4
|
var CountriesEnum;
|
|
5
5
|
(function (CountriesEnum) {
|
|
6
6
|
CountriesEnum["GERMANY"] = "de";
|
|
7
|
+
CountriesEnum["AUSTRIA"] = "au";
|
|
7
8
|
CountriesEnum["USA"] = "usa";
|
|
8
9
|
CountriesEnum["RUSSIA"] = "ru";
|
|
9
10
|
})(CountriesEnum = exports.CountriesEnum || (exports.CountriesEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagsEnum = void 0;
|
|
4
|
+
var TagsEnum;
|
|
5
|
+
(function (TagsEnum) {
|
|
6
|
+
TagsEnum["MISTERY"] = "mistery";
|
|
7
|
+
TagsEnum["HORROR"] = "horror";
|
|
8
|
+
})(TagsEnum = exports.TagsEnum || (exports.TagsEnum = {}));
|
package/dist/shared/query.dto.js
CHANGED
|
@@ -5,27 +5,36 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.QueryDto = void 0;
|
|
10
13
|
const class_validator_1 = require("class-validator");
|
|
11
14
|
class QueryDto {
|
|
12
15
|
}
|
|
13
16
|
__decorate([
|
|
14
|
-
(0, class_validator_1.IsNotEmpty)()
|
|
17
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
18
|
+
__metadata("design:type", Number)
|
|
15
19
|
], QueryDto.prototype, "page", void 0);
|
|
16
20
|
__decorate([
|
|
17
|
-
(0, class_validator_1.IsNotEmpty)()
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
18
23
|
], QueryDto.prototype, "limit", void 0);
|
|
19
24
|
__decorate([
|
|
20
|
-
(0, class_validator_1.IsOptional)()
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
21
27
|
], QueryDto.prototype, "searchText", void 0);
|
|
22
28
|
__decorate([
|
|
23
|
-
(0, class_validator_1.IsOptional)()
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
24
31
|
], QueryDto.prototype, "order", void 0);
|
|
25
32
|
__decorate([
|
|
26
|
-
(0, class_validator_1.IsOptional)()
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
27
35
|
], QueryDto.prototype, "sort", void 0);
|
|
28
36
|
__decorate([
|
|
29
|
-
(0, class_validator_1.IsNotEmpty)()
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
38
|
+
__metadata("design:type", Object)
|
|
30
39
|
], QueryDto.prototype, "where", void 0);
|
|
31
40
|
exports.QueryDto = QueryDto;
|
|
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.AddBreaksDto = void 0;
|
|
10
13
|
const class_validator_1 = require("class-validator");
|
|
@@ -12,18 +15,23 @@ const is_not_blank_1 = require("../shared/is-not-blank");
|
|
|
12
15
|
class AddBreaksDto {
|
|
13
16
|
}
|
|
14
17
|
__decorate([
|
|
15
|
-
(0, class_validator_1.IsNumber)()
|
|
18
|
+
(0, class_validator_1.IsNumber)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
16
20
|
], AddBreaksDto.prototype, "questroomId", void 0);
|
|
17
21
|
__decorate([
|
|
18
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
22
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
19
24
|
], AddBreaksDto.prototype, "breakReason", void 0);
|
|
20
25
|
__decorate([
|
|
21
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
26
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
22
28
|
], AddBreaksDto.prototype, "start", void 0);
|
|
23
29
|
__decorate([
|
|
24
|
-
(0, class_validator_1.IsBoolean)()
|
|
30
|
+
(0, class_validator_1.IsBoolean)(),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
25
32
|
], AddBreaksDto.prototype, "ignoreOrders", void 0);
|
|
26
33
|
__decorate([
|
|
27
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
34
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
28
36
|
], AddBreaksDto.prototype, "end", void 0);
|
|
29
37
|
exports.AddBreaksDto = AddBreaksDto;
|