@escapenavigator/types 2.0.26 → 2.0.28
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/aggregator-companies/aggregator-quest.ro.d.ts +51 -0
- 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-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
- /package/dist/{city-attraction/attraction-content.js → aggregator-companies/aggregator-quest.ro.js} +0 -0
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
|
-
import { CityQuestStatusEnum } from './enum/city-quest-status.enum';
|
|
3
|
-
export declare class UpdateCityQuestDto {
|
|
4
|
-
status?: CityQuestStatusEnum;
|
|
5
|
-
/** @deprecated Свободный текст города — заменён на cityId. */
|
|
6
|
-
city?: string;
|
|
7
|
-
/** Город каталога (FK на CityEntity). null — отвязать. */
|
|
8
|
-
cityId?: number | null;
|
|
9
|
-
country?: CountriesEnum;
|
|
10
|
-
/** Кто озвучил игру — пишется в content.voiced_by. */
|
|
11
|
-
voicedBy?: string;
|
|
12
|
-
/** Required when status=rejected. */
|
|
13
|
-
rejectionReason?: string | null;
|
|
14
|
-
}
|
|
@@ -1,55 +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.UpdateCityQuestDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
|
-
const city_quest_status_enum_1 = require("./enum/city-quest-status.enum");
|
|
17
|
-
class UpdateCityQuestDto {
|
|
18
|
-
}
|
|
19
|
-
exports.UpdateCityQuestDto = UpdateCityQuestDto;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, class_validator_1.IsOptional)(),
|
|
22
|
-
(0, class_validator_1.IsEnum)(city_quest_status_enum_1.CityQuestStatusEnum),
|
|
23
|
-
(0, class_transformer_1.Expose)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], UpdateCityQuestDto.prototype, "status", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsOptional)(),
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_transformer_1.Expose)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], UpdateCityQuestDto.prototype, "city", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsOptional)(),
|
|
34
|
-
(0, class_validator_1.IsNumber)(),
|
|
35
|
-
(0, class_transformer_1.Expose)(),
|
|
36
|
-
__metadata("design:type", Number)
|
|
37
|
-
], UpdateCityQuestDto.prototype, "cityId", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
(0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
|
|
41
|
-
(0, class_transformer_1.Expose)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], UpdateCityQuestDto.prototype, "country", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsOptional)(),
|
|
46
|
-
(0, class_validator_1.IsString)(),
|
|
47
|
-
(0, class_transformer_1.Expose)(),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], UpdateCityQuestDto.prototype, "voicedBy", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, class_validator_1.IsOptional)(),
|
|
52
|
-
(0, class_validator_1.IsString)(),
|
|
53
|
-
(0, class_transformer_1.Expose)(),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], UpdateCityQuestDto.prototype, "rejectionReason", void 0);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
export declare class UpsertCityQuestAssetDto {
|
|
3
|
-
/** Ключ ассета из контента (walk_audio_asset, audio_asset, artifact_state и т.д.). */
|
|
4
|
-
assetKey: string;
|
|
5
|
-
/** Локаль озвучки. Пусто — ассет общий для всех языков (картинки, музыка). */
|
|
6
|
-
language?: Languages;
|
|
7
|
-
/** URL загруженного файла (из POST /uploads/audio | /uploads/image). */
|
|
8
|
-
url: string;
|
|
9
|
-
/** Текстовая расшифровка аудио — доступность и режим экономии батареи. */
|
|
10
|
-
transcript?: string;
|
|
11
|
-
}
|
|
@@ -1,40 +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.UpsertCityQuestAssetDto = 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 UpsertCityQuestAssetDto {
|
|
17
|
-
}
|
|
18
|
-
exports.UpsertCityQuestAssetDto = UpsertCityQuestAssetDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsString)(),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], UpsertCityQuestAssetDto.prototype, "assetKey", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
27
|
-
(0, class_transformer_1.Expose)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], UpsertCityQuestAssetDto.prototype, "language", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsString)(),
|
|
32
|
-
(0, class_transformer_1.Expose)(),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], UpsertCityQuestAssetDto.prototype, "url", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, class_validator_1.IsOptional)(),
|
|
37
|
-
(0, class_validator_1.IsString)(),
|
|
38
|
-
(0, class_transformer_1.Expose)(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], UpsertCityQuestAssetDto.prototype, "transcript", void 0);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { CityQuestLocaleContent } from './city-quest-locale-content';
|
|
3
|
-
import { CityQuestLocaleStatusEnum } from './enum/city-quest-locale-status.enum';
|
|
4
|
-
export declare class UpsertCityQuestLocaleDto {
|
|
5
|
-
language: Languages;
|
|
6
|
-
title?: string;
|
|
7
|
-
tagline?: string | null;
|
|
8
|
-
content?: CityQuestLocaleContent | null;
|
|
9
|
-
status?: CityQuestLocaleStatusEnum;
|
|
10
|
-
}
|
|
@@ -1,48 +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.UpsertCityQuestLocaleDto = 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
|
-
const city_quest_locale_status_enum_1 = require("./enum/city-quest-locale-status.enum");
|
|
17
|
-
class UpsertCityQuestLocaleDto {
|
|
18
|
-
}
|
|
19
|
-
exports.UpsertCityQuestLocaleDto = UpsertCityQuestLocaleDto;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
22
|
-
(0, class_transformer_1.Expose)(),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], UpsertCityQuestLocaleDto.prototype, "language", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_validator_1.IsOptional)(),
|
|
27
|
-
(0, class_validator_1.IsString)(),
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], UpsertCityQuestLocaleDto.prototype, "title", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
|
-
(0, class_transformer_1.Expose)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], UpsertCityQuestLocaleDto.prototype, "tagline", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsOptional)(),
|
|
39
|
-
(0, class_validator_1.IsObject)(),
|
|
40
|
-
(0, class_transformer_1.Expose)(),
|
|
41
|
-
__metadata("design:type", Object)
|
|
42
|
-
], UpsertCityQuestLocaleDto.prototype, "content", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_validator_1.IsOptional)(),
|
|
45
|
-
(0, class_validator_1.IsEnum)(city_quest_locale_status_enum_1.CityQuestLocaleStatusEnum),
|
|
46
|
-
(0, class_transformer_1.Expose)(),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], UpsertCityQuestLocaleDto.prototype, "status", void 0);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { ResponseObject } from '../shared/ro';
|
|
3
|
-
export type CityReadyRouteLocaleRO = ResponseObject & {
|
|
4
|
-
routeId: number;
|
|
5
|
-
language: Languages;
|
|
6
|
-
title: string;
|
|
7
|
-
teaser: string | null;
|
|
8
|
-
description: string | null;
|
|
9
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { ResponseObject } from '../shared/ro';
|
|
3
|
-
import { ReadyRouteStopKindEnum } from './enum/ready-route-stop-kind.enum';
|
|
4
|
-
import { ReadyRouteStopContentOverride } from './ready-route-stop-content';
|
|
5
|
-
export type CityReadyRouteStopLocaleRO = {
|
|
6
|
-
id: number;
|
|
7
|
-
stopId: number;
|
|
8
|
-
language: Languages;
|
|
9
|
-
content: ReadyRouteStopContentOverride | null;
|
|
10
|
-
/** Озвучка guideTalk этого стопа (отдельная от аудио самой точки). */
|
|
11
|
-
guideAudioUrl: string | null;
|
|
12
|
-
guideAudioDurationSec: number | null;
|
|
13
|
-
};
|
|
14
|
-
export type CityReadyRouteStopRO = ResponseObject & {
|
|
15
|
-
routeId: number;
|
|
16
|
-
order: number;
|
|
17
|
-
kind: ReadyRouteStopKindEnum;
|
|
18
|
-
attractionId: number | null;
|
|
19
|
-
attractionTitle?: string | null;
|
|
20
|
-
attractionReviewStatus?: string | null;
|
|
21
|
-
lat: number | null;
|
|
22
|
-
lng: number | null;
|
|
23
|
-
locales?: CityReadyRouteStopLocaleRO[];
|
|
24
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ResponseObject } from '../shared/ro';
|
|
2
|
-
import { CityReadyRouteLocaleRO } from './city-ready-route-locale.ro';
|
|
3
|
-
import { CityReadyRouteStopRO } from './city-ready-route-stop.ro';
|
|
4
|
-
import { ReadyRouteStatusEnum } from './enum/ready-route-status.enum';
|
|
5
|
-
export type CityReadyRouteRO = ResponseObject & {
|
|
6
|
-
cityId: number;
|
|
7
|
-
cityTitle?: string | null;
|
|
8
|
-
status: ReadyRouteStatusEnum;
|
|
9
|
-
coverUrl: string | null;
|
|
10
|
-
authorName: string | null;
|
|
11
|
-
authorAvatarUrl: string | null;
|
|
12
|
-
durationFromMinutes: number | null;
|
|
13
|
-
durationToMinutes: number | null;
|
|
14
|
-
distanceKm: number | null;
|
|
15
|
-
/** Display title from content-base locale (RU). */
|
|
16
|
-
title?: string | null;
|
|
17
|
-
teaser?: string | null;
|
|
18
|
-
description?: string | null;
|
|
19
|
-
stopsCount?: number;
|
|
20
|
-
locales?: CityReadyRouteLocaleRO[];
|
|
21
|
-
stops?: CityReadyRouteStopRO[];
|
|
22
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReadyRouteStatusEnum } from './enum/ready-route-status.enum';
|
|
2
|
-
import { UpsertCityReadyRouteLocaleDto } from './upsert-city-ready-route-locale.dto';
|
|
3
|
-
import { UpsertCityReadyRouteStopDto } from './upsert-city-ready-route-stop.dto';
|
|
4
|
-
export declare class CreateCityReadyRouteDto {
|
|
5
|
-
cityId: number;
|
|
6
|
-
status?: ReadyRouteStatusEnum;
|
|
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
|
-
locales?: UpsertCityReadyRouteLocaleDto[];
|
|
14
|
-
stops?: UpsertCityReadyRouteStopDto[];
|
|
15
|
-
}
|
|
@@ -1,90 +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.CreateCityReadyRouteDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const ready_route_status_enum_1 = require("./enum/ready-route-status.enum");
|
|
16
|
-
const upsert_city_ready_route_locale_dto_1 = require("./upsert-city-ready-route-locale.dto");
|
|
17
|
-
const upsert_city_ready_route_stop_dto_1 = require("./upsert-city-ready-route-stop.dto");
|
|
18
|
-
class CreateCityReadyRouteDto {
|
|
19
|
-
}
|
|
20
|
-
exports.CreateCityReadyRouteDto = CreateCityReadyRouteDto;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
23
|
-
(0, class_validator_1.IsInt)(),
|
|
24
|
-
(0, class_transformer_1.Expose)(),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], CreateCityReadyRouteDto.prototype, "cityId", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsOptional)(),
|
|
29
|
-
(0, class_validator_1.IsEnum)(ready_route_status_enum_1.ReadyRouteStatusEnum),
|
|
30
|
-
(0, class_transformer_1.Expose)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CreateCityReadyRouteDto.prototype, "status", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsOptional)(),
|
|
35
|
-
(0, class_validator_1.IsString)(),
|
|
36
|
-
(0, class_transformer_1.Expose)(),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], CreateCityReadyRouteDto.prototype, "coverUrl", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsOptional)(),
|
|
41
|
-
(0, class_validator_1.IsString)(),
|
|
42
|
-
(0, class_transformer_1.Expose)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], CreateCityReadyRouteDto.prototype, "authorName", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, class_validator_1.IsOptional)(),
|
|
47
|
-
(0, class_validator_1.IsString)(),
|
|
48
|
-
(0, class_transformer_1.Expose)(),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], CreateCityReadyRouteDto.prototype, "authorAvatarUrl", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, class_validator_1.IsOptional)(),
|
|
53
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
54
|
-
(0, class_validator_1.IsInt)(),
|
|
55
|
-
(0, class_validator_1.Min)(0),
|
|
56
|
-
(0, class_transformer_1.Expose)(),
|
|
57
|
-
__metadata("design:type", Number)
|
|
58
|
-
], CreateCityReadyRouteDto.prototype, "durationFromMinutes", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, class_validator_1.IsOptional)(),
|
|
61
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
62
|
-
(0, class_validator_1.IsInt)(),
|
|
63
|
-
(0, class_validator_1.Min)(0),
|
|
64
|
-
(0, class_transformer_1.Expose)(),
|
|
65
|
-
__metadata("design:type", Number)
|
|
66
|
-
], CreateCityReadyRouteDto.prototype, "durationToMinutes", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, class_validator_1.IsOptional)(),
|
|
69
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
70
|
-
(0, class_validator_1.IsNumber)(),
|
|
71
|
-
(0, class_validator_1.Min)(0),
|
|
72
|
-
(0, class_transformer_1.Expose)(),
|
|
73
|
-
__metadata("design:type", Number)
|
|
74
|
-
], CreateCityReadyRouteDto.prototype, "distanceKm", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, class_validator_1.IsOptional)(),
|
|
77
|
-
(0, class_validator_1.IsArray)(),
|
|
78
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
79
|
-
(0, class_transformer_1.Type)(() => upsert_city_ready_route_locale_dto_1.UpsertCityReadyRouteLocaleDto),
|
|
80
|
-
(0, class_transformer_1.Expose)(),
|
|
81
|
-
__metadata("design:type", Array)
|
|
82
|
-
], CreateCityReadyRouteDto.prototype, "locales", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, class_validator_1.IsOptional)(),
|
|
85
|
-
(0, class_validator_1.IsArray)(),
|
|
86
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
87
|
-
(0, class_transformer_1.Type)(() => upsert_city_ready_route_stop_dto_1.UpsertCityReadyRouteStopDto),
|
|
88
|
-
(0, class_transformer_1.Expose)(),
|
|
89
|
-
__metadata("design:type", Array)
|
|
90
|
-
], CreateCityReadyRouteDto.prototype, "stops", void 0);
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReadyRouteStatusEnum = void 0;
|
|
4
|
-
var ReadyRouteStatusEnum;
|
|
5
|
-
(function (ReadyRouteStatusEnum) {
|
|
6
|
-
ReadyRouteStatusEnum["DRAFT"] = "draft";
|
|
7
|
-
ReadyRouteStatusEnum["PUBLISHED"] = "published";
|
|
8
|
-
})(ReadyRouteStatusEnum || (exports.ReadyRouteStatusEnum = ReadyRouteStatusEnum = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReadyRouteStopKindEnum = void 0;
|
|
4
|
-
var ReadyRouteStopKindEnum;
|
|
5
|
-
(function (ReadyRouteStopKindEnum) {
|
|
6
|
-
ReadyRouteStopKindEnum["ATTRACTION"] = "attraction";
|
|
7
|
-
ReadyRouteStopKindEnum["WAYPOINT"] = "waypoint";
|
|
8
|
-
})(ReadyRouteStopKindEnum || (exports.ReadyRouteStopKindEnum = ReadyRouteStopKindEnum = {}));
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare class ReadyRoutePathPointDto {
|
|
2
|
-
lat: number;
|
|
3
|
-
lng: number;
|
|
4
|
-
}
|
|
5
|
-
export declare class EstimateReadyRoutePathDto {
|
|
6
|
-
points: ReadyRoutePathPointDto[];
|
|
7
|
-
}
|
|
8
|
-
export type EstimateReadyRoutePathRO = {
|
|
9
|
-
distanceKm: number;
|
|
10
|
-
durationFromMinutes: number;
|
|
11
|
-
durationToMinutes: number;
|
|
12
|
-
/** [lng, lat][] polyline for admin preview */
|
|
13
|
-
geometry: [number, number][];
|
|
14
|
-
};
|
|
@@ -1,39 +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.EstimateReadyRoutePathDto = exports.ReadyRoutePathPointDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class ReadyRoutePathPointDto {
|
|
16
|
-
}
|
|
17
|
-
exports.ReadyRoutePathPointDto = ReadyRoutePathPointDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
20
|
-
(0, class_validator_1.IsNumber)(),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", Number)
|
|
23
|
-
], ReadyRoutePathPointDto.prototype, "lat", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
26
|
-
(0, class_validator_1.IsNumber)(),
|
|
27
|
-
(0, class_transformer_1.Expose)(),
|
|
28
|
-
__metadata("design:type", Number)
|
|
29
|
-
], ReadyRoutePathPointDto.prototype, "lng", void 0);
|
|
30
|
-
class EstimateReadyRoutePathDto {
|
|
31
|
-
}
|
|
32
|
-
exports.EstimateReadyRoutePathDto = EstimateReadyRoutePathDto;
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_validator_1.IsArray)(),
|
|
35
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
36
|
-
(0, class_transformer_1.Type)(() => ReadyRoutePathPointDto),
|
|
37
|
-
(0, class_transformer_1.Expose)(),
|
|
38
|
-
__metadata("design:type", Array)
|
|
39
|
-
], EstimateReadyRoutePathDto.prototype, "points", void 0);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { RiddleTtsMoodEnum } from '../questroom-riddle/enum/riddle-tts-mood.enum';
|
|
2
|
-
import { RiddleTtsVoiceEnum } from '../questroom-riddle/enum/riddle-tts-voice.enum';
|
|
3
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
4
|
-
export declare class GenerateReadyRouteStopAudioDto {
|
|
5
|
-
language: Languages;
|
|
6
|
-
/** Текст для озвучки. Если не передан — берётся guideTalk стопа (override или база атракшена). */
|
|
7
|
-
text?: string;
|
|
8
|
-
voice?: RiddleTtsVoiceEnum;
|
|
9
|
-
mood?: RiddleTtsMoodEnum;
|
|
10
|
-
}
|
|
11
|
-
export type GenerateReadyRouteStopAudioRO = {
|
|
12
|
-
url: string;
|
|
13
|
-
};
|
|
@@ -1,45 +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.GenerateReadyRouteStopAudioDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const riddle_tts_mood_enum_1 = require("../questroom-riddle/enum/riddle-tts-mood.enum");
|
|
16
|
-
const riddle_tts_voice_enum_1 = require("../questroom-riddle/enum/riddle-tts-voice.enum");
|
|
17
|
-
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
18
|
-
class GenerateReadyRouteStopAudioDto {
|
|
19
|
-
}
|
|
20
|
-
exports.GenerateReadyRouteStopAudioDto = GenerateReadyRouteStopAudioDto;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
23
|
-
(0, class_transformer_1.Expose)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], GenerateReadyRouteStopAudioDto.prototype, "language", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsOptional)(),
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.MinLength)(1),
|
|
30
|
-
(0, class_validator_1.MaxLength)(12000),
|
|
31
|
-
(0, class_transformer_1.Expose)(),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], GenerateReadyRouteStopAudioDto.prototype, "text", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsOptional)(),
|
|
36
|
-
(0, class_validator_1.IsEnum)(riddle_tts_voice_enum_1.RiddleTtsVoiceEnum),
|
|
37
|
-
(0, class_transformer_1.Expose)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], GenerateReadyRouteStopAudioDto.prototype, "voice", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.IsOptional)(),
|
|
42
|
-
(0, class_validator_1.IsEnum)(riddle_tts_mood_enum_1.RiddleTtsMoodEnum),
|
|
43
|
-
(0, class_transformer_1.Expose)(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], GenerateReadyRouteStopAudioDto.prototype, "mood", void 0);
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { AttractionReviewStatusEnum } from '../city-attraction/enum/attraction-review-status.enum';
|
|
2
|
-
import { PersonDomainEnum } from '../city-person/enum/person-domain.enum';
|
|
3
|
-
export type ReadyRouteMapPoolPersonRO = {
|
|
4
|
-
personId: number;
|
|
5
|
-
name: string;
|
|
6
|
-
photoUrl: string | null;
|
|
7
|
-
domains: PersonDomainEnum[];
|
|
8
|
-
};
|
|
9
|
-
export type ReadyRouteMapPoolAttractionRO = {
|
|
10
|
-
attractionId: number;
|
|
11
|
-
title: string;
|
|
12
|
-
knownFor: string | null;
|
|
13
|
-
knownForRu: string | null;
|
|
14
|
-
reviewStatus: AttractionReviewStatusEnum;
|
|
15
|
-
archived: boolean;
|
|
16
|
-
lat: number | null;
|
|
17
|
-
lng: number | null;
|
|
18
|
-
photoUrl: string | null;
|
|
19
|
-
hookRu: string | null;
|
|
20
|
-
people: ReadyRouteMapPoolPersonRO[];
|
|
21
|
-
};
|
|
22
|
-
export type ReadyRouteMapPoolRO = {
|
|
23
|
-
cityId: number;
|
|
24
|
-
city: string;
|
|
25
|
-
lat: number | null;
|
|
26
|
-
lng: number | null;
|
|
27
|
-
attractions: ReadyRouteMapPoolAttractionRO[];
|
|
28
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Route-flavoured override of attraction guide content for a stop.
|
|
3
|
-
*
|
|
4
|
-
* Only the narrative differs between the free-roam attraction and the route
|
|
5
|
-
* stop: hook and guideTalk (route dramaturgy, navigation, cliffhangers).
|
|
6
|
-
* The canonical fact set (cards, funFact, lookFor) always comes from the
|
|
7
|
-
* attraction locale via relation and cannot be overridden — see
|
|
8
|
-
* docs/content-playbook.md, section 2. Null/omitted fields inherit from
|
|
9
|
-
* the attraction locale too.
|
|
10
|
-
*/
|
|
11
|
-
export type ReadyRouteStopContentOverride = {
|
|
12
|
-
hook?: string | null;
|
|
13
|
-
guideTalk?: string | null;
|
|
14
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { CreateCityReadyRouteDto } from './create-city-ready-route.dto';
|
|
2
|
-
declare const UpdateCityReadyRouteDto_base: import("@nestjs/mapped-types").MappedType<Partial<CreateCityReadyRouteDto>>;
|
|
3
|
-
export declare class UpdateCityReadyRouteDto extends UpdateCityReadyRouteDto_base {
|
|
4
|
-
}
|
|
5
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateCityReadyRouteDto = void 0;
|
|
4
|
-
const mapped_types_1 = require("@nestjs/mapped-types");
|
|
5
|
-
const create_city_ready_route_dto_1 = require("./create-city-ready-route.dto");
|
|
6
|
-
class UpdateCityReadyRouteDto extends (0, mapped_types_1.PartialType)(create_city_ready_route_dto_1.CreateCityReadyRouteDto) {
|
|
7
|
-
}
|
|
8
|
-
exports.UpdateCityReadyRouteDto = UpdateCityReadyRouteDto;
|
|
@@ -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.UpsertCityReadyRouteLocaleDto = 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
|
-
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
17
|
-
class UpsertCityReadyRouteLocaleDto {
|
|
18
|
-
}
|
|
19
|
-
exports.UpsertCityReadyRouteLocaleDto = UpsertCityReadyRouteLocaleDto;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
22
|
-
(0, class_transformer_1.Expose)(),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], UpsertCityReadyRouteLocaleDto.prototype, "language", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
27
|
-
(0, class_transformer_1.Expose)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], UpsertCityReadyRouteLocaleDto.prototype, "title", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsOptional)(),
|
|
32
|
-
(0, class_validator_1.IsString)(),
|
|
33
|
-
(0, class_transformer_1.Expose)(),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], UpsertCityReadyRouteLocaleDto.prototype, "teaser", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, class_validator_1.IsOptional)(),
|
|
38
|
-
(0, class_validator_1.IsString)(),
|
|
39
|
-
(0, class_transformer_1.Expose)(),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], UpsertCityReadyRouteLocaleDto.prototype, "description", void 0);
|