@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
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { AttractionContent } from '../../city-attraction/attraction-content';
|
|
2
|
-
import { CityPlayerAttractionPersonRO } from './city-explore.ro';
|
|
3
|
-
export type CityPlayerReadyRouteListItemRO = {
|
|
4
|
-
routeId: number;
|
|
5
|
-
title: string;
|
|
6
|
-
teaser: string | null;
|
|
7
|
-
coverUrl: string | null;
|
|
8
|
-
authorName: string | null;
|
|
9
|
-
authorAvatarUrl: string | null;
|
|
10
|
-
durationFromMinutes: number | null;
|
|
11
|
-
durationToMinutes: number | null;
|
|
12
|
-
distanceKm: number | null;
|
|
13
|
-
stopsCount: number;
|
|
14
|
-
};
|
|
15
|
-
export type CityPlayerReadyRoutesRO = {
|
|
16
|
-
cityId: number;
|
|
17
|
-
city: string;
|
|
18
|
-
routes: CityPlayerReadyRouteListItemRO[];
|
|
19
|
-
};
|
|
20
|
-
export type CityPlayerReadyRouteStopRO = {
|
|
21
|
-
stopId: number;
|
|
22
|
-
order: number;
|
|
23
|
-
kind: 'attraction' | 'waypoint';
|
|
24
|
-
attractionId: number | null;
|
|
25
|
-
title: string | null;
|
|
26
|
-
address: string | null;
|
|
27
|
-
photoUrl: string | null;
|
|
28
|
-
lat: number;
|
|
29
|
-
lng: number;
|
|
30
|
-
blurb: string | null;
|
|
31
|
-
/** Full guide content after unlock; null when locked or waypoint. */
|
|
32
|
-
content: AttractionContent | null;
|
|
33
|
-
/** Озвучка guideTalk стопа (маршрутная, не аудио самой точки). */
|
|
34
|
-
guideAudioUrl: string | null;
|
|
35
|
-
guideAudioDurationSec: number | null;
|
|
36
|
-
/**
|
|
37
|
-
* Контент самого места (free-mode pack точки) — для «Подробнее о месте».
|
|
38
|
-
* Открыт вместе со стопом маршрута, без city pack.
|
|
39
|
-
*/
|
|
40
|
-
placeContent: AttractionContent | null;
|
|
41
|
-
placeGuideAudioUrl: string | null;
|
|
42
|
-
placeGuideAudioDurationSec: number | null;
|
|
43
|
-
/** True when stop is past freemium and user has no entitlement. */
|
|
44
|
-
locked: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Нормированная значимость места 0..1 (fame + mustSee + wow).
|
|
47
|
-
* Управляет размером маркера на карте: топ-вехи крупнее.
|
|
48
|
-
*/
|
|
49
|
-
importance: number;
|
|
50
|
-
/** Личности, связанные с точкой стопа. */
|
|
51
|
-
people: CityPlayerAttractionPersonRO[];
|
|
52
|
-
};
|
|
53
|
-
export type CityPlayerContentAccessRO = {
|
|
54
|
-
freeStopCount: number;
|
|
55
|
-
routeUnlocked: boolean;
|
|
56
|
-
cityUnlocked: boolean;
|
|
57
|
-
passActive: boolean;
|
|
58
|
-
fullyUnlocked: boolean;
|
|
59
|
-
};
|
|
60
|
-
export type CityPlayerReadyRouteDetailRO = {
|
|
61
|
-
routeId: number;
|
|
62
|
-
cityId: number;
|
|
63
|
-
city: string;
|
|
64
|
-
title: string;
|
|
65
|
-
teaser: string | null;
|
|
66
|
-
description: string | null;
|
|
67
|
-
coverUrl: string | null;
|
|
68
|
-
authorName: string | null;
|
|
69
|
-
authorAvatarUrl: string | null;
|
|
70
|
-
durationFromMinutes: number | null;
|
|
71
|
-
durationToMinutes: number | null;
|
|
72
|
-
distanceKm: number | null;
|
|
73
|
-
stopsCount: number;
|
|
74
|
-
access: CityPlayerContentAccessRO;
|
|
75
|
-
/** Attraction stops only (waypoints omitted from markers). */
|
|
76
|
-
stops: CityPlayerReadyRouteStopRO[];
|
|
77
|
-
/** Full path including invisible waypoints [lng, lat]. */
|
|
78
|
-
pathPoints: Array<{
|
|
79
|
-
lat: number;
|
|
80
|
-
lng: number;
|
|
81
|
-
}>;
|
|
82
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { AttractionCategoryEnum } from '../../city-attraction/enum/attraction-category.enum';
|
|
2
|
-
import { PersonAttractionRoleEnum } from '../../city-person/enum/person-attraction-role.enum';
|
|
3
|
-
/** Остановка свободного маршрута. */
|
|
4
|
-
export type CityPlayerFreeRouteStopRO = {
|
|
5
|
-
attractionId: number;
|
|
6
|
-
title: string;
|
|
7
|
-
knownFor: string | null;
|
|
8
|
-
category: AttractionCategoryEnum;
|
|
9
|
-
lat: number;
|
|
10
|
-
lng: number;
|
|
11
|
-
photoUrl: string | null;
|
|
12
|
-
/** Рекомендуемое время на точке, минут. */
|
|
13
|
-
visitMinutes: number;
|
|
14
|
-
/** Пешком от предыдущей точки (0 для первой). */
|
|
15
|
-
walkMinutesFromPrev: number;
|
|
16
|
-
distanceMetersFromPrev: number;
|
|
17
|
-
/** Роль связи с личностью, если маршрут построен по личности. */
|
|
18
|
-
personRole: PersonAttractionRoleEnum | null;
|
|
19
|
-
/** Есть ли AI-история места (guide talk) на запрошенном языке. */
|
|
20
|
-
hasStory: boolean;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Свободный маршрут: подобранные точки города в пешеходном порядке.
|
|
24
|
-
* Строится на лету — ничего не сохраняем, пока игрок не начнёт.
|
|
25
|
-
*/
|
|
26
|
-
export type CityPlayerFreeRouteRO = {
|
|
27
|
-
cityId: number;
|
|
28
|
-
city: string;
|
|
29
|
-
personId: number | null;
|
|
30
|
-
personName: string | null;
|
|
31
|
-
stops: CityPlayerFreeRouteStopRO[];
|
|
32
|
-
totalDistanceMeters: number;
|
|
33
|
-
/** Прогулка + время на точках, минут. */
|
|
34
|
-
totalDurationMinutes: number;
|
|
35
|
-
};
|
|
@@ -1,30 +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.PlayAnswerDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class PlayAnswerDto {
|
|
16
|
-
}
|
|
17
|
-
exports.PlayAnswerDto = PlayAnswerDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.MaxLength)(200),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], PlayAnswerDto.prototype, "answer", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
(0, class_validator_1.IsString)(),
|
|
27
|
-
(0, class_validator_1.MaxLength)(64),
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], PlayAnswerDto.prototype, "idempotencyKey", void 0);
|
|
@@ -1,23 +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.PlayFinaleChoiceDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class PlayFinaleChoiceDto {
|
|
16
|
-
}
|
|
17
|
-
exports.PlayFinaleChoiceDto = PlayFinaleChoiceDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.MaxLength)(40),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], PlayFinaleChoiceDto.prototype, "choiceId", void 0);
|
|
@@ -1,22 +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.PlayHintDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class PlayHintDto {
|
|
16
|
-
}
|
|
17
|
-
exports.PlayHintDto = PlayHintDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsIn)([1, 2, 3]),
|
|
20
|
-
(0, class_transformer_1.Expose)(),
|
|
21
|
-
__metadata("design:type", Number)
|
|
22
|
-
], PlayHintDto.prototype, "level", void 0);
|
|
@@ -1,23 +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.PlayIssueDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class PlayIssueDto {
|
|
16
|
-
}
|
|
17
|
-
exports.PlayIssueDto = PlayIssueDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.MaxLength)(1000),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], PlayIssueDto.prototype, "text", void 0);
|
|
@@ -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.PlayStartSessionDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const languages_enum_1 = require("../../shared/enum/languages.enum");
|
|
16
|
-
class PlayStartSessionDto {
|
|
17
|
-
}
|
|
18
|
-
exports.PlayStartSessionDto = PlayStartSessionDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsString)(),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], PlayStartSessionDto.prototype, "accessToken", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsString)(),
|
|
26
|
-
(0, class_validator_1.MaxLength)(60),
|
|
27
|
-
(0, class_transformer_1.Expose)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], PlayStartSessionDto.prototype, "teamName", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsOptional)(),
|
|
32
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
33
|
-
(0, class_transformer_1.Expose)(),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], PlayStartSessionDto.prototype, "language", 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
|
-
], PlayStartSessionDto.prototype, "raceMode", void 0);
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import { CityQuestPlayPhaseEnum } from '../../city-quest/enum/city-quest-play-phase.enum';
|
|
2
|
-
import { CityQuestSessionStatusEnum } from '../../city-quest/enum/city-quest-session-status.enum';
|
|
3
|
-
import { Languages } from '../../shared/enum/languages.enum';
|
|
4
|
-
/**
|
|
5
|
-
* Публичные (безопасные) представления контента для игрока.
|
|
6
|
-
* Формируются сервером вручную — accepted_answers и будущие
|
|
7
|
-
* главы наружу не отдаются.
|
|
8
|
-
*/
|
|
9
|
-
export type PlayAssetRO = {
|
|
10
|
-
assetKey: string;
|
|
11
|
-
url: string;
|
|
12
|
-
transcript?: string | null;
|
|
13
|
-
};
|
|
14
|
-
export type PlayHintStateRO = {
|
|
15
|
-
level: number;
|
|
16
|
-
penalty: number;
|
|
17
|
-
/** Текст возвращается только после покупки подсказки. */
|
|
18
|
-
text?: string;
|
|
19
|
-
used: boolean;
|
|
20
|
-
};
|
|
21
|
-
export type PlayChallengeRO = {
|
|
22
|
-
type: string;
|
|
23
|
-
prompt: string;
|
|
24
|
-
choices?: Array<{
|
|
25
|
-
id: string;
|
|
26
|
-
label: string;
|
|
27
|
-
}>;
|
|
28
|
-
teamSplitRoles?: Array<{
|
|
29
|
-
role: string;
|
|
30
|
-
task: string;
|
|
31
|
-
}>;
|
|
32
|
-
audio?: PlayAssetRO | null;
|
|
33
|
-
hints: PlayHintStateRO[];
|
|
34
|
-
};
|
|
35
|
-
export type PlayStopRO = {
|
|
36
|
-
id: string;
|
|
37
|
-
order: number;
|
|
38
|
-
totalStops: number;
|
|
39
|
-
chapterTitle?: string;
|
|
40
|
-
locationName: string;
|
|
41
|
-
address?: string;
|
|
42
|
-
lat: number;
|
|
43
|
-
lng: number;
|
|
44
|
-
gpsRadiusM: number;
|
|
45
|
-
arrivalInstruction?: string;
|
|
46
|
-
fromPrevious?: string;
|
|
47
|
-
walkAudio?: PlayAssetRO | null;
|
|
48
|
-
walkMicroTask?: string;
|
|
49
|
-
storyBefore: string;
|
|
50
|
-
challenge: PlayChallengeRO;
|
|
51
|
-
photoChallenge?: {
|
|
52
|
-
prompt: string;
|
|
53
|
-
collageSlot?: number;
|
|
54
|
-
};
|
|
55
|
-
/** true — сервер перевёл точку в fallback-режим (стройка/закрыто). */
|
|
56
|
-
fallbackActive: boolean;
|
|
57
|
-
fallbackPrompt?: string;
|
|
58
|
-
arrived: boolean;
|
|
59
|
-
};
|
|
60
|
-
export type PlayRouteEventRO = {
|
|
61
|
-
id: string;
|
|
62
|
-
type: 'message' | 'theft_bonus' | 'timed_challenge';
|
|
63
|
-
from?: string;
|
|
64
|
-
text?: string;
|
|
65
|
-
bonusChallenge?: PlayChallengeRO;
|
|
66
|
-
bonusPoints?: number;
|
|
67
|
-
softTimerSeconds?: number;
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* Точка полного маршрута для карты. Отдаётся вся трасса сразу, но
|
|
71
|
-
* координаты будущих точек показываем, а название/фото — только для
|
|
72
|
-
* пройденных и текущей (остальные «под замком», без спойлеров).
|
|
73
|
-
*/
|
|
74
|
-
export type PlayRoutePointRO = {
|
|
75
|
-
id: string;
|
|
76
|
-
order: number;
|
|
77
|
-
lat: number;
|
|
78
|
-
lng: number;
|
|
79
|
-
status: 'solved' | 'current' | 'locked';
|
|
80
|
-
/** Название точки — только для solved/current, иначе placeholder. */
|
|
81
|
-
title?: string;
|
|
82
|
-
/** Фото-маркер точки — только для solved/current. */
|
|
83
|
-
photoUrl?: string | null;
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* Ключевая веха маршрута для превью квеста (стартовый экран / детали в
|
|
87
|
-
* каталоге). В отличие от `PlayRoutePointRO`, спойлеров нет: показываем
|
|
88
|
-
* только помеченные в админке точки с названием и фото.
|
|
89
|
-
*/
|
|
90
|
-
export type PlayKeyMilestoneRO = {
|
|
91
|
-
id: string;
|
|
92
|
-
order: number;
|
|
93
|
-
title: string;
|
|
94
|
-
lat: number;
|
|
95
|
-
lng: number;
|
|
96
|
-
photoUrl?: string | null;
|
|
97
|
-
};
|
|
98
|
-
export type PlayFinaleRO = {
|
|
99
|
-
puzzle?: PlayChallengeRO;
|
|
100
|
-
choicePrompt?: string;
|
|
101
|
-
choices?: Array<{
|
|
102
|
-
id: string;
|
|
103
|
-
label: string;
|
|
104
|
-
}>;
|
|
105
|
-
};
|
|
106
|
-
export type PlayPrologueRO = {
|
|
107
|
-
/** Экраны вступления (prologue.screen_1..N) в порядке номеров. */
|
|
108
|
-
screens: string[];
|
|
109
|
-
/** Миссия команды (prologue.team_mission) — показывается последней. */
|
|
110
|
-
teamMission?: string;
|
|
111
|
-
};
|
|
112
|
-
export type PlayResultRO = {
|
|
113
|
-
score: number;
|
|
114
|
-
bonusPoints: number;
|
|
115
|
-
durationSec: number;
|
|
116
|
-
hintsUsed: number;
|
|
117
|
-
stopsSkipped: number;
|
|
118
|
-
endingId?: string;
|
|
119
|
-
endingText?: string;
|
|
120
|
-
shareCard?: unknown;
|
|
121
|
-
/** Место в топе города за 30 дней (если игра финишировала). */
|
|
122
|
-
leaderboardRank?: number | null;
|
|
123
|
-
leaderboardTotal?: number | null;
|
|
124
|
-
};
|
|
125
|
-
export type PlayStateRO = {
|
|
126
|
-
sessionToken: string;
|
|
127
|
-
teamName: string;
|
|
128
|
-
language: Languages;
|
|
129
|
-
status: CityQuestSessionStatusEnum;
|
|
130
|
-
phase: CityQuestPlayPhaseEnum;
|
|
131
|
-
title: string;
|
|
132
|
-
score: number;
|
|
133
|
-
bonusPoints: number;
|
|
134
|
-
startedAt: string;
|
|
135
|
-
pausedAccumulatedMs: number;
|
|
136
|
-
/** Прогресс: сколько точек закрыто. */
|
|
137
|
-
solvedStops: number;
|
|
138
|
-
totalStops: number;
|
|
139
|
-
/** Собранные жетоны метазагадки — в порядке получения. */
|
|
140
|
-
collectedTokens: string[];
|
|
141
|
-
/** Состояние артефакта (ключ ассета последнего reward.artifact_state). */
|
|
142
|
-
artifactState?: string | null;
|
|
143
|
-
artifactAsset?: PlayAssetRO | null;
|
|
144
|
-
currentStop?: PlayStopRO | null;
|
|
145
|
-
/**
|
|
146
|
-
* Полный маршрут для карты: все точки сразу, статус
|
|
147
|
-
* solved/current/locked. Клиент рисует линию и маркеры, будущие —
|
|
148
|
-
* «под замком».
|
|
149
|
-
*/
|
|
150
|
-
routeOverview?: PlayRoutePointRO[];
|
|
151
|
-
/**
|
|
152
|
-
* Вступление игры (что произошло, миссия команды). Клиент показывает
|
|
153
|
-
* его перед первой точкой; отдаём всегда — чтобы можно было
|
|
154
|
-
* перечитать из меню.
|
|
155
|
-
*/
|
|
156
|
-
prologue?: PlayPrologueRO | null;
|
|
157
|
-
/** Событие маршрута, ожидающее реакции игрока. */
|
|
158
|
-
pendingRouteEvent?: PlayRouteEventRO | null;
|
|
159
|
-
finale?: PlayFinaleRO | null;
|
|
160
|
-
result?: PlayResultRO | null;
|
|
161
|
-
onboarding?: unknown;
|
|
162
|
-
selfGuidedSupport?: unknown;
|
|
163
|
-
};
|
|
164
|
-
export type PlayAnswerResultRO = {
|
|
165
|
-
correct: boolean;
|
|
166
|
-
/** Пояснение решения — приходит после верного ответа/reveal. */
|
|
167
|
-
solutionExplanation?: string;
|
|
168
|
-
storyAfter?: string;
|
|
169
|
-
historicalNote?: string;
|
|
170
|
-
earnedToken?: string;
|
|
171
|
-
/** Секунды до следующей попытки (rate-limit после серии ошибок). */
|
|
172
|
-
cooldownSeconds?: number;
|
|
173
|
-
state: PlayStateRO;
|
|
174
|
-
};
|
|
175
|
-
export type PlayAccessInfoRO = {
|
|
176
|
-
valid: boolean;
|
|
177
|
-
title?: string;
|
|
178
|
-
tagline?: string;
|
|
179
|
-
city?: string;
|
|
180
|
-
durationMinutes?: number;
|
|
181
|
-
distanceKm?: number;
|
|
182
|
-
/** Обложка стартового экрана. */
|
|
183
|
-
cover?: PlayAssetRO | null;
|
|
184
|
-
/** Тизер (видео/аудио) для стартового экрана. */
|
|
185
|
-
teaser?: PlayAssetRO | null;
|
|
186
|
-
/** Кто озвучил игру (для блока «что внутри»). */
|
|
187
|
-
voicedBy?: string;
|
|
188
|
-
/** Кол-во точек маршрута — для схемы маршрута на старте. */
|
|
189
|
-
pointsCount?: number;
|
|
190
|
-
/** Ключевые вехи для схемы маршрута на стартовом экране. */
|
|
191
|
-
keyMilestones?: PlayKeyMilestoneRO[];
|
|
192
|
-
availableLanguages?: Languages[];
|
|
193
|
-
/** Уже начатые командные сессии этого доступа. */
|
|
194
|
-
sessions?: Array<{
|
|
195
|
-
sessionToken: string;
|
|
196
|
-
teamName: string;
|
|
197
|
-
status: CityQuestSessionStatusEnum;
|
|
198
|
-
score: number;
|
|
199
|
-
}>;
|
|
200
|
-
expiresAt?: string | null;
|
|
201
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PortalPartnerRO } from '../portal-partner.ro';
|
|
2
|
-
/** Partner row in the admin panel, with aggregates. */
|
|
3
|
-
export type AdminPortalPartnerRO = PortalPartnerRO & {
|
|
4
|
-
/** Authors: city quests created by this partner. */
|
|
5
|
-
questsCount?: number;
|
|
6
|
-
questsInReviewCount?: number;
|
|
7
|
-
/** Venues: pending material orders. */
|
|
8
|
-
pendingMaterialOrdersCount?: number;
|
|
9
|
-
qrScansCount?: number;
|
|
10
|
-
};
|
|
@@ -1,29 +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.AdminUpdatePortalMaterialOrderDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const portal_material_order_status_enum_1 = require("../enum/portal-material-order-status.enum");
|
|
16
|
-
class AdminUpdatePortalMaterialOrderDto {
|
|
17
|
-
}
|
|
18
|
-
exports.AdminUpdatePortalMaterialOrderDto = AdminUpdatePortalMaterialOrderDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsEnum)(portal_material_order_status_enum_1.PortalMaterialOrderStatusEnum),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], AdminUpdatePortalMaterialOrderDto.prototype, "status", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
(0, class_validator_1.IsString)(),
|
|
27
|
-
(0, class_transformer_1.Expose)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], AdminUpdatePortalMaterialOrderDto.prototype, "trackingInfo", void 0);
|
|
@@ -1,37 +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.AdminUpdatePortalPartnerDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class AdminUpdatePortalPartnerDto {
|
|
16
|
-
}
|
|
17
|
-
exports.AdminUpdatePortalPartnerDto = AdminUpdatePortalPartnerDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsOptional)(),
|
|
20
|
-
(0, class_validator_1.IsNumber)(),
|
|
21
|
-
(0, class_validator_1.Min)(0),
|
|
22
|
-
(0, class_validator_1.Max)(100),
|
|
23
|
-
(0, class_transformer_1.Expose)(),
|
|
24
|
-
__metadata("design:type", Number)
|
|
25
|
-
], AdminUpdatePortalPartnerDto.prototype, "commissionPercent", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsOptional)(),
|
|
28
|
-
(0, class_validator_1.IsBoolean)(),
|
|
29
|
-
(0, class_transformer_1.Expose)(),
|
|
30
|
-
__metadata("design:type", Boolean)
|
|
31
|
-
], AdminUpdatePortalPartnerDto.prototype, "blocked", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsOptional)(),
|
|
34
|
-
(0, class_validator_1.IsString)(),
|
|
35
|
-
(0, class_transformer_1.Expose)(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], AdminUpdatePortalPartnerDto.prototype, "promocode", void 0);
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AttractionRouteMeta } from '../city-attraction/attraction-route-meta';
|
|
2
|
-
import { AttractionCategoryEnum } from '../city-attraction/enum/attraction-category.enum';
|
|
3
|
-
import { AttractionFameEnum } from '../city-attraction/enum/attraction-fame.enum';
|
|
4
|
-
import { AttractionIndoorOutdoorEnum } from '../city-attraction/enum/attraction-indoor-outdoor.enum';
|
|
5
|
-
import { AttractionRouteRoleEnum } from '../city-attraction/enum/attraction-route-role.enum';
|
|
6
|
-
/**
|
|
7
|
-
* Partner-facing create payload. cityId/country come from the story;
|
|
8
|
-
* reviewStatus is forced to needReview server-side.
|
|
9
|
-
*/
|
|
10
|
-
export declare class CreatePartnerAttractionDto {
|
|
11
|
-
title: string;
|
|
12
|
-
description?: string | null;
|
|
13
|
-
knownFor?: string | null;
|
|
14
|
-
knownForRu?: string | null;
|
|
15
|
-
category: AttractionCategoryEnum;
|
|
16
|
-
fame: AttractionFameEnum;
|
|
17
|
-
cityId: number;
|
|
18
|
-
address?: string | null;
|
|
19
|
-
district?: string | null;
|
|
20
|
-
lat: number;
|
|
21
|
-
lng: number;
|
|
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
|
-
indoorOutdoor?: AttractionIndoorOutdoorEnum | null;
|
|
32
|
-
routeMeta?: AttractionRouteMeta | null;
|
|
33
|
-
}
|