@escapenavigator/types 2.0.26 → 2.0.27
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 +0 -8
- package/dist/agregator/agregator-questroom.ro.js +0 -4
- package/dist/city/city.ro.d.ts +0 -2
- package/dist/city/update-city.dto.d.ts +0 -2
- package/dist/city/update-city.dto.js +0 -6
- package/dist/google-calendar/google-calendar.ro.d.ts +5 -0
- package/dist/google-calendar/google-calendar.ro.js +4 -0
- package/dist/profile/marketing-email/test-send-email-v2.dto.d.ts +10 -0
- package/dist/profile/marketing-email/test-send-email-v2.dto.js +7 -0
- package/dist/profile/profile-sms/dto/send-client-email.dto.d.ts +6 -0
- package/dist/{partners-portal/create-portal-material-order.dto.js → profile/profile-sms/dto/send-client-email.dto.js} +13 -15
- package/dist/profile/profile-sms/dto/send-client-sms.dto.d.ts +9 -0
- package/dist/{city-quest/import-city-quest.dto.js → profile/profile-sms/dto/send-client-sms.dto.js} +11 -10
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upload/enum/image-type.enum.d.ts +1 -4
- package/dist/upload/enum/image-type.enum.js +0 -3
- package/dist/user/task/user-task.dto.d.ts +1 -0
- package/dist/user/task/user-task.dto.js +5 -0
- package/dist/user/task/user-task.ro.d.ts +7 -0
- package/dist/user/task/user-task.ro.js +23 -0
- package/package.json +2 -2
- package/dist/agregator/agregator-outdoor.ro.d.ts +0 -111
- package/dist/agregator/agregator-outdoor.ro.js +0 -11
- package/dist/city-attraction/attraction-content-languages.d.ts +0 -5
- package/dist/city-attraction/attraction-content-languages.js +0 -15
- package/dist/city-attraction/attraction-content-prompt-version.d.ts +0 -1
- package/dist/city-attraction/attraction-content-prompt-version.js +0 -5
- package/dist/city-attraction/attraction-content.d.ts +0 -24
- package/dist/city-attraction/attraction-content.js +0 -2
- package/dist/city-attraction/attraction-route-meta.d.ts +0 -21
- package/dist/city-attraction/attraction-route-meta.js +0 -2
- package/dist/city-attraction/attraction-triage.d.ts +0 -29
- package/dist/city-attraction/attraction-triage.js +0 -41
- package/dist/city-attraction/city-attraction-artifact.ro.d.ts +0 -19
- package/dist/city-attraction/city-attraction-artifact.ro.js +0 -2
- package/dist/city-attraction/city-attraction-locale.ro.d.ts +0 -18
- package/dist/city-attraction/city-attraction-locale.ro.js +0 -2
- package/dist/city-attraction/city-attraction.ro.d.ts +0 -57
- package/dist/city-attraction/city-attraction.ro.js +0 -2
- package/dist/city-attraction/create-city-attraction.dto.d.ts +0 -41
- package/dist/city-attraction/create-city-attraction.dto.js +0 -221
- package/dist/city-attraction/enum/attraction-artifact-kind.enum.d.ts +0 -13
- package/dist/city-attraction/enum/attraction-artifact-kind.enum.js +0 -17
- package/dist/city-attraction/enum/attraction-category.enum.d.ts +0 -21
- package/dist/city-attraction/enum/attraction-category.enum.js +0 -25
- package/dist/city-attraction/enum/attraction-fame.enum.d.ts +0 -10
- package/dist/city-attraction/enum/attraction-fame.enum.js +0 -14
- package/dist/city-attraction/enum/attraction-fun-fact-kind.enum.d.ts +0 -4
- package/dist/city-attraction/enum/attraction-fun-fact-kind.enum.js +0 -8
- package/dist/city-attraction/enum/attraction-indoor-outdoor.enum.d.ts +0 -5
- package/dist/city-attraction/enum/attraction-indoor-outdoor.enum.js +0 -9
- package/dist/city-attraction/enum/attraction-locale-status.enum.d.ts +0 -11
- package/dist/city-attraction/enum/attraction-locale-status.enum.js +0 -15
- package/dist/city-attraction/enum/attraction-review-status.enum.d.ts +0 -12
- package/dist/city-attraction/enum/attraction-review-status.enum.js +0 -16
- package/dist/city-attraction/enum/attraction-route-role.enum.d.ts +0 -11
- package/dist/city-attraction/enum/attraction-route-role.enum.js +0 -15
- package/dist/city-attraction/enum/attraction-source.enum.d.ts +0 -12
- package/dist/city-attraction/enum/attraction-source.enum.js +0 -16
- package/dist/city-attraction/generate-attraction-audio.dto.d.ts +0 -10
- package/dist/city-attraction/generate-attraction-audio.dto.js +0 -45
- package/dist/city-attraction/generate-attraction-audio.ro.d.ts +0 -3
- package/dist/city-attraction/generate-attraction-audio.ro.js +0 -2
- package/dist/city-attraction/moderate-city-attraction.dto.d.ts +0 -5
- package/dist/city-attraction/moderate-city-attraction.dto.js +0 -29
- package/dist/city-attraction/update-city-attraction.dto.d.ts +0 -5
- package/dist/city-attraction/update-city-attraction.dto.js +0 -8
- package/dist/city-attraction/upsert-city-attraction-artifact.dto.d.ts +0 -19
- package/dist/city-attraction/upsert-city-attraction-artifact.dto.js +0 -104
- package/dist/city-attraction/upsert-city-attraction-locale.dto.d.ts +0 -16
- package/dist/city-attraction/upsert-city-attraction-locale.dto.js +0 -75
- package/dist/city-person/city-person-attraction-link.dto.d.ts +0 -12
- package/dist/city-person/city-person-attraction-link.dto.js +0 -61
- package/dist/city-person/city-person-attraction-link.ro.d.ts +0 -15
- package/dist/city-person/city-person-attraction-link.ro.js +0 -2
- package/dist/city-person/city-person-locale.ro.d.ts +0 -15
- package/dist/city-person/city-person-locale.ro.js +0 -2
- package/dist/city-person/city-person.ro.d.ts +0 -46
- package/dist/city-person/city-person.ro.js +0 -2
- package/dist/city-person/create-city-person.dto.d.ts +0 -29
- package/dist/city-person/create-city-person.dto.js +0 -148
- package/dist/city-person/enum/person-attraction-role.enum.d.ts +0 -8
- package/dist/city-person/enum/person-attraction-role.enum.js +0 -12
- package/dist/city-person/enum/person-domain.enum.d.ts +0 -15
- package/dist/city-person/enum/person-domain.enum.js +0 -19
- package/dist/city-person/enum/person-fact-kind.enum.d.ts +0 -7
- package/dist/city-person/enum/person-fact-kind.enum.js +0 -11
- package/dist/city-person/enum/person-locale-status.enum.d.ts +0 -8
- package/dist/city-person/enum/person-locale-status.enum.js +0 -12
- package/dist/city-person/enum/person-occupation.enum.d.ts +0 -27
- package/dist/city-person/enum/person-occupation.enum.js +0 -31
- package/dist/city-person/enum/person-recognition.enum.d.ts +0 -9
- package/dist/city-person/enum/person-recognition.enum.js +0 -13
- package/dist/city-person/enum/person-review-status.enum.d.ts +0 -11
- package/dist/city-person/enum/person-review-status.enum.js +0 -15
- package/dist/city-person/enum/person-source.enum.d.ts +0 -7
- package/dist/city-person/enum/person-source.enum.js +0 -11
- package/dist/city-person/moderate-city-person.dto.d.ts +0 -5
- package/dist/city-person/moderate-city-person.dto.js +0 -29
- package/dist/city-person/person-attraction-facts.d.ts +0 -3
- package/dist/city-person/person-attraction-facts.js +0 -2
- package/dist/city-person/person-content-languages.d.ts +0 -5
- package/dist/city-person/person-content-languages.js +0 -15
- package/dist/city-person/person-content-prompt-version.d.ts +0 -2
- package/dist/city-person/person-content-prompt-version.js +0 -5
- package/dist/city-person/person-domain-color.d.ts +0 -20
- package/dist/city-person/person-domain-color.js +0 -78
- package/dist/city-person/person-locale-fact.d.ts +0 -7
- package/dist/city-person/person-locale-fact.js +0 -2
- package/dist/city-person/update-city-person.dto.d.ts +0 -5
- package/dist/city-person/update-city-person.dto.js +0 -8
- package/dist/city-person/upsert-city-person-locale.dto.d.ts +0 -21
- package/dist/city-person/upsert-city-person-locale.dto.js +0 -89
- package/dist/city-person/wikidata-autolink.d.ts +0 -23
- package/dist/city-person/wikidata-autolink.js +0 -23
- package/dist/city-quest/bind-city-quest.dto.d.ts +0 -4
- package/dist/city-quest/bind-city-quest.dto.js +0 -22
- package/dist/city-quest/city-quest-content.d.ts +0 -175
- package/dist/city-quest/city-quest-content.js +0 -2
- package/dist/city-quest/city-quest-locale-content.d.ts +0 -35
- package/dist/city-quest/city-quest-locale-content.js +0 -2
- package/dist/city-quest/city-quest-locale.ro.d.ts +0 -12
- package/dist/city-quest/city-quest-locale.ro.js +0 -2
- package/dist/city-quest/city-quest.ro.d.ts +0 -40
- package/dist/city-quest/city-quest.ro.js +0 -114
- package/dist/city-quest/enum/city-quest-locale-status.enum.d.ts +0 -11
- package/dist/city-quest/enum/city-quest-locale-status.enum.js +0 -15
- package/dist/city-quest/enum/city-quest-play-phase.enum.d.ts +0 -6
- package/dist/city-quest/enum/city-quest-play-phase.enum.js +0 -10
- package/dist/city-quest/enum/city-quest-session-event-type.enum.d.ts +0 -18
- package/dist/city-quest/enum/city-quest-session-event-type.enum.js +0 -22
- package/dist/city-quest/enum/city-quest-session-status.enum.d.ts +0 -5
- package/dist/city-quest/enum/city-quest-session-status.enum.js +0 -9
- package/dist/city-quest/enum/city-quest-status.enum.d.ts +0 -12
- package/dist/city-quest/enum/city-quest-status.enum.js +0 -16
- package/dist/city-quest/import-city-quest.dto.d.ts +0 -6
- package/dist/city-quest/quest-content-languages.d.ts +0 -5
- package/dist/city-quest/quest-content-languages.js +0 -14
- package/dist/city-quest/update-city-quest-content.dto.d.ts +0 -5
- package/dist/city-quest/update-city-quest-content.dto.js +0 -23
- package/dist/city-quest/update-city-quest-stop.dto.d.ts +0 -9
- package/dist/city-quest/update-city-quest-stop.dto.js +0 -45
- package/dist/city-quest/update-city-quest.dto.d.ts +0 -14
- package/dist/city-quest/update-city-quest.dto.js +0 -55
- package/dist/city-quest/upsert-city-quest-asset.dto.d.ts +0 -11
- package/dist/city-quest/upsert-city-quest-asset.dto.js +0 -40
- package/dist/city-quest/upsert-city-quest-locale.dto.d.ts +0 -10
- package/dist/city-quest/upsert-city-quest-locale.dto.js +0 -48
- package/dist/city-ready-route/city-ready-route-locale.ro.d.ts +0 -9
- package/dist/city-ready-route/city-ready-route-locale.ro.js +0 -2
- package/dist/city-ready-route/city-ready-route-stop.ro.d.ts +0 -24
- package/dist/city-ready-route/city-ready-route-stop.ro.js +0 -2
- package/dist/city-ready-route/city-ready-route.ro.d.ts +0 -22
- package/dist/city-ready-route/city-ready-route.ro.js +0 -2
- package/dist/city-ready-route/create-city-ready-route.dto.d.ts +0 -15
- package/dist/city-ready-route/create-city-ready-route.dto.js +0 -90
- package/dist/city-ready-route/enum/ready-route-status.enum.d.ts +0 -4
- package/dist/city-ready-route/enum/ready-route-status.enum.js +0 -8
- package/dist/city-ready-route/enum/ready-route-stop-kind.enum.d.ts +0 -4
- package/dist/city-ready-route/enum/ready-route-stop-kind.enum.js +0 -8
- package/dist/city-ready-route/estimate-ready-route-path.dto.d.ts +0 -14
- package/dist/city-ready-route/estimate-ready-route-path.dto.js +0 -39
- package/dist/city-ready-route/generate-ready-route-stop-audio.dto.d.ts +0 -13
- package/dist/city-ready-route/generate-ready-route-stop-audio.dto.js +0 -45
- package/dist/city-ready-route/ready-route-map-pool.ro.d.ts +0 -28
- package/dist/city-ready-route/ready-route-map-pool.ro.js +0 -2
- package/dist/city-ready-route/ready-route-stop-content.d.ts +0 -14
- package/dist/city-ready-route/ready-route-stop-content.js +0 -2
- package/dist/city-ready-route/update-city-ready-route.dto.d.ts +0 -5
- package/dist/city-ready-route/update-city-ready-route.dto.js +0 -8
- package/dist/city-ready-route/upsert-city-ready-route-locale.dto.d.ts +0 -7
- package/dist/city-ready-route/upsert-city-ready-route-locale.dto.js +0 -41
- package/dist/city-ready-route/upsert-city-ready-route-stop.dto.d.ts +0 -18
- package/dist/city-ready-route/upsert-city-ready-route-stop.dto.js +0 -86
- package/dist/openapi/city-player/city-entitlement.dto.d.ts +0 -23
- package/dist/openapi/city-player/city-entitlement.dto.js +0 -81
- package/dist/openapi/city-player/city-explore.ro.d.ts +0 -111
- package/dist/openapi/city-player/city-explore.ro.js +0 -2
- package/dist/openapi/city-player/city-player-apple-login.dto.d.ts +0 -11
- package/dist/openapi/city-player/city-player-apple-login.dto.js +0 -35
- package/dist/openapi/city-player/city-player-login.dto.d.ts +0 -8
- package/dist/openapi/city-player/city-player-login.dto.js +0 -27
- package/dist/openapi/city-player/city-player-request-code.dto.d.ts +0 -12
- package/dist/openapi/city-player/city-player-request-code.dto.js +0 -35
- package/dist/openapi/city-player/city-player-verify-code.dto.d.ts +0 -9
- package/dist/openapi/city-player/city-player-verify-code.dto.js +0 -32
- package/dist/openapi/city-player/city-player.ro.d.ts +0 -118
- package/dist/openapi/city-player/city-player.ro.js +0 -2
- package/dist/openapi/city-player/city-ready-route.ro.d.ts +0 -82
- package/dist/openapi/city-player/city-ready-route.ro.js +0 -2
- package/dist/openapi/city-player/free-route.d.ts +0 -35
- package/dist/openapi/city-player/free-route.js +0 -2
- package/dist/openapi/city-quest/play-answer.dto.d.ts +0 -5
- package/dist/openapi/city-quest/play-answer.dto.js +0 -30
- package/dist/openapi/city-quest/play-finale-choice.dto.d.ts +0 -3
- package/dist/openapi/city-quest/play-finale-choice.dto.js +0 -23
- package/dist/openapi/city-quest/play-hint.dto.d.ts +0 -3
- package/dist/openapi/city-quest/play-hint.dto.js +0 -22
- package/dist/openapi/city-quest/play-issue.dto.d.ts +0 -3
- package/dist/openapi/city-quest/play-issue.dto.js +0 -23
- package/dist/openapi/city-quest/play-start-session.dto.d.ts +0 -8
- package/dist/openapi/city-quest/play-start-session.dto.js +0 -41
- package/dist/openapi/city-quest/play-state.ro.d.ts +0 -201
- package/dist/openapi/city-quest/play-state.ro.js +0 -2
- package/dist/partners-portal/admin/admin-portal-partner.ro.d.ts +0 -10
- package/dist/partners-portal/admin/admin-portal-partner.ro.js +0 -2
- package/dist/partners-portal/admin/admin-update-portal-material-order.dto.d.ts +0 -5
- package/dist/partners-portal/admin/admin-update-portal-material-order.dto.js +0 -29
- package/dist/partners-portal/admin/admin-update-portal-partner.dto.d.ts +0 -6
- package/dist/partners-portal/admin/admin-update-portal-partner.dto.js +0 -37
- package/dist/partners-portal/create-partner-attraction.dto.d.ts +0 -33
- package/dist/partners-portal/create-partner-attraction.dto.js +0 -173
- package/dist/partners-portal/create-portal-material-order.dto.d.ts +0 -7
- package/dist/partners-portal/enum/portal-material-order-status.enum.d.ts +0 -7
- package/dist/partners-portal/enum/portal-material-order-status.enum.js +0 -11
- package/dist/partners-portal/enum/portal-partner-type.enum.d.ts +0 -6
- package/dist/partners-portal/enum/portal-partner-type.enum.js +0 -10
- package/dist/partners-portal/login-portal-partner.dto.d.ts +0 -4
- package/dist/partners-portal/login-portal-partner.dto.js +0 -28
- package/dist/partners-portal/partner-city-quest.dto.d.ts +0 -31
- package/dist/partners-portal/partner-city-quest.dto.js +0 -160
- package/dist/partners-portal/partner-city-quest.ro.d.ts +0 -11
- package/dist/partners-portal/partner-city-quest.ro.js +0 -2
- package/dist/partners-portal/portal-city-option.ro.d.ts +0 -7
- package/dist/partners-portal/portal-city-option.ro.js +0 -2
- package/dist/partners-portal/portal-material-order.ro.d.ts +0 -13
- package/dist/partners-portal/portal-material-order.ro.js +0 -2
- package/dist/partners-portal/portal-partner-email.dto.d.ts +0 -4
- package/dist/partners-portal/portal-partner-email.dto.js +0 -24
- package/dist/partners-portal/portal-partner.ro.d.ts +0 -25
- package/dist/partners-portal/portal-partner.ro.js +0 -2
- package/dist/partners-portal/portal-stats.ro.d.ts +0 -38
- package/dist/partners-portal/portal-stats.ro.js +0 -2
- package/dist/partners-portal/register-portal-partner.dto.d.ts +0 -12
- package/dist/partners-portal/register-portal-partner.dto.js +0 -52
- package/dist/partners-portal/reset-portal-partner-password.dto.d.ts +0 -6
- package/dist/partners-portal/reset-portal-partner-password.dto.js +0 -34
- package/dist/partners-portal/update-partner-attraction.dto.d.ts +0 -11
- package/dist/partners-portal/update-partner-attraction.dto.js +0 -35
- package/dist/partners-portal/update-portal-partner.dto.d.ts +0 -6
- package/dist/partners-portal/update-portal-partner.dto.js +0 -36
- package/dist/partners-portal/verify-portal-partner.dto.d.ts +0 -5
- package/dist/partners-portal/verify-portal-partner.dto.js +0 -29
- package/dist/shared/ai-cover.d.ts +0 -8
- package/dist/shared/ai-cover.js +0 -26
- package/dist/shared/city-pipeline.d.ts +0 -57
- package/dist/shared/city-pipeline.js +0 -64
- package/dist/shared/city-research.d.ts +0 -48
- package/dist/shared/city-research.js +0 -49
- package/dist/shared/content-batch.d.ts +0 -27
- package/dist/shared/content-batch.js +0 -41
- package/dist/shared/editorial-research.d.ts +0 -70
- package/dist/shared/editorial-research.js +0 -4
- package/dist/shared/fill-complete.d.ts +0 -26
- package/dist/shared/fill-complete.js +0 -46
- package/dist/shared/wikidata-enrichment.d.ts +0 -24
- package/dist/shared/wikidata-enrichment.js +0 -31
- package/dist/shared/wikidata-import.d.ts +0 -33
- package/dist/shared/wikidata-import.js +0 -53
|
@@ -5,8 +5,5 @@ export declare enum ImageTypeEnum {
|
|
|
5
5
|
ORDER = "orders_photos",
|
|
6
6
|
PROFILE_LOGO = "profile_logos",
|
|
7
7
|
POSTER = "poster",
|
|
8
|
-
TRANSLATION = "translation"
|
|
9
|
-
CITY_ATTRACTION = "city_attractions",
|
|
10
|
-
CITY_PERSON = "city_people",
|
|
11
|
-
CITY_READY_ROUTE = "city_ready_routes"
|
|
8
|
+
TRANSLATION = "translation"
|
|
12
9
|
}
|
|
@@ -10,7 +10,4 @@ var ImageTypeEnum;
|
|
|
10
10
|
ImageTypeEnum["PROFILE_LOGO"] = "profile_logos";
|
|
11
11
|
ImageTypeEnum["POSTER"] = "poster";
|
|
12
12
|
ImageTypeEnum["TRANSLATION"] = "translation";
|
|
13
|
-
ImageTypeEnum["CITY_ATTRACTION"] = "city_attractions";
|
|
14
|
-
ImageTypeEnum["CITY_PERSON"] = "city_people";
|
|
15
|
-
ImageTypeEnum["CITY_READY_ROUTE"] = "city_ready_routes";
|
|
16
13
|
})(ImageTypeEnum || (exports.ImageTypeEnum = ImageTypeEnum = {}));
|
|
@@ -48,6 +48,11 @@ __decorate([
|
|
|
48
48
|
(0, class_transformer_1.Expose)(),
|
|
49
49
|
__metadata("design:type", Number)
|
|
50
50
|
], UserTaskDto.prototype, "certificateSaleId", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], UserTaskDto.prototype, "clientId", void 0);
|
|
51
56
|
__decorate([
|
|
52
57
|
(0, class_transformer_1.Expose)(),
|
|
53
58
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -15,6 +15,11 @@ declare class Certificate {
|
|
|
15
15
|
createdAt: Date;
|
|
16
16
|
code: string;
|
|
17
17
|
}
|
|
18
|
+
declare class Client {
|
|
19
|
+
id: number;
|
|
20
|
+
name: string;
|
|
21
|
+
surname: string;
|
|
22
|
+
}
|
|
18
23
|
export declare class UserTaskRO extends RO {
|
|
19
24
|
title: string;
|
|
20
25
|
text: string;
|
|
@@ -31,6 +36,8 @@ export declare class UserTaskRO extends RO {
|
|
|
31
36
|
locationId: number;
|
|
32
37
|
order: Order;
|
|
33
38
|
certificateSale: Certificate;
|
|
39
|
+
clientId: number;
|
|
40
|
+
client: Client;
|
|
34
41
|
position: Position;
|
|
35
42
|
}
|
|
36
43
|
export {};
|
|
@@ -53,6 +53,20 @@ __decorate([
|
|
|
53
53
|
(0, class_transformer_1.Expose)(),
|
|
54
54
|
__metadata("design:type", String)
|
|
55
55
|
], Certificate.prototype, "code", void 0);
|
|
56
|
+
class Client {
|
|
57
|
+
}
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
__metadata("design:type", Number)
|
|
61
|
+
], Client.prototype, "id", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_transformer_1.Expose)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], Client.prototype, "name", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], Client.prototype, "surname", void 0);
|
|
56
70
|
class UserTaskRO extends ro_class_1.RO {
|
|
57
71
|
}
|
|
58
72
|
exports.UserTaskRO = UserTaskRO;
|
|
@@ -118,6 +132,15 @@ __decorate([
|
|
|
118
132
|
(0, class_transformer_1.Type)(() => Certificate),
|
|
119
133
|
__metadata("design:type", Certificate)
|
|
120
134
|
], UserTaskRO.prototype, "certificateSale", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, class_transformer_1.Expose)(),
|
|
137
|
+
__metadata("design:type", Number)
|
|
138
|
+
], UserTaskRO.prototype, "clientId", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, class_transformer_1.Expose)(),
|
|
141
|
+
(0, class_transformer_1.Type)(() => Client),
|
|
142
|
+
__metadata("design:type", Client)
|
|
143
|
+
], UserTaskRO.prototype, "client", void 0);
|
|
121
144
|
__decorate([
|
|
122
145
|
(0, class_transformer_1.Expose)(),
|
|
123
146
|
(0, class_transformer_1.Transform)(({ obj }) => obj.position || { title: undefined }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.27",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"reflect-metadata": "^0.1.13",
|
|
24
24
|
"rxjs": "^7.5.5"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "23b0474dd6e66b434efbee235ed30a51ac3f0b12",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/validator": "13.0.0",
|
|
29
29
|
"typescript": "^5.6"
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* RO витрины сети городских квестов (network-страницы агрегатора).
|
|
3
|
-
*
|
|
4
|
-
* Источник данных — jsonb-контент опубликованной версии city-quest
|
|
5
|
-
* (`city-quest-versions.content`), поэтому здесь plain-типы без
|
|
6
|
-
* class-transformer: ответы собираются на беке вручную, поле за полем
|
|
7
|
-
* (спойлер-фильтр обязателен — наружу уходят только маршрутные данные,
|
|
8
|
-
* никаких заданий/ответов).
|
|
9
|
-
*/
|
|
10
|
-
/** Публичная остановка маршрута в порядке прохождения (без текстов загадок). */
|
|
11
|
-
export type AgregatorOutdoorRouteStopPreviewRO = {
|
|
12
|
-
order: number;
|
|
13
|
-
lat: number;
|
|
14
|
-
lng: number;
|
|
15
|
-
name?: string;
|
|
16
|
-
address?: string;
|
|
17
|
-
kind?: 'start' | 'finish' | 'landmark';
|
|
18
|
-
};
|
|
19
|
-
/** Именованная точка маршрута без спойлеров (старт или landmark). */
|
|
20
|
-
export type AgregatorOutdoorLandmarkRO = {
|
|
21
|
-
name: string;
|
|
22
|
-
lat: number;
|
|
23
|
-
lng: number;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Маркетинговый тип игры (категории Questo): маппится из
|
|
27
|
-
* `content.display_type`, с фолбэком на эвристику по `content.genre`.
|
|
28
|
-
*/
|
|
29
|
-
export type AgregatorOutdoorDisplayType = 'scavenger_hunt' | 'walking_tour' | 'ghost_tour';
|
|
30
|
-
/** Разбивка принятых отзывов по звёздам: `{ 5: n, …, 1: n }`. */
|
|
31
|
-
export type AgregatorRatingBreakdownRO = Record<number, number>;
|
|
32
|
-
/**
|
|
33
|
-
* Маршрутные данные нашего аутдор-квеста для страницы квеста
|
|
34
|
-
* (`questroom.outdoorRoute`). Присутствует только у questroom с
|
|
35
|
-
* биндингом на опубликованную city-quest игру.
|
|
36
|
-
*/
|
|
37
|
-
export type AgregatorOutdoorRouteRO = {
|
|
38
|
-
distanceKm?: number;
|
|
39
|
-
stopsCount: number;
|
|
40
|
-
durationMinutes?: number;
|
|
41
|
-
durationRange?: [number, number];
|
|
42
|
-
start?: AgregatorOutdoorLandmarkRO & {
|
|
43
|
-
address?: string;
|
|
44
|
-
recommendedHours?: string;
|
|
45
|
-
};
|
|
46
|
-
finish?: AgregatorOutdoorLandmarkRO & {
|
|
47
|
-
address?: string;
|
|
48
|
-
};
|
|
49
|
-
/** Все остановки по порядку прохождения — для карты маршрута. */
|
|
50
|
-
stopsPreview?: AgregatorOutdoorRouteStopPreviewRO[];
|
|
51
|
-
/** 2–3 именованные точки маршрута — «что увидите», без спойлеров. */
|
|
52
|
-
landmarks: AgregatorOutdoorLandmarkRO[];
|
|
53
|
-
/** product_copy.highlights на языке запроса. */
|
|
54
|
-
highlights: string[];
|
|
55
|
-
/** product_copy.short на языке запроса. */
|
|
56
|
-
shortDescription?: string;
|
|
57
|
-
tagline?: string;
|
|
58
|
-
/** Языки, на которых можно играть (supported_answer_languages). */
|
|
59
|
-
languages: string[];
|
|
60
|
-
difficulty?: {
|
|
61
|
-
overall: number;
|
|
62
|
-
scaleMax: number;
|
|
63
|
-
observation?: number;
|
|
64
|
-
logic?: number;
|
|
65
|
-
navigation?: number;
|
|
66
|
-
};
|
|
67
|
-
leaderboard: boolean;
|
|
68
|
-
displayType: AgregatorOutdoorDisplayType;
|
|
69
|
-
genres: string[];
|
|
70
|
-
ratingBreakdown: AgregatorRatingBreakdownRO;
|
|
71
|
-
};
|
|
72
|
-
/** Карточка нашей игры на network-витрине `/tags/outdoor`. */
|
|
73
|
-
export type AgregatorNetworkQuestRO = {
|
|
74
|
-
questroomId: number;
|
|
75
|
-
slug: string;
|
|
76
|
-
title: string;
|
|
77
|
-
tagline?: string;
|
|
78
|
-
photo: string;
|
|
79
|
-
minPrice: number;
|
|
80
|
-
maxPrice: number;
|
|
81
|
-
currency?: string;
|
|
82
|
-
distanceKm?: number;
|
|
83
|
-
durationMinutes?: number;
|
|
84
|
-
durationRange?: [number, number];
|
|
85
|
-
stopsCount: number;
|
|
86
|
-
/** difficulty.overall из контента (шкала scale_max, обычно 1–5). */
|
|
87
|
-
difficulty?: number;
|
|
88
|
-
displayType: AgregatorOutdoorDisplayType;
|
|
89
|
-
rate: number;
|
|
90
|
-
reviewsCount: number;
|
|
91
|
-
start?: {
|
|
92
|
-
lat: number;
|
|
93
|
-
lng: number;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Ответ `GET agregator/questrooms/city/outdoor-network`: наши игры города
|
|
98
|
-
* + агрегаты для hero-блока витрины. Пустой `quests` = в городе нет
|
|
99
|
-
* сети, агрегатор показывает обычную tag-страницу.
|
|
100
|
-
*/
|
|
101
|
-
export type AgregatorOutdoorNetworkRO = {
|
|
102
|
-
quests: AgregatorNetworkQuestRO[];
|
|
103
|
-
stats: {
|
|
104
|
-
questCount: number;
|
|
105
|
-
avgRate: number;
|
|
106
|
-
totalReviews: number;
|
|
107
|
-
};
|
|
108
|
-
/** Выборочные точки всех игр города — блок «что увидите» и карта. */
|
|
109
|
-
landmarks: AgregatorOutdoorLandmarkRO[];
|
|
110
|
-
ratingBreakdown: AgregatorRatingBreakdownRO;
|
|
111
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* RO витрины сети городских квестов (network-страницы агрегатора).
|
|
4
|
-
*
|
|
5
|
-
* Источник данных — jsonb-контент опубликованной версии city-quest
|
|
6
|
-
* (`city-quest-versions.content`), поэтому здесь plain-типы без
|
|
7
|
-
* class-transformer: ответы собираются на беке вручную, поле за полем
|
|
8
|
-
* (спойлер-фильтр обязателен — наружу уходят только маршрутные данные,
|
|
9
|
-
* никаких заданий/ответов).
|
|
10
|
-
*/
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
/** First-wave languages for attraction place content (RU base first). */
|
|
3
|
-
export declare const ATTRACTION_CONTENT_LANGUAGES: readonly [Languages.RU, Languages.EN, Languages.DE, Languages.FR, Languages.ES];
|
|
4
|
-
export type AttractionContentLanguage = (typeof ATTRACTION_CONTENT_LANGUAGES)[number];
|
|
5
|
-
export declare const isAttractionContentLanguage: (lang: string) => lang is AttractionContentLanguage;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isAttractionContentLanguage = exports.ATTRACTION_CONTENT_LANGUAGES = void 0;
|
|
4
|
-
const content_base_language_1 = require("../shared/content-base-language");
|
|
5
|
-
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
6
|
-
/** First-wave languages for attraction place content (RU base first). */
|
|
7
|
-
exports.ATTRACTION_CONTENT_LANGUAGES = [
|
|
8
|
-
content_base_language_1.CONTENT_BASE_LANGUAGE,
|
|
9
|
-
languages_enum_1.Languages.EN,
|
|
10
|
-
languages_enum_1.Languages.DE,
|
|
11
|
-
languages_enum_1.Languages.FR,
|
|
12
|
-
languages_enum_1.Languages.ES,
|
|
13
|
-
];
|
|
14
|
-
const isAttractionContentLanguage = (lang) => exports.ATTRACTION_CONTENT_LANGUAGES.includes(lang);
|
|
15
|
-
exports.isAttractionContentLanguage = isAttractionContentLanguage;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ATTRACTION_CONTENT_PROMPT_VERSION = "v2";
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AttractionFunFactKindEnum } from './enum/attraction-fun-fact-kind.enum';
|
|
2
|
-
export type AttractionContentCard = {
|
|
3
|
-
emoji: string;
|
|
4
|
-
title: string;
|
|
5
|
-
body: string;
|
|
6
|
-
};
|
|
7
|
-
/** @deprecated Use AttractionFunFactKindEnum */
|
|
8
|
-
export type AttractionFunFactKind = AttractionFunFactKindEnum | `${AttractionFunFactKindEnum}`;
|
|
9
|
-
export type AttractionFunFact = {
|
|
10
|
-
emoji?: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
body: string;
|
|
13
|
-
kind: AttractionFunFactKindEnum;
|
|
14
|
-
};
|
|
15
|
-
/** Guide-style place content package (language-agnostic shape). */
|
|
16
|
-
export type AttractionContent = {
|
|
17
|
-
hook: string;
|
|
18
|
-
cards: AttractionContentCard[];
|
|
19
|
-
guideTalk: string;
|
|
20
|
-
funFact: AttractionFunFact;
|
|
21
|
-
lookFor: string[];
|
|
22
|
-
};
|
|
23
|
-
/** @deprecated Use AttractionContent */
|
|
24
|
-
export type AttractionContentRu = AttractionContent;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { AttractionIndoorOutdoorEnum } from './enum/attraction-indoor-outdoor.enum';
|
|
2
|
-
/**
|
|
3
|
-
* Optional visit / routing hints stored on `CityAttraction.routeMeta`.
|
|
4
|
-
* Null fields mean “unknown” — authors fill what they know.
|
|
5
|
-
*/
|
|
6
|
-
export type AttractionRouteMeta = {
|
|
7
|
-
indoorOutdoor?: AttractionIndoorOutdoorEnum | null;
|
|
8
|
-
visitDurationMin?: number | null;
|
|
9
|
-
visitDurationMax?: number | null;
|
|
10
|
-
recommendedDurationMin?: number | null;
|
|
11
|
-
bestTimeOfDay?: string | null;
|
|
12
|
-
seasonality?: string | null;
|
|
13
|
-
isFree?: boolean | null;
|
|
14
|
-
bookingRequired?: boolean | null;
|
|
15
|
-
ticketRequired?: boolean | null;
|
|
16
|
-
accessibilityNotes?: string | null;
|
|
17
|
-
familyFriendly?: boolean | null;
|
|
18
|
-
rainFriendly?: boolean | null;
|
|
19
|
-
nightFriendly?: boolean | null;
|
|
20
|
-
walkingCluster?: string | null;
|
|
21
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AI-триаж импортированных атракшенов: авто-reject объектов без
|
|
3
|
-
* сторителлинг-потенциала (магистрали, вокзалы, стадионы). Только
|
|
4
|
-
* записи в needReview — решения админа не трогаем.
|
|
5
|
-
*/
|
|
6
|
-
export declare class TriageAttractionsDto {
|
|
7
|
-
cityId: number;
|
|
8
|
-
limit?: number;
|
|
9
|
-
/** true — только показать вердикты, ничего не менять. */
|
|
10
|
-
dryRun?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export type AttractionTriageVerdict = 'keep' | 'reject' | 'unsure';
|
|
13
|
-
export type AttractionTriageItemRO = {
|
|
14
|
-
id: number;
|
|
15
|
-
title: string;
|
|
16
|
-
verdict: AttractionTriageVerdict;
|
|
17
|
-
reason: string | null;
|
|
18
|
-
/** rejected — статус изменён; dry-run / kept / unsure — без изменений. */
|
|
19
|
-
action: 'rejected' | 'kept' | 'unsure' | 'dry-run';
|
|
20
|
-
};
|
|
21
|
-
export type AttractionTriageReportRO = {
|
|
22
|
-
cityId: number;
|
|
23
|
-
dryRun: boolean;
|
|
24
|
-
processed: number;
|
|
25
|
-
rejected: number;
|
|
26
|
-
kept: number;
|
|
27
|
-
unsure: number;
|
|
28
|
-
items: AttractionTriageItemRO[];
|
|
29
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
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.TriageAttractionsDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
/**
|
|
16
|
-
* AI-триаж импортированных атракшенов: авто-reject объектов без
|
|
17
|
-
* сторителлинг-потенциала (магистрали, вокзалы, стадионы). Только
|
|
18
|
-
* записи в needReview — решения админа не трогаем.
|
|
19
|
-
*/
|
|
20
|
-
class TriageAttractionsDto {
|
|
21
|
-
}
|
|
22
|
-
exports.TriageAttractionsDto = TriageAttractionsDto;
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsInt)(),
|
|
25
|
-
(0, class_transformer_1.Expose)(),
|
|
26
|
-
__metadata("design:type", Number)
|
|
27
|
-
], TriageAttractionsDto.prototype, "cityId", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsOptional)(),
|
|
30
|
-
(0, class_validator_1.IsInt)(),
|
|
31
|
-
(0, class_validator_1.Min)(1),
|
|
32
|
-
(0, class_validator_1.Max)(200),
|
|
33
|
-
(0, class_transformer_1.Expose)(),
|
|
34
|
-
__metadata("design:type", Number)
|
|
35
|
-
], TriageAttractionsDto.prototype, "limit", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, class_validator_1.IsOptional)(),
|
|
38
|
-
(0, class_validator_1.IsBoolean)(),
|
|
39
|
-
(0, class_transformer_1.Expose)(),
|
|
40
|
-
__metadata("design:type", Boolean)
|
|
41
|
-
], TriageAttractionsDto.prototype, "dryRun", void 0);
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { ResponseObject } from '../shared/ro';
|
|
3
|
-
import { AttractionArtifactKindEnum } from './enum/attraction-artifact-kind.enum';
|
|
4
|
-
export type CityAttractionArtifactRO = ResponseObject & {
|
|
5
|
-
attractionId: number;
|
|
6
|
-
personId: number | null;
|
|
7
|
-
kind: AttractionArtifactKindEnum;
|
|
8
|
-
title: string;
|
|
9
|
-
description: string | null;
|
|
10
|
-
knownFor: string | null;
|
|
11
|
-
/** Where to find it inside the place (floor, room, “left of altar”) — not GPS. */
|
|
12
|
-
findHint: string | null;
|
|
13
|
-
wikidataId: string | null;
|
|
14
|
-
photos: string[];
|
|
15
|
-
sortOrder: number;
|
|
16
|
-
archived: boolean;
|
|
17
|
-
/** Optional localized title overrides. */
|
|
18
|
-
titles?: Partial<Record<Languages, string>> | null;
|
|
19
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { ResponseObject } from '../shared/ro';
|
|
3
|
-
import { AttractionContent } from './attraction-content';
|
|
4
|
-
import { AttractionLocaleStatusEnum } from './enum/attraction-locale-status.enum';
|
|
5
|
-
export type CityAttractionLocaleRO = ResponseObject & {
|
|
6
|
-
attractionId: number;
|
|
7
|
-
language: Languages;
|
|
8
|
-
title: string;
|
|
9
|
-
description: string | null;
|
|
10
|
-
knownFor: string | null;
|
|
11
|
-
content: AttractionContent | null;
|
|
12
|
-
/** Озвучка guideTalk для языка локали. */
|
|
13
|
-
guideAudioUrl: string | null;
|
|
14
|
-
guideAudioDurationSec: number | null;
|
|
15
|
-
status: AttractionLocaleStatusEnum;
|
|
16
|
-
contentGeneratedAt: Date | null;
|
|
17
|
-
contentPromptVersion: string | null;
|
|
18
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { EditorialResearch } from '../shared/editorial-research';
|
|
2
|
-
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
3
|
-
import { ResponseObject } from '../shared/ro';
|
|
4
|
-
import { AttractionRouteMeta } from './attraction-route-meta';
|
|
5
|
-
import { CityAttractionArtifactRO } from './city-attraction-artifact.ro';
|
|
6
|
-
import { CityAttractionLocaleRO } from './city-attraction-locale.ro';
|
|
7
|
-
import { AttractionCategoryEnum } from './enum/attraction-category.enum';
|
|
8
|
-
import { AttractionFameEnum } from './enum/attraction-fame.enum';
|
|
9
|
-
import { AttractionIndoorOutdoorEnum } from './enum/attraction-indoor-outdoor.enum';
|
|
10
|
-
import { AttractionReviewStatusEnum } from './enum/attraction-review-status.enum';
|
|
11
|
-
import { AttractionRouteRoleEnum } from './enum/attraction-route-role.enum';
|
|
12
|
-
import { AttractionSourceEnum } from './enum/attraction-source.enum';
|
|
13
|
-
export type CityAttractionRO = ResponseObject & {
|
|
14
|
-
/** Canonical Latin/EN identity title (search, Wikidata). */
|
|
15
|
-
title: string;
|
|
16
|
-
/** Display title from content-base locale (RU), if set. */
|
|
17
|
-
displayTitle?: string | null;
|
|
18
|
-
description: string | null;
|
|
19
|
-
knownFor: string | null;
|
|
20
|
-
knownForRu: string | null;
|
|
21
|
-
category: AttractionCategoryEnum;
|
|
22
|
-
fame: AttractionFameEnum;
|
|
23
|
-
country: CountriesEnum;
|
|
24
|
-
cityId: number;
|
|
25
|
-
cityTitle?: string | null;
|
|
26
|
-
address: string | null;
|
|
27
|
-
district: string | null;
|
|
28
|
-
lat: number | null;
|
|
29
|
-
lng: number | null;
|
|
30
|
-
photos: string[];
|
|
31
|
-
coverPhotoIndex: number | null;
|
|
32
|
-
/** Языки, на которых уже есть готовый контент локали (hook). */
|
|
33
|
-
languages?: string[];
|
|
34
|
-
tags: string[];
|
|
35
|
-
mustSeeScore: number | null;
|
|
36
|
-
wowScore: number | null;
|
|
37
|
-
touristCrowdScore: number | null;
|
|
38
|
-
localExperienceScore: number | null;
|
|
39
|
-
routeRole: AttractionRouteRoleEnum | null;
|
|
40
|
-
routePriority: number | null;
|
|
41
|
-
/** Mirrored from `routeMeta.indoorOutdoor` for form convenience. */
|
|
42
|
-
indoorOutdoor?: AttractionIndoorOutdoorEnum | null;
|
|
43
|
-
routeMeta?: AttractionRouteMeta | null;
|
|
44
|
-
wikidataId: string | null;
|
|
45
|
-
googlePlaceId: string | null;
|
|
46
|
-
archived: boolean;
|
|
47
|
-
/** Free-mode preview: up to 3 per city fully unlocked without city pack. */
|
|
48
|
-
isFreePreview: boolean;
|
|
49
|
-
source: AttractionSourceEnum;
|
|
50
|
-
reviewStatus: AttractionReviewStatusEnum;
|
|
51
|
-
rejectionReason: string | null;
|
|
52
|
-
createdByPartnerId: number | null;
|
|
53
|
-
/** Editor-only deepen pack — never exposed to player. */
|
|
54
|
-
editorialResearch?: EditorialResearch | null;
|
|
55
|
-
locales?: CityAttractionLocaleRO[];
|
|
56
|
-
artifacts?: CityAttractionArtifactRO[];
|
|
57
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
|
-
import { AttractionRouteMeta } from './attraction-route-meta';
|
|
3
|
-
import { AttractionCategoryEnum } from './enum/attraction-category.enum';
|
|
4
|
-
import { AttractionFameEnum } from './enum/attraction-fame.enum';
|
|
5
|
-
import { AttractionIndoorOutdoorEnum } from './enum/attraction-indoor-outdoor.enum';
|
|
6
|
-
import { AttractionReviewStatusEnum } from './enum/attraction-review-status.enum';
|
|
7
|
-
import { AttractionRouteRoleEnum } from './enum/attraction-route-role.enum';
|
|
8
|
-
import { AttractionSourceEnum } from './enum/attraction-source.enum';
|
|
9
|
-
export declare class CreateCityAttractionDto {
|
|
10
|
-
title: string;
|
|
11
|
-
description?: string | null;
|
|
12
|
-
knownFor?: string | null;
|
|
13
|
-
knownForRu?: string | null;
|
|
14
|
-
category: AttractionCategoryEnum;
|
|
15
|
-
fame: AttractionFameEnum;
|
|
16
|
-
country: CountriesEnum;
|
|
17
|
-
cityId: number;
|
|
18
|
-
address?: string | null;
|
|
19
|
-
district?: string | null;
|
|
20
|
-
lat?: number | null;
|
|
21
|
-
lng?: number | null;
|
|
22
|
-
photos?: string[];
|
|
23
|
-
coverPhotoIndex?: number | null;
|
|
24
|
-
tags?: string[];
|
|
25
|
-
mustSeeScore?: number | null;
|
|
26
|
-
wowScore?: number | null;
|
|
27
|
-
touristCrowdScore?: number | null;
|
|
28
|
-
localExperienceScore?: number | null;
|
|
29
|
-
routeRole?: AttractionRouteRoleEnum | null;
|
|
30
|
-
routePriority?: number | null;
|
|
31
|
-
/** Convenience field; persisted into `routeMeta.indoorOutdoor`. */
|
|
32
|
-
indoorOutdoor?: AttractionIndoorOutdoorEnum | null;
|
|
33
|
-
routeMeta?: AttractionRouteMeta | null;
|
|
34
|
-
wikidataId?: string | null;
|
|
35
|
-
googlePlaceId?: string | null;
|
|
36
|
-
archived?: boolean;
|
|
37
|
-
isFreePreview?: boolean;
|
|
38
|
-
source?: AttractionSourceEnum;
|
|
39
|
-
reviewStatus?: AttractionReviewStatusEnum;
|
|
40
|
-
rejectionReason?: string | null;
|
|
41
|
-
}
|