@escapenavigator/types 1.10.104 → 1.10.106
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/agregator/agregator-questroom.ro.d.ts +1 -1
- package/dist/agregator/agregator-questroom.ro.js +2 -2
- package/dist/cashbox/cashbox-light.ro.d.ts +27 -0
- package/dist/cashbox/cashbox-light.ro.js +74 -0
- package/dist/cashbox/cashbox.ro.d.ts +2 -15
- package/dist/cashbox/cashbox.ro.js +2 -48
- package/dist/location/location-light.ro.d.ts +37 -0
- package/dist/location/location-light.ro.js +109 -0
- package/dist/location/location.ro.d.ts +2 -25
- package/dist/location/location.ro.js +2 -83
- package/dist/order/order-light.ro.d.ts +54 -0
- package/dist/order/order-light.ro.js +128 -0
- package/dist/questroom/create-questroom.dto.d.ts +0 -1
- package/dist/questroom/create-questroom.dto.js +0 -5
- package/dist/questroom/questroom-admin.ro.d.ts +2 -1
- package/dist/questroom/questroom-admin.ro.js +2 -1
- package/dist/questroom/questroom-light.ro.d.ts +79 -0
- package/dist/questroom/questroom-light.ro.js +220 -0
- package/dist/questroom/questroom.ro.d.ts +4 -60
- package/dist/questroom/questroom.ro.js +4 -190
- package/dist/role/role-light.ro.d.ts +14 -0
- package/dist/role/role-light.ro.js +34 -0
- package/dist/role/role.ro.d.ts +2 -4
- package/dist/role/role.ro.js +2 -10
- package/dist/tariff/tariff-light.ro.d.ts +20 -0
- package/dist/tariff/tariff-light.ro.js +52 -0
- package/dist/tariff/tariff.ro.d.ts +2 -8
- package/dist/tariff/tariff.ro.js +2 -26
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/crud/user-light.ro.d.ts +28 -0
- package/dist/user/crud/user-light.ro.js +81 -0
- package/dist/user/crud/user.ro.d.ts +2 -15
- package/dist/user/crud/user.ro.js +2 -54
- package/package.json +2 -2
|
@@ -71,11 +71,6 @@ __decorate([
|
|
|
71
71
|
(0, class_transformer_1.Expose)(),
|
|
72
72
|
__metadata("design:type", String)
|
|
73
73
|
], CreateQuestroomDto.prototype, "title", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, class_validator_1.IsOptional)(),
|
|
76
|
-
(0, class_transformer_1.Expose)(),
|
|
77
|
-
__metadata("design:type", Number)
|
|
78
|
-
], CreateQuestroomDto.prototype, "roomId", void 0);
|
|
79
74
|
__decorate([
|
|
80
75
|
(0, class_validator_1.IsOptional)(),
|
|
81
76
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LocationRO } from '../location/location.ro';
|
|
2
2
|
import { ProfileRO } from '../profile/profile.ro';
|
|
3
|
-
import { QuestroomLocale
|
|
3
|
+
import { QuestroomLightLocale as QuestroomLocale } from './questroom-light.ro';
|
|
4
|
+
import { QuestroomRO } from './questroom.ro';
|
|
4
5
|
declare class City {
|
|
5
6
|
title: string;
|
|
6
7
|
}
|
|
@@ -14,6 +14,7 @@ exports.QuestroomAdminRO = exports.LocationAdminRO = void 0;
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const location_ro_1 = require("../location/location.ro");
|
|
16
16
|
const profile_ro_1 = require("../profile/profile.ro");
|
|
17
|
+
const questroom_light_ro_1 = require("./questroom-light.ro");
|
|
17
18
|
const questroom_ro_1 = require("./questroom.ro");
|
|
18
19
|
class City {
|
|
19
20
|
}
|
|
@@ -82,7 +83,7 @@ __decorate([
|
|
|
82
83
|
], QuestroomAdminRO.prototype, "location", void 0);
|
|
83
84
|
__decorate([
|
|
84
85
|
(0, class_transformer_1.Expose)(),
|
|
85
|
-
(0, class_transformer_1.Type)(() =>
|
|
86
|
+
(0, class_transformer_1.Type)(() => questroom_light_ro_1.QuestroomLightLocale),
|
|
86
87
|
__metadata("design:type", Array)
|
|
87
88
|
], QuestroomAdminRO.prototype, "techlocales", void 0);
|
|
88
89
|
__decorate([
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
+
import { TagsEnum } from '../shared/enum/tags.enum';
|
|
3
|
+
import { RO } from '../shared/ro-class';
|
|
4
|
+
import { SlotTemplateType } from '../slot-template/slot-template-type';
|
|
5
|
+
import { QuestroomActorsEnum } from './enum/questroom-actors.enum';
|
|
6
|
+
import { QuestroomConfirmTypeEnum } from './enum/questroom-confirm-type.enum';
|
|
7
|
+
import { QuestroomTypeEnum } from './enum/questroom-type.enum';
|
|
8
|
+
export declare class QuestroomLightLocale {
|
|
9
|
+
id: number;
|
|
10
|
+
language: Languages;
|
|
11
|
+
title: string;
|
|
12
|
+
legend: string;
|
|
13
|
+
teaser: string;
|
|
14
|
+
importantInfo: string;
|
|
15
|
+
}
|
|
16
|
+
export declare class QuestroomLightMode {
|
|
17
|
+
id: number;
|
|
18
|
+
title: string;
|
|
19
|
+
description: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Лёгкий RO квеста для bootstrap'а. Это самая большая сущность из
|
|
23
|
+
* шести (до 50 записей), поэтому экономия здесь самая ощутимая.
|
|
24
|
+
*
|
|
25
|
+
* Из payload'а выкинуты поля, которые в @escapenavigator/app
|
|
26
|
+
* читаются только в модалках через `useGetOne` или вообще не
|
|
27
|
+
* используются (widget/aggregator/navigator-only):
|
|
28
|
+
* - `video`, `slug`, `navigatorReviewId`, `photoFrame`
|
|
29
|
+
* - `awailableForNavigator`, `awailableForWidgets`, `reviewsCount`,
|
|
30
|
+
* `rate`, `top`
|
|
31
|
+
* - `disabledLanguages`, `alternativeScenarioIds`,
|
|
32
|
+
* `requiredPositionsIds`
|
|
33
|
+
* - `profileId` (нигде в app-сторе не читается)
|
|
34
|
+
*
|
|
35
|
+
* Остальное (включая `photos`, `legend`, `importantInfo`, `modes`,
|
|
36
|
+
* `actors` и т.д.) используется в verify-company onboarding,
|
|
37
|
+
* order-new, calendar и settings — поэтому остаётся в light.
|
|
38
|
+
*/
|
|
39
|
+
export declare class QuestroomLightRO extends RO {
|
|
40
|
+
deletedAt?: Date;
|
|
41
|
+
title: string;
|
|
42
|
+
locationId: number;
|
|
43
|
+
type: QuestroomTypeEnum;
|
|
44
|
+
difficult: number;
|
|
45
|
+
locales: QuestroomLightLocale[];
|
|
46
|
+
modes: QuestroomLightMode[];
|
|
47
|
+
fear: number;
|
|
48
|
+
minAge: number;
|
|
49
|
+
time: number;
|
|
50
|
+
templateId: number;
|
|
51
|
+
/**
|
|
52
|
+
* Type of the linked SlotTemplate (`fixed` or `flex`). Denormalized from
|
|
53
|
+
* `SlotTemplate.type` so consumers (calendar, schedule editor) can branch
|
|
54
|
+
* on the schedule kind without an extra fetch.
|
|
55
|
+
*/
|
|
56
|
+
templateType?: SlotTemplateType;
|
|
57
|
+
ticketSystem: boolean;
|
|
58
|
+
resourceUnitsTotal: number;
|
|
59
|
+
resourceUnitSize: number;
|
|
60
|
+
photo: string;
|
|
61
|
+
photos: string[];
|
|
62
|
+
legend: string;
|
|
63
|
+
importantInfo: string;
|
|
64
|
+
sortPosition: number;
|
|
65
|
+
actors: QuestroomActorsEnum;
|
|
66
|
+
questroomTags: TagsEnum[];
|
|
67
|
+
playersMin: number;
|
|
68
|
+
playersMax: number;
|
|
69
|
+
closed: boolean;
|
|
70
|
+
paypalCashbox: number;
|
|
71
|
+
onlinePaymentsCashbox: number;
|
|
72
|
+
squareCashbox: number;
|
|
73
|
+
confirmType: QuestroomConfirmTypeEnum;
|
|
74
|
+
daysForBooking: number;
|
|
75
|
+
bsCashbox: number;
|
|
76
|
+
onlinePaymentsAvailable: boolean;
|
|
77
|
+
awailableForWidgets: boolean;
|
|
78
|
+
slotStepMinutes: number;
|
|
79
|
+
}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
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
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
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
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.QuestroomLightRO = exports.QuestroomLightMode = exports.QuestroomLightLocale = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
16
|
+
const ro_class_1 = require("../shared/ro-class");
|
|
17
|
+
const questroom_actors_enum_1 = require("./enum/questroom-actors.enum");
|
|
18
|
+
const questroom_confirm_type_enum_1 = require("./enum/questroom-confirm-type.enum");
|
|
19
|
+
const questroom_type_enum_1 = require("./enum/questroom-type.enum");
|
|
20
|
+
class QuestroomLightLocale {
|
|
21
|
+
}
|
|
22
|
+
exports.QuestroomLightLocale = QuestroomLightLocale;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], QuestroomLightLocale.prototype, "id", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], QuestroomLightLocale.prototype, "language", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], QuestroomLightLocale.prototype, "title", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], QuestroomLightLocale.prototype, "legend", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], QuestroomLightLocale.prototype, "teaser", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], QuestroomLightLocale.prototype, "importantInfo", void 0);
|
|
47
|
+
class QuestroomLightMode {
|
|
48
|
+
}
|
|
49
|
+
exports.QuestroomLightMode = QuestroomLightMode;
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], QuestroomLightMode.prototype, "id", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], QuestroomLightMode.prototype, "title", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], QuestroomLightMode.prototype, "description", void 0);
|
|
62
|
+
/**
|
|
63
|
+
* Лёгкий RO квеста для bootstrap'а. Это самая большая сущность из
|
|
64
|
+
* шести (до 50 записей), поэтому экономия здесь самая ощутимая.
|
|
65
|
+
*
|
|
66
|
+
* Из payload'а выкинуты поля, которые в @escapenavigator/app
|
|
67
|
+
* читаются только в модалках через `useGetOne` или вообще не
|
|
68
|
+
* используются (widget/aggregator/navigator-only):
|
|
69
|
+
* - `video`, `slug`, `navigatorReviewId`, `photoFrame`
|
|
70
|
+
* - `awailableForNavigator`, `awailableForWidgets`, `reviewsCount`,
|
|
71
|
+
* `rate`, `top`
|
|
72
|
+
* - `disabledLanguages`, `alternativeScenarioIds`,
|
|
73
|
+
* `requiredPositionsIds`
|
|
74
|
+
* - `profileId` (нигде в app-сторе не читается)
|
|
75
|
+
*
|
|
76
|
+
* Остальное (включая `photos`, `legend`, `importantInfo`, `modes`,
|
|
77
|
+
* `actors` и т.д.) используется в verify-company onboarding,
|
|
78
|
+
* order-new, calendar и settings — поэтому остаётся в light.
|
|
79
|
+
*/
|
|
80
|
+
class QuestroomLightRO extends ro_class_1.RO {
|
|
81
|
+
}
|
|
82
|
+
exports.QuestroomLightRO = QuestroomLightRO;
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, class_transformer_1.Expose)(),
|
|
85
|
+
__metadata("design:type", Date)
|
|
86
|
+
], QuestroomLightRO.prototype, "deletedAt", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_transformer_1.Expose)(),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], QuestroomLightRO.prototype, "title", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, class_transformer_1.Expose)(),
|
|
93
|
+
__metadata("design:type", Number)
|
|
94
|
+
], QuestroomLightRO.prototype, "locationId", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, class_transformer_1.Expose)(),
|
|
97
|
+
__metadata("design:type", String)
|
|
98
|
+
], QuestroomLightRO.prototype, "type", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, class_transformer_1.Expose)(),
|
|
101
|
+
__metadata("design:type", Number)
|
|
102
|
+
], QuestroomLightRO.prototype, "difficult", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_transformer_1.Expose)(),
|
|
105
|
+
(0, class_transformer_1.Type)(() => QuestroomLightLocale),
|
|
106
|
+
__metadata("design:type", Array)
|
|
107
|
+
], QuestroomLightRO.prototype, "locales", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, class_transformer_1.Expose)(),
|
|
110
|
+
(0, class_transformer_1.Type)(() => QuestroomLightMode),
|
|
111
|
+
__metadata("design:type", Array)
|
|
112
|
+
], QuestroomLightRO.prototype, "modes", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, class_transformer_1.Expose)(),
|
|
115
|
+
__metadata("design:type", Number)
|
|
116
|
+
], QuestroomLightRO.prototype, "fear", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, class_transformer_1.Expose)(),
|
|
119
|
+
__metadata("design:type", Number)
|
|
120
|
+
], QuestroomLightRO.prototype, "minAge", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, class_transformer_1.Expose)(),
|
|
123
|
+
__metadata("design:type", Number)
|
|
124
|
+
], QuestroomLightRO.prototype, "time", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, class_transformer_1.Expose)(),
|
|
127
|
+
__metadata("design:type", Number)
|
|
128
|
+
], QuestroomLightRO.prototype, "templateId", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, class_transformer_1.Expose)(),
|
|
131
|
+
__metadata("design:type", String)
|
|
132
|
+
], QuestroomLightRO.prototype, "templateType", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, class_transformer_1.Expose)(),
|
|
135
|
+
__metadata("design:type", Boolean)
|
|
136
|
+
], QuestroomLightRO.prototype, "ticketSystem", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, class_transformer_1.Expose)(),
|
|
139
|
+
__metadata("design:type", Number)
|
|
140
|
+
], QuestroomLightRO.prototype, "resourceUnitsTotal", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, class_transformer_1.Expose)(),
|
|
143
|
+
__metadata("design:type", Number)
|
|
144
|
+
], QuestroomLightRO.prototype, "resourceUnitSize", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, class_transformer_1.Expose)(),
|
|
147
|
+
__metadata("design:type", String)
|
|
148
|
+
], QuestroomLightRO.prototype, "photo", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, class_transformer_1.Expose)(),
|
|
151
|
+
__metadata("design:type", Array)
|
|
152
|
+
], QuestroomLightRO.prototype, "photos", void 0);
|
|
153
|
+
__decorate([
|
|
154
|
+
(0, class_transformer_1.Expose)(),
|
|
155
|
+
__metadata("design:type", String)
|
|
156
|
+
], QuestroomLightRO.prototype, "legend", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, class_transformer_1.Expose)(),
|
|
159
|
+
__metadata("design:type", String)
|
|
160
|
+
], QuestroomLightRO.prototype, "importantInfo", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, class_transformer_1.Expose)(),
|
|
163
|
+
__metadata("design:type", Number)
|
|
164
|
+
], QuestroomLightRO.prototype, "sortPosition", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, class_transformer_1.Expose)(),
|
|
167
|
+
__metadata("design:type", String)
|
|
168
|
+
], QuestroomLightRO.prototype, "actors", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, class_transformer_1.Expose)(),
|
|
171
|
+
__metadata("design:type", Array)
|
|
172
|
+
], QuestroomLightRO.prototype, "questroomTags", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
(0, class_transformer_1.Expose)(),
|
|
175
|
+
__metadata("design:type", Number)
|
|
176
|
+
], QuestroomLightRO.prototype, "playersMin", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, class_transformer_1.Expose)(),
|
|
179
|
+
__metadata("design:type", Number)
|
|
180
|
+
], QuestroomLightRO.prototype, "playersMax", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, class_transformer_1.Expose)(),
|
|
183
|
+
__metadata("design:type", Boolean)
|
|
184
|
+
], QuestroomLightRO.prototype, "closed", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, class_transformer_1.Expose)(),
|
|
187
|
+
__metadata("design:type", Number)
|
|
188
|
+
], QuestroomLightRO.prototype, "paypalCashbox", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
(0, class_transformer_1.Expose)(),
|
|
191
|
+
__metadata("design:type", Number)
|
|
192
|
+
], QuestroomLightRO.prototype, "onlinePaymentsCashbox", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, class_transformer_1.Expose)(),
|
|
195
|
+
__metadata("design:type", Number)
|
|
196
|
+
], QuestroomLightRO.prototype, "squareCashbox", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
(0, class_transformer_1.Expose)(),
|
|
199
|
+
__metadata("design:type", String)
|
|
200
|
+
], QuestroomLightRO.prototype, "confirmType", void 0);
|
|
201
|
+
__decorate([
|
|
202
|
+
(0, class_transformer_1.Expose)(),
|
|
203
|
+
__metadata("design:type", Number)
|
|
204
|
+
], QuestroomLightRO.prototype, "daysForBooking", void 0);
|
|
205
|
+
__decorate([
|
|
206
|
+
(0, class_transformer_1.Expose)(),
|
|
207
|
+
__metadata("design:type", Number)
|
|
208
|
+
], QuestroomLightRO.prototype, "bsCashbox", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
(0, class_transformer_1.Expose)(),
|
|
211
|
+
__metadata("design:type", Boolean)
|
|
212
|
+
], QuestroomLightRO.prototype, "onlinePaymentsAvailable", void 0);
|
|
213
|
+
__decorate([
|
|
214
|
+
(0, class_transformer_1.Expose)(),
|
|
215
|
+
__metadata("design:type", Boolean)
|
|
216
|
+
], QuestroomLightRO.prototype, "awailableForWidgets", void 0);
|
|
217
|
+
__decorate([
|
|
218
|
+
(0, class_transformer_1.Expose)(),
|
|
219
|
+
__metadata("design:type", Number)
|
|
220
|
+
], QuestroomLightRO.prototype, "slotStepMinutes", void 0);
|
|
@@ -1,75 +1,19 @@
|
|
|
1
1
|
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { QuestroomConfirmTypeEnum } from './enum/questroom-confirm-type.enum';
|
|
7
|
-
import { QuestroomTypeEnum } from './enum/questroom-type.enum';
|
|
8
|
-
export declare class QuestroomLocale {
|
|
9
|
-
id: number;
|
|
10
|
-
language: Languages;
|
|
11
|
-
title: string;
|
|
12
|
-
legend: string;
|
|
13
|
-
teaser: string;
|
|
14
|
-
importantInfo: string;
|
|
15
|
-
}
|
|
16
|
-
export declare class QuestroomMode {
|
|
17
|
-
id: number;
|
|
18
|
-
title: string;
|
|
19
|
-
description: string;
|
|
20
|
-
}
|
|
21
|
-
export declare class QuestroomRO extends RO {
|
|
2
|
+
import { QuestroomLightLocale, QuestroomLightMode, QuestroomLightRO } from './questroom-light.ro';
|
|
3
|
+
export { QuestroomLightLocale as QuestroomLocale };
|
|
4
|
+
export { QuestroomLightMode as QuestroomMode };
|
|
5
|
+
export declare class QuestroomRO extends QuestroomLightRO {
|
|
22
6
|
profileId: number;
|
|
23
|
-
deletedAt?: Date;
|
|
24
|
-
title: string;
|
|
25
|
-
locationId: number;
|
|
26
|
-
roomId: number;
|
|
27
|
-
type: QuestroomTypeEnum;
|
|
28
|
-
difficult: number;
|
|
29
7
|
requiredPositionsIds: number[];
|
|
30
|
-
locales: QuestroomLocale[];
|
|
31
8
|
alternativeScenarioIds: number[];
|
|
32
|
-
modes: QuestroomMode[];
|
|
33
|
-
fear: number;
|
|
34
|
-
minAge: number;
|
|
35
|
-
time: number;
|
|
36
|
-
templateId: number;
|
|
37
|
-
/**
|
|
38
|
-
* Type of the linked SlotTemplate (`fixed` or `flex`). Denormalized from
|
|
39
|
-
* `SlotTemplate.type` so consumers (calendar, schedule editor) can branch
|
|
40
|
-
* on the schedule kind without an extra fetch.
|
|
41
|
-
*/
|
|
42
|
-
templateType?: SlotTemplateType;
|
|
43
|
-
ticketSystem: boolean;
|
|
44
|
-
resourceUnitsTotal: number;
|
|
45
|
-
resourceUnitSize: number;
|
|
46
9
|
video?: string;
|
|
47
|
-
photo: string;
|
|
48
|
-
photos: string[];
|
|
49
|
-
legend: string;
|
|
50
10
|
teaser: string;
|
|
51
|
-
importantInfo: string;
|
|
52
|
-
sortPosition: number;
|
|
53
|
-
actors: QuestroomActorsEnum;
|
|
54
11
|
disabledLanguages: Languages[];
|
|
55
|
-
questroomTags: TagsEnum[];
|
|
56
12
|
slug: string;
|
|
57
13
|
navigatorReviewId: number;
|
|
58
|
-
playersMin: number;
|
|
59
|
-
playersMax: number;
|
|
60
14
|
rate: number;
|
|
61
15
|
reviewsCount: number;
|
|
62
16
|
top: boolean;
|
|
63
|
-
closed: boolean;
|
|
64
17
|
awailableForNavigator: boolean;
|
|
65
|
-
awailableForWidgets: boolean;
|
|
66
|
-
paypalCashbox: number;
|
|
67
|
-
onlinePaymentsCashbox: number;
|
|
68
|
-
squareCashbox: number;
|
|
69
|
-
confirmType: QuestroomConfirmTypeEnum;
|
|
70
|
-
daysForBooking: number;
|
|
71
|
-
bsCashbox: number;
|
|
72
|
-
onlinePaymentsAvailable: boolean;
|
|
73
18
|
photoFrame: string;
|
|
74
|
-
slotStepMinutes: number;
|
|
75
19
|
}
|
|
@@ -12,174 +12,36 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.QuestroomRO = exports.QuestroomMode = exports.QuestroomLocale = void 0;
|
|
13
13
|
/* eslint-disable max-classes-per-file */
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const questroom_type_enum_1 = require("./enum/questroom-type.enum");
|
|
20
|
-
class QuestroomLocale {
|
|
21
|
-
}
|
|
22
|
-
exports.QuestroomLocale = QuestroomLocale;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_transformer_1.Expose)(),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], QuestroomLocale.prototype, "id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], QuestroomLocale.prototype, "language", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_transformer_1.Expose)(),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], QuestroomLocale.prototype, "title", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, class_transformer_1.Expose)(),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], QuestroomLocale.prototype, "legend", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_transformer_1.Expose)(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], QuestroomLocale.prototype, "teaser", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_transformer_1.Expose)(),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], QuestroomLocale.prototype, "importantInfo", void 0);
|
|
47
|
-
class QuestroomMode {
|
|
48
|
-
}
|
|
49
|
-
exports.QuestroomMode = QuestroomMode;
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, class_transformer_1.Expose)(),
|
|
52
|
-
__metadata("design:type", Number)
|
|
53
|
-
], QuestroomMode.prototype, "id", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, class_transformer_1.Expose)(),
|
|
56
|
-
__metadata("design:type", String)
|
|
57
|
-
], QuestroomMode.prototype, "title", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, class_transformer_1.Expose)(),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], QuestroomMode.prototype, "description", void 0);
|
|
62
|
-
class QuestroomRO extends ro_class_1.RO {
|
|
15
|
+
const questroom_light_ro_1 = require("./questroom-light.ro");
|
|
16
|
+
Object.defineProperty(exports, "QuestroomLocale", { enumerable: true, get: function () { return questroom_light_ro_1.QuestroomLightLocale; } });
|
|
17
|
+
Object.defineProperty(exports, "QuestroomMode", { enumerable: true, get: function () { return questroom_light_ro_1.QuestroomLightMode; } });
|
|
18
|
+
class QuestroomRO extends questroom_light_ro_1.QuestroomLightRO {
|
|
63
19
|
}
|
|
64
20
|
exports.QuestroomRO = QuestroomRO;
|
|
65
21
|
__decorate([
|
|
66
22
|
(0, class_transformer_1.Expose)(),
|
|
67
23
|
__metadata("design:type", Number)
|
|
68
24
|
], QuestroomRO.prototype, "profileId", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, class_transformer_1.Expose)(),
|
|
71
|
-
__metadata("design:type", Date)
|
|
72
|
-
], QuestroomRO.prototype, "deletedAt", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, class_transformer_1.Expose)(),
|
|
75
|
-
__metadata("design:type", String)
|
|
76
|
-
], QuestroomRO.prototype, "title", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, class_transformer_1.Expose)(),
|
|
79
|
-
__metadata("design:type", Number)
|
|
80
|
-
], QuestroomRO.prototype, "locationId", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, class_transformer_1.Expose)(),
|
|
83
|
-
__metadata("design:type", Number)
|
|
84
|
-
], QuestroomRO.prototype, "roomId", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, class_transformer_1.Expose)(),
|
|
87
|
-
__metadata("design:type", String)
|
|
88
|
-
], QuestroomRO.prototype, "type", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, class_transformer_1.Expose)(),
|
|
91
|
-
__metadata("design:type", Number)
|
|
92
|
-
], QuestroomRO.prototype, "difficult", void 0);
|
|
93
25
|
__decorate([
|
|
94
26
|
(0, class_transformer_1.Expose)(),
|
|
95
27
|
__metadata("design:type", Array)
|
|
96
28
|
], QuestroomRO.prototype, "requiredPositionsIds", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, class_transformer_1.Expose)(),
|
|
99
|
-
(0, class_transformer_1.Type)(() => QuestroomLocale),
|
|
100
|
-
__metadata("design:type", Array)
|
|
101
|
-
], QuestroomRO.prototype, "locales", void 0);
|
|
102
29
|
__decorate([
|
|
103
30
|
(0, class_transformer_1.Expose)(),
|
|
104
31
|
__metadata("design:type", Array)
|
|
105
32
|
], QuestroomRO.prototype, "alternativeScenarioIds", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, class_transformer_1.Expose)(),
|
|
108
|
-
(0, class_transformer_1.Type)(() => QuestroomMode),
|
|
109
|
-
__metadata("design:type", Array)
|
|
110
|
-
], QuestroomRO.prototype, "modes", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, class_transformer_1.Expose)(),
|
|
113
|
-
__metadata("design:type", Number)
|
|
114
|
-
], QuestroomRO.prototype, "fear", void 0);
|
|
115
|
-
__decorate([
|
|
116
|
-
(0, class_transformer_1.Expose)(),
|
|
117
|
-
__metadata("design:type", Number)
|
|
118
|
-
], QuestroomRO.prototype, "minAge", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, class_transformer_1.Expose)(),
|
|
121
|
-
__metadata("design:type", Number)
|
|
122
|
-
], QuestroomRO.prototype, "time", void 0);
|
|
123
|
-
__decorate([
|
|
124
|
-
(0, class_transformer_1.Expose)(),
|
|
125
|
-
__metadata("design:type", Number)
|
|
126
|
-
], QuestroomRO.prototype, "templateId", void 0);
|
|
127
|
-
__decorate([
|
|
128
|
-
(0, class_transformer_1.Expose)(),
|
|
129
|
-
__metadata("design:type", String)
|
|
130
|
-
], QuestroomRO.prototype, "templateType", void 0);
|
|
131
|
-
__decorate([
|
|
132
|
-
(0, class_transformer_1.Expose)(),
|
|
133
|
-
__metadata("design:type", Boolean)
|
|
134
|
-
], QuestroomRO.prototype, "ticketSystem", void 0);
|
|
135
|
-
__decorate([
|
|
136
|
-
(0, class_transformer_1.Expose)(),
|
|
137
|
-
__metadata("design:type", Number)
|
|
138
|
-
], QuestroomRO.prototype, "resourceUnitsTotal", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
(0, class_transformer_1.Expose)(),
|
|
141
|
-
__metadata("design:type", Number)
|
|
142
|
-
], QuestroomRO.prototype, "resourceUnitSize", void 0);
|
|
143
33
|
__decorate([
|
|
144
34
|
(0, class_transformer_1.Expose)(),
|
|
145
35
|
__metadata("design:type", String)
|
|
146
36
|
], QuestroomRO.prototype, "video", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
(0, class_transformer_1.Expose)(),
|
|
149
|
-
__metadata("design:type", String)
|
|
150
|
-
], QuestroomRO.prototype, "photo", void 0);
|
|
151
|
-
__decorate([
|
|
152
|
-
(0, class_transformer_1.Expose)(),
|
|
153
|
-
__metadata("design:type", Array)
|
|
154
|
-
], QuestroomRO.prototype, "photos", void 0);
|
|
155
|
-
__decorate([
|
|
156
|
-
(0, class_transformer_1.Expose)(),
|
|
157
|
-
__metadata("design:type", String)
|
|
158
|
-
], QuestroomRO.prototype, "legend", void 0);
|
|
159
37
|
__decorate([
|
|
160
38
|
(0, class_transformer_1.Expose)(),
|
|
161
39
|
__metadata("design:type", String)
|
|
162
40
|
], QuestroomRO.prototype, "teaser", void 0);
|
|
163
|
-
__decorate([
|
|
164
|
-
(0, class_transformer_1.Expose)(),
|
|
165
|
-
__metadata("design:type", String)
|
|
166
|
-
], QuestroomRO.prototype, "importantInfo", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
(0, class_transformer_1.Expose)(),
|
|
169
|
-
__metadata("design:type", Number)
|
|
170
|
-
], QuestroomRO.prototype, "sortPosition", void 0);
|
|
171
|
-
__decorate([
|
|
172
|
-
(0, class_transformer_1.Expose)(),
|
|
173
|
-
__metadata("design:type", String)
|
|
174
|
-
], QuestroomRO.prototype, "actors", void 0);
|
|
175
41
|
__decorate([
|
|
176
42
|
(0, class_transformer_1.Expose)(),
|
|
177
43
|
__metadata("design:type", Array)
|
|
178
44
|
], QuestroomRO.prototype, "disabledLanguages", void 0);
|
|
179
|
-
__decorate([
|
|
180
|
-
(0, class_transformer_1.Expose)(),
|
|
181
|
-
__metadata("design:type", Array)
|
|
182
|
-
], QuestroomRO.prototype, "questroomTags", void 0);
|
|
183
45
|
__decorate([
|
|
184
46
|
(0, class_transformer_1.Expose)(),
|
|
185
47
|
__metadata("design:type", String)
|
|
@@ -188,14 +50,6 @@ __decorate([
|
|
|
188
50
|
(0, class_transformer_1.Expose)(),
|
|
189
51
|
__metadata("design:type", Number)
|
|
190
52
|
], QuestroomRO.prototype, "navigatorReviewId", void 0);
|
|
191
|
-
__decorate([
|
|
192
|
-
(0, class_transformer_1.Expose)(),
|
|
193
|
-
__metadata("design:type", Number)
|
|
194
|
-
], QuestroomRO.prototype, "playersMin", void 0);
|
|
195
|
-
__decorate([
|
|
196
|
-
(0, class_transformer_1.Expose)(),
|
|
197
|
-
__metadata("design:type", Number)
|
|
198
|
-
], QuestroomRO.prototype, "playersMax", void 0);
|
|
199
53
|
__decorate([
|
|
200
54
|
(0, class_transformer_1.Expose)(),
|
|
201
55
|
(0, class_transformer_1.Transform)(({ value }) => (value ? +(value / 100).toFixed(2) : 0)),
|
|
@@ -209,51 +63,11 @@ __decorate([
|
|
|
209
63
|
(0, class_transformer_1.Expose)(),
|
|
210
64
|
__metadata("design:type", Boolean)
|
|
211
65
|
], QuestroomRO.prototype, "top", void 0);
|
|
212
|
-
__decorate([
|
|
213
|
-
(0, class_transformer_1.Expose)(),
|
|
214
|
-
__metadata("design:type", Boolean)
|
|
215
|
-
], QuestroomRO.prototype, "closed", void 0);
|
|
216
66
|
__decorate([
|
|
217
67
|
(0, class_transformer_1.Expose)(),
|
|
218
68
|
__metadata("design:type", Boolean)
|
|
219
69
|
], QuestroomRO.prototype, "awailableForNavigator", void 0);
|
|
220
|
-
__decorate([
|
|
221
|
-
(0, class_transformer_1.Expose)(),
|
|
222
|
-
__metadata("design:type", Boolean)
|
|
223
|
-
], QuestroomRO.prototype, "awailableForWidgets", void 0);
|
|
224
|
-
__decorate([
|
|
225
|
-
(0, class_transformer_1.Expose)(),
|
|
226
|
-
__metadata("design:type", Number)
|
|
227
|
-
], QuestroomRO.prototype, "paypalCashbox", void 0);
|
|
228
|
-
__decorate([
|
|
229
|
-
(0, class_transformer_1.Expose)(),
|
|
230
|
-
__metadata("design:type", Number)
|
|
231
|
-
], QuestroomRO.prototype, "onlinePaymentsCashbox", void 0);
|
|
232
|
-
__decorate([
|
|
233
|
-
(0, class_transformer_1.Expose)(),
|
|
234
|
-
__metadata("design:type", Number)
|
|
235
|
-
], QuestroomRO.prototype, "squareCashbox", void 0);
|
|
236
|
-
__decorate([
|
|
237
|
-
(0, class_transformer_1.Expose)(),
|
|
238
|
-
__metadata("design:type", String)
|
|
239
|
-
], QuestroomRO.prototype, "confirmType", void 0);
|
|
240
|
-
__decorate([
|
|
241
|
-
(0, class_transformer_1.Expose)(),
|
|
242
|
-
__metadata("design:type", Number)
|
|
243
|
-
], QuestroomRO.prototype, "daysForBooking", void 0);
|
|
244
|
-
__decorate([
|
|
245
|
-
(0, class_transformer_1.Expose)(),
|
|
246
|
-
__metadata("design:type", Number)
|
|
247
|
-
], QuestroomRO.prototype, "bsCashbox", void 0);
|
|
248
|
-
__decorate([
|
|
249
|
-
(0, class_transformer_1.Expose)(),
|
|
250
|
-
__metadata("design:type", Boolean)
|
|
251
|
-
], QuestroomRO.prototype, "onlinePaymentsAvailable", void 0);
|
|
252
70
|
__decorate([
|
|
253
71
|
(0, class_transformer_1.Expose)(),
|
|
254
72
|
__metadata("design:type", String)
|
|
255
73
|
], QuestroomRO.prototype, "photoFrame", void 0);
|
|
256
|
-
__decorate([
|
|
257
|
-
(0, class_transformer_1.Expose)(),
|
|
258
|
-
__metadata("design:type", Number)
|
|
259
|
-
], QuestroomRO.prototype, "slotStepMinutes", void 0);
|