@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,173 +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.CreatePartnerAttractionDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const attraction_category_enum_1 = require("../city-attraction/enum/attraction-category.enum");
|
|
16
|
-
const attraction_fame_enum_1 = require("../city-attraction/enum/attraction-fame.enum");
|
|
17
|
-
const attraction_indoor_outdoor_enum_1 = require("../city-attraction/enum/attraction-indoor-outdoor.enum");
|
|
18
|
-
const attraction_route_role_enum_1 = require("../city-attraction/enum/attraction-route-role.enum");
|
|
19
|
-
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
20
|
-
/**
|
|
21
|
-
* Partner-facing create payload. cityId/country come from the story;
|
|
22
|
-
* reviewStatus is forced to needReview server-side.
|
|
23
|
-
*/
|
|
24
|
-
class CreatePartnerAttractionDto {
|
|
25
|
-
}
|
|
26
|
-
exports.CreatePartnerAttractionDto = CreatePartnerAttractionDto;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
29
|
-
(0, class_transformer_1.Expose)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], CreatePartnerAttractionDto.prototype, "title", 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
|
-
], CreatePartnerAttractionDto.prototype, "description", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
(0, class_validator_1.IsString)(),
|
|
41
|
-
(0, class_transformer_1.Expose)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], CreatePartnerAttractionDto.prototype, "knownFor", 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
|
-
], CreatePartnerAttractionDto.prototype, "knownForRu", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, class_validator_1.IsEnum)(attraction_category_enum_1.AttractionCategoryEnum),
|
|
52
|
-
(0, class_transformer_1.Expose)(),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], CreatePartnerAttractionDto.prototype, "category", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, class_validator_1.IsEnum)(attraction_fame_enum_1.AttractionFameEnum),
|
|
57
|
-
(0, class_transformer_1.Expose)(),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], CreatePartnerAttractionDto.prototype, "fame", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
62
|
-
(0, class_validator_1.IsInt)(),
|
|
63
|
-
(0, class_transformer_1.Expose)(),
|
|
64
|
-
__metadata("design:type", Number)
|
|
65
|
-
], CreatePartnerAttractionDto.prototype, "cityId", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, class_validator_1.IsOptional)(),
|
|
68
|
-
(0, class_validator_1.IsString)(),
|
|
69
|
-
(0, class_transformer_1.Expose)(),
|
|
70
|
-
__metadata("design:type", String)
|
|
71
|
-
], CreatePartnerAttractionDto.prototype, "address", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, class_validator_1.IsOptional)(),
|
|
74
|
-
(0, class_validator_1.IsString)(),
|
|
75
|
-
(0, class_transformer_1.Expose)(),
|
|
76
|
-
__metadata("design:type", String)
|
|
77
|
-
], CreatePartnerAttractionDto.prototype, "district", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
80
|
-
(0, class_validator_1.IsNumber)(),
|
|
81
|
-
(0, class_transformer_1.Expose)(),
|
|
82
|
-
__metadata("design:type", Number)
|
|
83
|
-
], CreatePartnerAttractionDto.prototype, "lat", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
86
|
-
(0, class_validator_1.IsNumber)(),
|
|
87
|
-
(0, class_transformer_1.Expose)(),
|
|
88
|
-
__metadata("design:type", Number)
|
|
89
|
-
], CreatePartnerAttractionDto.prototype, "lng", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, class_validator_1.IsOptional)(),
|
|
92
|
-
(0, class_validator_1.IsArray)(),
|
|
93
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
94
|
-
(0, class_transformer_1.Expose)(),
|
|
95
|
-
__metadata("design:type", Array)
|
|
96
|
-
], CreatePartnerAttractionDto.prototype, "photos", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, class_validator_1.IsOptional)(),
|
|
99
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
100
|
-
(0, class_validator_1.IsInt)(),
|
|
101
|
-
(0, class_validator_1.Min)(0),
|
|
102
|
-
(0, class_transformer_1.Expose)(),
|
|
103
|
-
__metadata("design:type", Number)
|
|
104
|
-
], CreatePartnerAttractionDto.prototype, "coverPhotoIndex", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, class_validator_1.IsOptional)(),
|
|
107
|
-
(0, class_validator_1.IsArray)(),
|
|
108
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
109
|
-
(0, class_transformer_1.Expose)(),
|
|
110
|
-
__metadata("design:type", Array)
|
|
111
|
-
], CreatePartnerAttractionDto.prototype, "tags", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
(0, class_validator_1.IsOptional)(),
|
|
114
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
115
|
-
(0, class_validator_1.IsInt)(),
|
|
116
|
-
(0, class_validator_1.Min)(1),
|
|
117
|
-
(0, class_validator_1.Max)(10),
|
|
118
|
-
(0, class_transformer_1.Expose)(),
|
|
119
|
-
__metadata("design:type", Number)
|
|
120
|
-
], CreatePartnerAttractionDto.prototype, "mustSeeScore", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
(0, class_validator_1.IsOptional)(),
|
|
123
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
124
|
-
(0, class_validator_1.IsInt)(),
|
|
125
|
-
(0, class_validator_1.Min)(1),
|
|
126
|
-
(0, class_validator_1.Max)(10),
|
|
127
|
-
(0, class_transformer_1.Expose)(),
|
|
128
|
-
__metadata("design:type", Number)
|
|
129
|
-
], CreatePartnerAttractionDto.prototype, "wowScore", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
(0, class_validator_1.IsOptional)(),
|
|
132
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
133
|
-
(0, class_validator_1.IsInt)(),
|
|
134
|
-
(0, class_validator_1.Min)(1),
|
|
135
|
-
(0, class_validator_1.Max)(10),
|
|
136
|
-
(0, class_transformer_1.Expose)(),
|
|
137
|
-
__metadata("design:type", Number)
|
|
138
|
-
], CreatePartnerAttractionDto.prototype, "touristCrowdScore", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
(0, class_validator_1.IsOptional)(),
|
|
141
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
142
|
-
(0, class_validator_1.IsInt)(),
|
|
143
|
-
(0, class_validator_1.Min)(1),
|
|
144
|
-
(0, class_validator_1.Max)(10),
|
|
145
|
-
(0, class_transformer_1.Expose)(),
|
|
146
|
-
__metadata("design:type", Number)
|
|
147
|
-
], CreatePartnerAttractionDto.prototype, "localExperienceScore", void 0);
|
|
148
|
-
__decorate([
|
|
149
|
-
(0, class_validator_1.IsOptional)(),
|
|
150
|
-
(0, class_validator_1.IsEnum)(attraction_route_role_enum_1.AttractionRouteRoleEnum),
|
|
151
|
-
(0, class_transformer_1.Expose)(),
|
|
152
|
-
__metadata("design:type", String)
|
|
153
|
-
], CreatePartnerAttractionDto.prototype, "routeRole", void 0);
|
|
154
|
-
__decorate([
|
|
155
|
-
(0, class_validator_1.IsOptional)(),
|
|
156
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
157
|
-
(0, class_validator_1.IsInt)(),
|
|
158
|
-
(0, class_validator_1.Min)(1),
|
|
159
|
-
(0, class_validator_1.Max)(100),
|
|
160
|
-
(0, class_transformer_1.Expose)(),
|
|
161
|
-
__metadata("design:type", Number)
|
|
162
|
-
], CreatePartnerAttractionDto.prototype, "routePriority", void 0);
|
|
163
|
-
__decorate([
|
|
164
|
-
(0, class_validator_1.IsOptional)(),
|
|
165
|
-
(0, class_validator_1.IsEnum)(attraction_indoor_outdoor_enum_1.AttractionIndoorOutdoorEnum),
|
|
166
|
-
(0, class_transformer_1.Expose)(),
|
|
167
|
-
__metadata("design:type", String)
|
|
168
|
-
], CreatePartnerAttractionDto.prototype, "indoorOutdoor", void 0);
|
|
169
|
-
__decorate([
|
|
170
|
-
(0, class_validator_1.IsOptional)(),
|
|
171
|
-
(0, class_transformer_1.Expose)(),
|
|
172
|
-
__metadata("design:type", Object)
|
|
173
|
-
], CreatePartnerAttractionDto.prototype, "routeMeta", void 0);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PortalMaterialOrderStatusEnum = void 0;
|
|
4
|
-
var PortalMaterialOrderStatusEnum;
|
|
5
|
-
(function (PortalMaterialOrderStatusEnum) {
|
|
6
|
-
PortalMaterialOrderStatusEnum["NEW"] = "new";
|
|
7
|
-
PortalMaterialOrderStatusEnum["PROCESSING"] = "processing";
|
|
8
|
-
PortalMaterialOrderStatusEnum["SHIPPED"] = "shipped";
|
|
9
|
-
PortalMaterialOrderStatusEnum["DONE"] = "done";
|
|
10
|
-
PortalMaterialOrderStatusEnum["CANCELED"] = "canceled";
|
|
11
|
-
})(PortalMaterialOrderStatusEnum || (exports.PortalMaterialOrderStatusEnum = PortalMaterialOrderStatusEnum = {}));
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PortalPartnerTypeEnum = void 0;
|
|
4
|
-
var PortalPartnerTypeEnum;
|
|
5
|
-
(function (PortalPartnerTypeEnum) {
|
|
6
|
-
/** Scenario author — writes stories, earns % of sales of produced games. */
|
|
7
|
-
PortalPartnerTypeEnum["AUTHOR"] = "author";
|
|
8
|
-
/** Venue (hostel / hotel / cafe) — distributes QR materials, earns % of attributed sales. */
|
|
9
|
-
PortalPartnerTypeEnum["VENUE"] = "venue";
|
|
10
|
-
})(PortalPartnerTypeEnum || (exports.PortalPartnerTypeEnum = PortalPartnerTypeEnum = {}));
|
|
@@ -1,28 +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.LoginPortalPartnerDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class LoginPortalPartnerDto {
|
|
16
|
-
}
|
|
17
|
-
exports.LoginPortalPartnerDto = LoginPortalPartnerDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsEmail)(),
|
|
20
|
-
(0, class_transformer_1.Expose)(),
|
|
21
|
-
(0, class_transformer_1.Transform)(({ value }) => value === null || value === void 0 ? void 0 : value.trim().toLowerCase()),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], LoginPortalPartnerDto.prototype, "email", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
-
(0, class_transformer_1.Expose)(),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], LoginPortalPartnerDto.prototype, "password", void 0);
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
/** Partner-friendly stop shape; mapped server-side into CityQuestStop. */
|
|
3
|
-
export declare class PartnerCityQuestStopDto {
|
|
4
|
-
id?: string;
|
|
5
|
-
order: number;
|
|
6
|
-
attractionId: number;
|
|
7
|
-
/** In-game / chapter label (prefilled from attraction). */
|
|
8
|
-
title: string;
|
|
9
|
-
storyBefore?: string;
|
|
10
|
-
storyAfter?: string;
|
|
11
|
-
fromPrevious?: string;
|
|
12
|
-
walkMicroTask?: string;
|
|
13
|
-
arrivalInstruction?: string;
|
|
14
|
-
riddle?: string;
|
|
15
|
-
answer?: string;
|
|
16
|
-
hint?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare class CreatePartnerCityQuestDto {
|
|
19
|
-
cityId: number;
|
|
20
|
-
title: string;
|
|
21
|
-
tagline?: string | null;
|
|
22
|
-
language: Languages;
|
|
23
|
-
stops?: PartnerCityQuestStopDto[];
|
|
24
|
-
}
|
|
25
|
-
export declare class UpdatePartnerCityQuestDto {
|
|
26
|
-
title?: string;
|
|
27
|
-
tagline?: string | null;
|
|
28
|
-
language?: Languages;
|
|
29
|
-
cityId?: number;
|
|
30
|
-
stops?: PartnerCityQuestStopDto[];
|
|
31
|
-
}
|
|
@@ -1,160 +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.UpdatePartnerCityQuestDto = exports.CreatePartnerCityQuestDto = exports.PartnerCityQuestStopDto = 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
|
-
/** Partner-friendly stop shape; mapped server-side into CityQuestStop. */
|
|
18
|
-
class PartnerCityQuestStopDto {
|
|
19
|
-
}
|
|
20
|
-
exports.PartnerCityQuestStopDto = PartnerCityQuestStopDto;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsOptional)(),
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
(0, class_transformer_1.Expose)(),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], PartnerCityQuestStopDto.prototype, "id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
29
|
-
(0, class_validator_1.IsInt)(),
|
|
30
|
-
(0, class_transformer_1.Expose)(),
|
|
31
|
-
__metadata("design:type", Number)
|
|
32
|
-
], PartnerCityQuestStopDto.prototype, "order", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
35
|
-
(0, class_validator_1.IsInt)(),
|
|
36
|
-
(0, class_transformer_1.Expose)(),
|
|
37
|
-
__metadata("design:type", Number)
|
|
38
|
-
], PartnerCityQuestStopDto.prototype, "attractionId", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
41
|
-
(0, class_transformer_1.Expose)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], PartnerCityQuestStopDto.prototype, "title", 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
|
-
], PartnerCityQuestStopDto.prototype, "storyBefore", 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
|
-
], PartnerCityQuestStopDto.prototype, "storyAfter", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, class_validator_1.IsOptional)(),
|
|
58
|
-
(0, class_validator_1.IsString)(),
|
|
59
|
-
(0, class_transformer_1.Expose)(),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], PartnerCityQuestStopDto.prototype, "fromPrevious", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, class_validator_1.IsOptional)(),
|
|
64
|
-
(0, class_validator_1.IsString)(),
|
|
65
|
-
(0, class_transformer_1.Expose)(),
|
|
66
|
-
__metadata("design:type", String)
|
|
67
|
-
], PartnerCityQuestStopDto.prototype, "walkMicroTask", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, class_validator_1.IsOptional)(),
|
|
70
|
-
(0, class_validator_1.IsString)(),
|
|
71
|
-
(0, class_transformer_1.Expose)(),
|
|
72
|
-
__metadata("design:type", String)
|
|
73
|
-
], PartnerCityQuestStopDto.prototype, "arrivalInstruction", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, class_validator_1.IsOptional)(),
|
|
76
|
-
(0, class_validator_1.IsString)(),
|
|
77
|
-
(0, class_transformer_1.Expose)(),
|
|
78
|
-
__metadata("design:type", String)
|
|
79
|
-
], PartnerCityQuestStopDto.prototype, "riddle", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
(0, class_validator_1.IsOptional)(),
|
|
82
|
-
(0, class_validator_1.IsString)(),
|
|
83
|
-
(0, class_transformer_1.Expose)(),
|
|
84
|
-
__metadata("design:type", String)
|
|
85
|
-
], PartnerCityQuestStopDto.prototype, "answer", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, class_validator_1.IsOptional)(),
|
|
88
|
-
(0, class_validator_1.IsString)(),
|
|
89
|
-
(0, class_transformer_1.Expose)(),
|
|
90
|
-
__metadata("design:type", String)
|
|
91
|
-
], PartnerCityQuestStopDto.prototype, "hint", void 0);
|
|
92
|
-
class CreatePartnerCityQuestDto {
|
|
93
|
-
}
|
|
94
|
-
exports.CreatePartnerCityQuestDto = CreatePartnerCityQuestDto;
|
|
95
|
-
__decorate([
|
|
96
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
97
|
-
(0, class_validator_1.IsInt)(),
|
|
98
|
-
(0, class_transformer_1.Expose)(),
|
|
99
|
-
__metadata("design:type", Number)
|
|
100
|
-
], CreatePartnerCityQuestDto.prototype, "cityId", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
103
|
-
(0, class_transformer_1.Expose)(),
|
|
104
|
-
__metadata("design:type", String)
|
|
105
|
-
], CreatePartnerCityQuestDto.prototype, "title", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, class_validator_1.IsOptional)(),
|
|
108
|
-
(0, class_validator_1.IsString)(),
|
|
109
|
-
(0, class_transformer_1.Expose)(),
|
|
110
|
-
__metadata("design:type", String)
|
|
111
|
-
], CreatePartnerCityQuestDto.prototype, "tagline", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
114
|
-
(0, class_transformer_1.Expose)(),
|
|
115
|
-
__metadata("design:type", String)
|
|
116
|
-
], CreatePartnerCityQuestDto.prototype, "language", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, class_validator_1.IsOptional)(),
|
|
119
|
-
(0, class_validator_1.IsArray)(),
|
|
120
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
121
|
-
(0, class_transformer_1.Type)(() => PartnerCityQuestStopDto),
|
|
122
|
-
(0, class_transformer_1.Expose)(),
|
|
123
|
-
__metadata("design:type", Array)
|
|
124
|
-
], CreatePartnerCityQuestDto.prototype, "stops", void 0);
|
|
125
|
-
class UpdatePartnerCityQuestDto {
|
|
126
|
-
}
|
|
127
|
-
exports.UpdatePartnerCityQuestDto = UpdatePartnerCityQuestDto;
|
|
128
|
-
__decorate([
|
|
129
|
-
(0, class_validator_1.IsOptional)(),
|
|
130
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
131
|
-
(0, class_transformer_1.Expose)(),
|
|
132
|
-
__metadata("design:type", String)
|
|
133
|
-
], UpdatePartnerCityQuestDto.prototype, "title", void 0);
|
|
134
|
-
__decorate([
|
|
135
|
-
(0, class_validator_1.IsOptional)(),
|
|
136
|
-
(0, class_validator_1.IsString)(),
|
|
137
|
-
(0, class_transformer_1.Expose)(),
|
|
138
|
-
__metadata("design:type", String)
|
|
139
|
-
], UpdatePartnerCityQuestDto.prototype, "tagline", void 0);
|
|
140
|
-
__decorate([
|
|
141
|
-
(0, class_validator_1.IsOptional)(),
|
|
142
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
143
|
-
(0, class_transformer_1.Expose)(),
|
|
144
|
-
__metadata("design:type", String)
|
|
145
|
-
], UpdatePartnerCityQuestDto.prototype, "language", void 0);
|
|
146
|
-
__decorate([
|
|
147
|
-
(0, class_validator_1.IsOptional)(),
|
|
148
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
149
|
-
(0, class_validator_1.IsInt)(),
|
|
150
|
-
(0, class_transformer_1.Expose)(),
|
|
151
|
-
__metadata("design:type", Number)
|
|
152
|
-
], UpdatePartnerCityQuestDto.prototype, "cityId", void 0);
|
|
153
|
-
__decorate([
|
|
154
|
-
(0, class_validator_1.IsOptional)(),
|
|
155
|
-
(0, class_validator_1.IsArray)(),
|
|
156
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
157
|
-
(0, class_transformer_1.Type)(() => PartnerCityQuestStopDto),
|
|
158
|
-
(0, class_transformer_1.Expose)(),
|
|
159
|
-
__metadata("design:type", Array)
|
|
160
|
-
], UpdatePartnerCityQuestDto.prototype, "stops", void 0);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CityQuestRO } from '../city-quest/city-quest.ro';
|
|
2
|
-
import { CityQuestContent } from '../city-quest/city-quest-content';
|
|
3
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
4
|
-
import { PartnerCityQuestStopDto } from './partner-city-quest.dto';
|
|
5
|
-
/** Partner editor view: quest meta + friendly stops (+ raw content for advanced). */
|
|
6
|
-
export type PartnerCityQuestRO = CityQuestRO & {
|
|
7
|
-
language: Languages;
|
|
8
|
-
tagline: string | null;
|
|
9
|
-
content: CityQuestContent | null;
|
|
10
|
-
stops: PartnerCityQuestStopDto[];
|
|
11
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PortalMaterialOrderStatusEnum } from './enum/portal-material-order-status.enum';
|
|
2
|
-
export type PortalMaterialOrderRO = {
|
|
3
|
-
id: number;
|
|
4
|
-
createdAt: Date;
|
|
5
|
-
updatedAt: Date;
|
|
6
|
-
partnerId: number;
|
|
7
|
-
quantity: number;
|
|
8
|
-
address: string;
|
|
9
|
-
comment?: string;
|
|
10
|
-
status: PortalMaterialOrderStatusEnum;
|
|
11
|
-
/** Carrier / tracking number, filled by admin on shipping. */
|
|
12
|
-
trackingInfo?: string;
|
|
13
|
-
};
|
|
@@ -1,24 +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.PortalPartnerEmailDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
/** Used by resend-code and password recovery endpoints. */
|
|
16
|
-
class PortalPartnerEmailDto {
|
|
17
|
-
}
|
|
18
|
-
exports.PortalPartnerEmailDto = PortalPartnerEmailDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsEmail)(),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
(0, class_transformer_1.Transform)(({ value }) => value === null || value === void 0 ? void 0 : value.trim().toLowerCase()),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], PortalPartnerEmailDto.prototype, "email", void 0);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
|
-
import { PortalPartnerTypeEnum } from './enum/portal-partner-type.enum';
|
|
3
|
-
export type PortalPartnerRO = {
|
|
4
|
-
id: number;
|
|
5
|
-
createdAt: Date;
|
|
6
|
-
type: PortalPartnerTypeEnum;
|
|
7
|
-
name: string;
|
|
8
|
-
email: string;
|
|
9
|
-
/** Venue only. */
|
|
10
|
-
companyName?: string;
|
|
11
|
-
/** Venue only. */
|
|
12
|
-
cityId?: number;
|
|
13
|
-
/** Venue only, denormalized for display. */
|
|
14
|
-
cityTitle?: string;
|
|
15
|
-
cityCountry?: CountriesEnum;
|
|
16
|
-
/**
|
|
17
|
-
* Venue only: personal promo code printed on marketing materials.
|
|
18
|
-
* Sales are attributed to the venue when this code is applied to an order.
|
|
19
|
-
*/
|
|
20
|
-
promocode?: string;
|
|
21
|
-
/** Commission % of gross sales, set by admin. 0 = not negotiated yet. */
|
|
22
|
-
commissionPercent: number;
|
|
23
|
-
emailVerified: boolean;
|
|
24
|
-
blocked: boolean;
|
|
25
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* One month of partner earnings. Commission is computed on the fly:
|
|
3
|
-
* gross sales of attributed paid orders × partner's commissionPercent.
|
|
4
|
-
* Sums are in minor units (cents) per currency.
|
|
5
|
-
*/
|
|
6
|
-
export type PortalMonthlyStatsRO = {
|
|
7
|
-
/** First day of the month, ISO date (yyyy-MM-01). */
|
|
8
|
-
month: string;
|
|
9
|
-
/** Games granted/played in this month. */
|
|
10
|
-
games: number;
|
|
11
|
-
/** Gross sales in minor units, grouped by currency code. */
|
|
12
|
-
sales: Record<string, number>;
|
|
13
|
-
/** Commission in minor units, grouped by currency code. */
|
|
14
|
-
commission: Record<string, number>;
|
|
15
|
-
};
|
|
16
|
-
export type PortalQuestStatsRO = {
|
|
17
|
-
questId: number;
|
|
18
|
-
questTitle: string;
|
|
19
|
-
/** Total games granted for the quest. */
|
|
20
|
-
games: number;
|
|
21
|
-
/** Gross sales in minor units by currency. */
|
|
22
|
-
sales: Record<string, number>;
|
|
23
|
-
/** Commission in minor units by currency. */
|
|
24
|
-
commission: Record<string, number>;
|
|
25
|
-
};
|
|
26
|
-
export type PortalPartnerStatsRO = {
|
|
27
|
-
commissionPercent: number;
|
|
28
|
-
/** Venue only: total QR scans. */
|
|
29
|
-
qrScans?: number;
|
|
30
|
-
/** Totals for the whole partnership. */
|
|
31
|
-
totalGames: number;
|
|
32
|
-
totalSales: Record<string, number>;
|
|
33
|
-
totalCommission: Record<string, number>;
|
|
34
|
-
/** Last 12 months, oldest first. */
|
|
35
|
-
monthly: PortalMonthlyStatsRO[];
|
|
36
|
-
/** Author only: per-quest breakdown. */
|
|
37
|
-
quests?: PortalQuestStatsRO[];
|
|
38
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PortalPartnerTypeEnum } from './enum/portal-partner-type.enum';
|
|
2
|
-
export declare class RegisterPortalPartnerDto {
|
|
3
|
-
type: PortalPartnerTypeEnum;
|
|
4
|
-
/** Contact person full name. */
|
|
5
|
-
name: string;
|
|
6
|
-
email: string;
|
|
7
|
-
password: string;
|
|
8
|
-
/** Venue only: hostel / hotel name. */
|
|
9
|
-
companyName?: string;
|
|
10
|
-
/** Venue only: city where the venue is located. */
|
|
11
|
-
cityId?: number;
|
|
12
|
-
}
|