@escapenavigator/types 2.0.25 → 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/admin/aggregator-order/create-aggregator-order.dto.d.ts +2 -0
- package/dist/admin/aggregator-order/create-aggregator-order.dto.js +6 -0
- package/dist/agregator/agregator-find-questroom-by-title.ro.js +1 -1
- package/dist/agregator/agregator-questroom-card.ro.js +1 -1
- package/dist/agregator/agregator-questroom.ro.d.ts +0 -8
- package/dist/agregator/agregator-questroom.ro.js +1 -5
- 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/openapi/slots/openapi-widget-slot.ro.d.ts +1 -1
- package/dist/openapi/slots/openapi-widget-slot.ro.js +1 -0
- package/dist/order/import/order-import.types.d.ts +91 -0
- package/dist/order/import/order-import.types.js +7 -0
- package/dist/profile/enum/profile-integration-type.enum.d.ts +2 -0
- package/dist/profile/enum/profile-integration-type.enum.js +2 -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
|
@@ -10,6 +10,8 @@ export declare class CreateAggregatorOrderDto {
|
|
|
10
10
|
time: string;
|
|
11
11
|
externalSlotId: string;
|
|
12
12
|
price: number;
|
|
13
|
+
/** Количество игроков — обязательно для Partner Booking API (Morty-стандарт). */
|
|
14
|
+
players?: number;
|
|
13
15
|
questroomId?: number;
|
|
14
16
|
profileId?: number;
|
|
15
17
|
}
|
|
@@ -73,6 +73,12 @@ __decorate([
|
|
|
73
73
|
(0, class_transformer_1.Expose)(),
|
|
74
74
|
__metadata("design:type", Number)
|
|
75
75
|
], CreateAggregatorOrderDto.prototype, "price", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_validator_1.IsOptional)(),
|
|
78
|
+
(0, class_validator_1.IsNumber)(),
|
|
79
|
+
(0, class_transformer_1.Expose)(),
|
|
80
|
+
__metadata("design:type", Number)
|
|
81
|
+
], CreateAggregatorOrderDto.prototype, "players", void 0);
|
|
76
82
|
__decorate([
|
|
77
83
|
(0, class_validator_1.IsOptional)(),
|
|
78
84
|
(0, class_validator_1.IsNumber)(),
|
|
@@ -56,7 +56,7 @@ __decorate([
|
|
|
56
56
|
(0, class_transformer_1.Expose)(),
|
|
57
57
|
(0, class_transformer_1.Transform)(({ obj }) => {
|
|
58
58
|
var _a;
|
|
59
|
-
return (obj.templateId || obj.integrationId) &&
|
|
59
|
+
return (obj.templateId || obj.integrationId || obj.partnerAttractionId) &&
|
|
60
60
|
((_a = obj.profile) === null || _a === void 0 ? void 0 : _a.partnerProgram) === partner_program_enum_1.PartnerProgramEnum.ACTIVE;
|
|
61
61
|
}),
|
|
62
62
|
__metadata("design:type", Boolean)
|
|
@@ -158,7 +158,7 @@ __decorate([
|
|
|
158
158
|
(0, class_transformer_1.Expose)(),
|
|
159
159
|
(0, class_transformer_1.Transform)(({ obj }) => {
|
|
160
160
|
var _a;
|
|
161
|
-
return (obj.templateId || obj.integrationId) &&
|
|
161
|
+
return (obj.templateId || obj.integrationId || obj.partnerAttractionId) &&
|
|
162
162
|
((_a = obj.profile) === null || _a === void 0 ? void 0 : _a.partnerProgram) === partner_program_enum_1.PartnerProgramEnum.ACTIVE;
|
|
163
163
|
}),
|
|
164
164
|
__metadata("design:type", Boolean)
|
|
@@ -7,7 +7,6 @@ import { ExpertReviewRO } from '../review/expert-review.ro';
|
|
|
7
7
|
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
8
8
|
import { Languages } from '../shared/enum/languages.enum';
|
|
9
9
|
import { TagsEnum } from '../shared/enum/tags.enum';
|
|
10
|
-
import { AgregatorOutdoorRouteRO } from './agregator-outdoor.ro';
|
|
11
10
|
import { AgregatorQuestroomCardRO } from './agregator-questroom-card.ro';
|
|
12
11
|
export declare const getRightLocale: ({ value, key, techLocales, locales, language, }: {
|
|
13
12
|
value: string;
|
|
@@ -87,12 +86,5 @@ export declare class AgregatorQuestroomRO {
|
|
|
87
86
|
hasSchedule?: boolean;
|
|
88
87
|
top: boolean;
|
|
89
88
|
navigatorReview?: ExpertReviewRO;
|
|
90
|
-
/**
|
|
91
|
-
* Маршрутные данные нашей city-quest игры (только у questroom с
|
|
92
|
-
* биндингом на опубликованную версию). Триггер network-варианта
|
|
93
|
-
* страницы квеста на агрегаторе. Plain-объект: собирается на беке
|
|
94
|
-
* вручную со спойлер-фильтром, class-transformer его не трогает.
|
|
95
|
-
*/
|
|
96
|
-
outdoorRoute?: AgregatorOutdoorRouteRO | null;
|
|
97
89
|
}
|
|
98
90
|
export {};
|
|
@@ -326,7 +326,7 @@ __decorate([
|
|
|
326
326
|
(0, class_transformer_1.Expose)(),
|
|
327
327
|
(0, class_transformer_1.Transform)(({ obj }) => {
|
|
328
328
|
var _a;
|
|
329
|
-
return (obj.templateId || obj.integrationId) &&
|
|
329
|
+
return (obj.templateId || obj.integrationId || obj.partnerAttractionId) &&
|
|
330
330
|
((_a = obj.profile) === null || _a === void 0 ? void 0 : _a.partnerProgram) === partner_program_enum_1.PartnerProgramEnum.ACTIVE;
|
|
331
331
|
}),
|
|
332
332
|
__metadata("design:type", Boolean)
|
|
@@ -340,7 +340,3 @@ __decorate([
|
|
|
340
340
|
(0, class_transformer_1.Type)(() => expert_review_ro_1.ExpertReviewRO),
|
|
341
341
|
__metadata("design:type", expert_review_ro_1.ExpertReviewRO)
|
|
342
342
|
], AgregatorQuestroomRO.prototype, "navigatorReview", void 0);
|
|
343
|
-
__decorate([
|
|
344
|
-
(0, class_transformer_1.Expose)(),
|
|
345
|
-
__metadata("design:type", Object)
|
|
346
|
-
], AgregatorQuestroomRO.prototype, "outdoorRoute", void 0);
|
package/dist/city/city.ro.d.ts
CHANGED
|
@@ -13,8 +13,6 @@ export declare class UpdateCityDto {
|
|
|
13
13
|
isAgglomeration?: boolean;
|
|
14
14
|
/** В городе есть метро. Управляет fetch-ом Places API для локаций. */
|
|
15
15
|
hasSubway?: boolean;
|
|
16
|
-
/** Город доступен в Routale Player (стартовый каталог и поиск). */
|
|
17
|
-
readyForRoutell?: boolean;
|
|
18
16
|
/**
|
|
19
17
|
* Город-родитель в агломерации. `null` снимает привязку.
|
|
20
18
|
* Положительное число — id центра в той же стране (валидируется на бэке).
|
|
@@ -53,12 +53,6 @@ __decorate([
|
|
|
53
53
|
(0, class_transformer_1.Expose)(),
|
|
54
54
|
__metadata("design:type", Boolean)
|
|
55
55
|
], UpdateCityDto.prototype, "hasSubway", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, class_validator_1.IsOptional)(),
|
|
58
|
-
(0, class_validator_1.IsBoolean)(),
|
|
59
|
-
(0, class_transformer_1.Expose)(),
|
|
60
|
-
__metadata("design:type", Boolean)
|
|
61
|
-
], UpdateCityDto.prototype, "readyForRoutell", void 0);
|
|
62
56
|
__decorate([
|
|
63
57
|
(0, class_validator_1.IsOptional)(),
|
|
64
58
|
(0, class_validator_1.IsInt)(),
|
|
@@ -6,4 +6,9 @@ export declare class GoogleCalendarRO extends RO {
|
|
|
6
6
|
allLocations: boolean;
|
|
7
7
|
locationIds: number[];
|
|
8
8
|
colors: OpenapiTariffRO;
|
|
9
|
+
/**
|
|
10
|
+
* Не null — Google отозвал доступ, синхронизация календаря стоит.
|
|
11
|
+
* Лечится только повторной авторизацией владельцем.
|
|
12
|
+
*/
|
|
13
|
+
disconnectedAt: Date | null;
|
|
9
14
|
}
|
|
@@ -36,3 +36,7 @@ __decorate([
|
|
|
36
36
|
(0, class_transformer_1.Expose)(),
|
|
37
37
|
__metadata("design:type", openapi_tariff_ro_1.OpenapiTariffRO)
|
|
38
38
|
], GoogleCalendarRO.prototype, "colors", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", Date)
|
|
42
|
+
], GoogleCalendarRO.prototype, "disconnectedAt", void 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OpenapiBokingRuleRO } from '../shared/openapi-booking-rule.ro';
|
|
2
2
|
import { OpenapiSlotTariffRO } from './openapi-slot-tariff.ro';
|
|
3
|
-
export type SlotType = 'bookeo' | 'crm' | 'myerp' | 'kvestadmin';
|
|
3
|
+
export type SlotType = 'bookeo' | 'crm' | 'myerp' | 'kvestadmin' | 'partner';
|
|
4
4
|
export declare class OpenapiSlotRO {
|
|
5
5
|
type: SlotType;
|
|
6
6
|
questroomId: number;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Двухфазный импорт игр из CSV/Excel: upload → превью (маппинг колонок,
|
|
3
|
+
* матчинг квестов, статусы строк) → commit. Один файл может содержать
|
|
4
|
+
* брони по разным квестам — квест матчится по названию из колонки.
|
|
5
|
+
*/
|
|
6
|
+
export type OrderImportField = 'questTitle' | 'date' | 'time' | 'name' | 'surname' | 'fullName' | 'email' | 'phone' | 'players' | 'total' | 'payed' | 'source';
|
|
7
|
+
/** Порядок дня/месяца в датах файла. auto — эвристика по всей колонке. */
|
|
8
|
+
export type OrderImportDateOrder = 'auto' | 'DMY' | 'MDY';
|
|
9
|
+
/** Маппинг «поле системы → индекс колонки файла». */
|
|
10
|
+
export type OrderImportColumnMapping = Partial<Record<OrderImportField, number>>;
|
|
11
|
+
export type OrderImportColumnRO = {
|
|
12
|
+
index: number;
|
|
13
|
+
header: string;
|
|
14
|
+
/** Распознанное поле (null — колонка не используется). */
|
|
15
|
+
field: OrderImportField | null;
|
|
16
|
+
/** Первые непустые значения колонки для превью. */
|
|
17
|
+
samples: string[];
|
|
18
|
+
};
|
|
19
|
+
export type OrderImportQuestMatchConfidence = 'exact' | 'fuzzy' | 'ai' | 'manual';
|
|
20
|
+
export type OrderImportQuestMatchRO = {
|
|
21
|
+
/** Название квеста как в файле (оригинал, до нормализации). */
|
|
22
|
+
title: string;
|
|
23
|
+
/** Сколько строк файла ссылаются на это название. */
|
|
24
|
+
rowsCount: number;
|
|
25
|
+
questroomId: number | null;
|
|
26
|
+
confidence: OrderImportQuestMatchConfidence | null;
|
|
27
|
+
};
|
|
28
|
+
export type OrderImportRowStatus = 'ok' | 'warning' | 'error' | 'duplicate';
|
|
29
|
+
export type OrderImportRowProblem =
|
|
30
|
+
/** Ошибки — строка не будет импортирована */
|
|
31
|
+
'QUEST_NOT_MATCHED' | 'DATE_INVALID' | 'SLOT_NOT_FOUND' | 'SLOT_BUSY'
|
|
32
|
+
/** Предупреждения — строка импортируется, но стоит проверить */
|
|
33
|
+
| 'NO_CONTACTS' | 'NO_TIME' | 'NO_PLAYERS' | 'PRICE_MISMATCH' | 'TECHNICAL_SLOT'
|
|
34
|
+
/** Дубликат уже существующего заказа — будет пропущен */
|
|
35
|
+
| 'ALREADY_IMPORTED';
|
|
36
|
+
export type OrderImportRowRO = {
|
|
37
|
+
/** Индекс строки в файле (0 — первая строка данных). */
|
|
38
|
+
index: number;
|
|
39
|
+
status: OrderImportRowStatus;
|
|
40
|
+
problems: OrderImportRowProblem[];
|
|
41
|
+
isPast: boolean;
|
|
42
|
+
questTitle: string;
|
|
43
|
+
questroomId: number | null;
|
|
44
|
+
/** Wall-clock даты в таймзоне локации. */
|
|
45
|
+
date: string | null;
|
|
46
|
+
time: string | null;
|
|
47
|
+
clientLabel: string;
|
|
48
|
+
email: string | null;
|
|
49
|
+
phone: string | null;
|
|
50
|
+
players: number | null;
|
|
51
|
+
/** В центах. */
|
|
52
|
+
total: number | null;
|
|
53
|
+
payed: number | null;
|
|
54
|
+
};
|
|
55
|
+
export type OrderImportSummaryRO = {
|
|
56
|
+
total: number;
|
|
57
|
+
ok: number;
|
|
58
|
+
warnings: number;
|
|
59
|
+
errors: number;
|
|
60
|
+
duplicates: number;
|
|
61
|
+
past: number;
|
|
62
|
+
future: number;
|
|
63
|
+
newClients: number;
|
|
64
|
+
matchedClients: number;
|
|
65
|
+
};
|
|
66
|
+
export type OrderImportSessionStatus = 'draft' | 'committing' | 'committed';
|
|
67
|
+
export type OrderImportSessionRO = {
|
|
68
|
+
id: number;
|
|
69
|
+
status: OrderImportSessionStatus;
|
|
70
|
+
fileName: string;
|
|
71
|
+
dateOrder: OrderImportDateOrder;
|
|
72
|
+
/** Какой порядок дат реально применён после эвристики. */
|
|
73
|
+
resolvedDateOrder: 'DMY' | 'MDY';
|
|
74
|
+
columns: OrderImportColumnRO[];
|
|
75
|
+
mapping: OrderImportColumnMapping;
|
|
76
|
+
questMatches: OrderImportQuestMatchRO[];
|
|
77
|
+
rows: OrderImportRowRO[];
|
|
78
|
+
summary: OrderImportSummaryRO;
|
|
79
|
+
};
|
|
80
|
+
export type UpdateOrderImportDto = {
|
|
81
|
+
mapping?: OrderImportColumnMapping;
|
|
82
|
+
dateOrder?: OrderImportDateOrder;
|
|
83
|
+
/** Ручные метчи: «название из файла → questroomId» (null — сбросить). */
|
|
84
|
+
questOverrides?: Record<string, number | null>;
|
|
85
|
+
};
|
|
86
|
+
export type CommitOrderImportRO = {
|
|
87
|
+
createdOrders: number;
|
|
88
|
+
createdClients: number;
|
|
89
|
+
createdSlots: number;
|
|
90
|
+
skippedRows: number;
|
|
91
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Двухфазный импорт игр из CSV/Excel: upload → превью (маппинг колонок,
|
|
4
|
+
* матчинг квестов, статусы строк) → commit. Один файл может содержать
|
|
5
|
+
* брони по разным квестам — квест матчится по названию из колонки.
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -6,5 +6,7 @@ var ProfileIntegrationTypeEnum;
|
|
|
6
6
|
ProfileIntegrationTypeEnum["BOOKEO"] = "bookeo";
|
|
7
7
|
ProfileIntegrationTypeEnum["MYERP"] = "myerp";
|
|
8
8
|
ProfileIntegrationTypeEnum["KVESTADMIN"] = "kvestadmin";
|
|
9
|
+
/** Partner Booking API (зеркальный Morty-стандарт): расписание тянем из внешней системы. */
|
|
10
|
+
ProfileIntegrationTypeEnum["PARTNER"] = "partner";
|
|
9
11
|
ProfileIntegrationTypeEnum["NONE"] = "none";
|
|
10
12
|
})(ProfileIntegrationTypeEnum || (exports.ProfileIntegrationTypeEnum = ProfileIntegrationTypeEnum = {}));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EmailScope } from '../../email-builder';
|
|
2
2
|
import { Languages } from '../../shared/enum/languages.enum';
|
|
3
|
+
import { MarketingAutomationTypeEnum } from '../marketing-automation/marketing-automation-type.enum';
|
|
3
4
|
import { EmailContentJsonV2Dto } from './create-profile-marketing-email-campaign.dto';
|
|
4
5
|
import { PreviewPromocodeDto } from './preview-campaign-v2.dto';
|
|
5
6
|
/**
|
|
@@ -53,4 +54,13 @@ export declare class TestSendMarketingEmailV2Dto {
|
|
|
53
54
|
* (срок действия) из настроек скидки рассылки, а не общий образец.
|
|
54
55
|
*/
|
|
55
56
|
previewPromocode?: PreviewPromocodeDto;
|
|
57
|
+
/**
|
|
58
|
+
* Тип автоматизации, из карточки которой шлётся тест. Нужен, чтобы
|
|
59
|
+
* тестовое письмо получило тот же футер, что и боевое: один scope
|
|
60
|
+
* `order-post-game` обслуживает и маркетинговый `retargeting`
|
|
61
|
+
* (видимая отписка), и транзакционные cross-sale/up-sale/
|
|
62
|
+
* early-booking (причинная строка без отписки) — по scope'у их не
|
|
63
|
+
* различить. Не передан (тест из превью/кампании) → решаем по scope.
|
|
64
|
+
*/
|
|
65
|
+
automationType?: MarketingAutomationTypeEnum;
|
|
56
66
|
}
|
|
@@ -14,6 +14,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const email_builder_1 = require("../../email-builder");
|
|
16
16
|
const languages_enum_1 = require("../../shared/enum/languages.enum");
|
|
17
|
+
const marketing_automation_type_enum_1 = require("../marketing-automation/marketing-automation-type.enum");
|
|
17
18
|
const create_profile_marketing_email_campaign_dto_1 = require("./create-profile-marketing-email-campaign.dto");
|
|
18
19
|
const preview_campaign_v2_dto_1 = require("./preview-campaign-v2.dto");
|
|
19
20
|
/**
|
|
@@ -83,3 +84,9 @@ __decorate([
|
|
|
83
84
|
(0, class_transformer_1.Expose)(),
|
|
84
85
|
__metadata("design:type", preview_campaign_v2_dto_1.PreviewPromocodeDto)
|
|
85
86
|
], TestSendMarketingEmailV2Dto.prototype, "previewPromocode", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_validator_1.IsOptional)(),
|
|
89
|
+
(0, class_validator_1.IsEnum)(marketing_automation_type_enum_1.MarketingAutomationTypeEnum),
|
|
90
|
+
(0, class_transformer_1.Expose)(),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], TestSendMarketingEmailV2Dto.prototype, "automationType", void 0);
|
|
@@ -9,28 +9,26 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.SendClientEmailDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const is_not_blank_1 = require("
|
|
16
|
-
class
|
|
15
|
+
const is_not_blank_1 = require("../../../shared/is-not-blank");
|
|
16
|
+
class SendClientEmailDto {
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
18
|
+
exports.SendClientEmailDto = SendClientEmailDto;
|
|
19
19
|
__decorate([
|
|
20
|
-
(0, class_validator_1.IsInt)(),
|
|
21
|
-
(0, class_validator_1.Min)(50),
|
|
22
|
-
(0, class_validator_1.Max)(5000),
|
|
23
20
|
(0, class_transformer_1.Expose)(),
|
|
24
|
-
__metadata("design:type", Number)
|
|
25
|
-
], CreatePortalMaterialOrderDto.prototype, "quantity", void 0);
|
|
26
|
-
__decorate([
|
|
27
21
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
22
|
__metadata("design:type", String)
|
|
30
|
-
],
|
|
23
|
+
], SendClientEmailDto.prototype, "text", void 0);
|
|
31
24
|
__decorate([
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
25
|
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
35
27
|
__metadata("design:type", String)
|
|
36
|
-
],
|
|
28
|
+
], SendClientEmailDto.prototype, "subject", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_validator_1.IsNumber)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], SendClientEmailDto.prototype, "orderId", void 0);
|
package/dist/{city-quest/import-city-quest.dto.js → profile/profile-sms/dto/send-client-sms.dto.js}
RENAMED
|
@@ -9,20 +9,21 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.SendClientSmsDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
|
|
15
|
+
const is_not_blank_1 = require("../../../shared/is-not-blank");
|
|
16
|
+
class SendClientSmsDto {
|
|
16
17
|
}
|
|
17
|
-
exports.
|
|
18
|
+
exports.SendClientSmsDto = SendClientSmsDto;
|
|
18
19
|
__decorate([
|
|
19
|
-
(0, class_validator_1.IsObject)(),
|
|
20
20
|
(0, class_transformer_1.Expose)(),
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], SendClientSmsDto.prototype, "text", void 0);
|
|
23
24
|
__decorate([
|
|
24
|
-
(0, class_validator_1.IsOptional)(),
|
|
25
|
-
(0, class_validator_1.IsString)(),
|
|
26
25
|
(0, class_transformer_1.Expose)(),
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsNumber)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], SendClientSmsDto.prototype, "orderId", void 0);
|