@escapenavigator/types 1.10.57 → 1.10.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agregator/aggregaotr-city-faq.ro.d.ts +9 -0
- package/dist/agregator/aggregaotr-city-faq.ro.js +36 -0
- package/dist/profile/admin-profile.ro.d.ts +2 -0
- package/dist/profile/admin-profile.ro.js +5 -0
- package/dist/profile/create-profile.dto.d.ts +2 -0
- package/dist/profile/create-profile.dto.js +6 -0
- package/dist/profile/enum/profile-loyalty.enum.d.ts +5 -0
- package/dist/profile/enum/profile-loyalty.enum.js +9 -0
- package/dist/shared/enum/tags.enum.d.ts +10 -19
- package/dist/shared/enum/tags.enum.js +17 -22
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,36 @@
|
|
|
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.AggregatorCityFaqRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class CityFaq {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CityFaq.prototype, "title", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CityFaq.prototype, "text", void 0);
|
|
25
|
+
class AggregatorCityFaqRO {
|
|
26
|
+
}
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
(0, class_transformer_1.Type)(() => CityFaq),
|
|
30
|
+
__metadata("design:type", Array)
|
|
31
|
+
], AggregatorCityFaqRO.prototype, "faq", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], AggregatorCityFaqRO.prototype, "seoText", void 0);
|
|
36
|
+
exports.AggregatorCityFaqRO = AggregatorCityFaqRO;
|
|
@@ -3,6 +3,7 @@ import { ProfileActionRO } from './action/profile-action.ro';
|
|
|
3
3
|
import { CrmVerificationEnum } from './enum/crm-verifiaction.enum';
|
|
4
4
|
import { PartnerProgramEnum } from './enum/partner-program.enum';
|
|
5
5
|
import { ProfileIntegrationTypeEnum } from './enum/profile-integration-type.enum';
|
|
6
|
+
import { ProfileLoyaltyEnum } from './enum/profile-loyalty.enum';
|
|
6
7
|
import { ProfileSalesStatus } from './enum/profile-sales-status.enum';
|
|
7
8
|
import { ProfileStatusEnum } from './enum/profile-step.enum';
|
|
8
9
|
import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.enum';
|
|
@@ -17,6 +18,7 @@ declare class History {
|
|
|
17
18
|
}
|
|
18
19
|
export declare class AdminProfileRO {
|
|
19
20
|
history: History[];
|
|
21
|
+
loyalty: ProfileLoyaltyEnum;
|
|
20
22
|
techStatus: ProfileTechStatusEnum;
|
|
21
23
|
salesStatus: ProfileSalesStatus;
|
|
22
24
|
bookingCommission: number;
|
|
@@ -17,6 +17,7 @@ const profile_action_ro_1 = require("./action/profile-action.ro");
|
|
|
17
17
|
const crm_verifiaction_enum_1 = require("./enum/crm-verifiaction.enum");
|
|
18
18
|
const partner_program_enum_1 = require("./enum/partner-program.enum");
|
|
19
19
|
const profile_integration_type_enum_1 = require("./enum/profile-integration-type.enum");
|
|
20
|
+
const profile_loyalty_enum_1 = require("./enum/profile-loyalty.enum");
|
|
20
21
|
const profile_sales_status_enum_1 = require("./enum/profile-sales-status.enum");
|
|
21
22
|
const profile_step_enum_1 = require("./enum/profile-step.enum");
|
|
22
23
|
const profile_subscription_type_enum_1 = require("./enum/profile-subscription-type.enum");
|
|
@@ -47,6 +48,10 @@ __decorate([
|
|
|
47
48
|
(0, class_transformer_1.Type)(() => History),
|
|
48
49
|
__metadata("design:type", Array)
|
|
49
50
|
], AdminProfileRO.prototype, "history", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], AdminProfileRO.prototype, "loyalty", void 0);
|
|
50
55
|
__decorate([
|
|
51
56
|
(0, class_transformer_1.Expose)(),
|
|
52
57
|
__metadata("design:type", String)
|
|
@@ -2,6 +2,7 @@ import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
|
2
2
|
import { Languages } from '../shared/enum/languages.enum';
|
|
3
3
|
import { CrmVerificationEnum } from './enum/crm-verifiaction.enum';
|
|
4
4
|
import { PartnerProgramEnum } from './enum/partner-program.enum';
|
|
5
|
+
import { ProfileLoyaltyEnum } from './enum/profile-loyalty.enum';
|
|
5
6
|
import { ProfileSalesStatus } from './enum/profile-sales-status.enum';
|
|
6
7
|
import { ProfileStatusEnum } from './enum/profile-step.enum';
|
|
7
8
|
import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
|
|
@@ -24,6 +25,7 @@ export declare class CreateProfileDto {
|
|
|
24
25
|
secondaryEmails: string[];
|
|
25
26
|
tags: ProfileTagEnum[];
|
|
26
27
|
legalTitle: string;
|
|
28
|
+
loyalty: ProfileLoyaltyEnum;
|
|
27
29
|
inn: string;
|
|
28
30
|
instagram?: string;
|
|
29
31
|
facebook?: string;
|
|
@@ -16,6 +16,7 @@ const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
|
16
16
|
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
17
17
|
const crm_verifiaction_enum_1 = require("./enum/crm-verifiaction.enum");
|
|
18
18
|
const partner_program_enum_1 = require("./enum/partner-program.enum");
|
|
19
|
+
const profile_loyalty_enum_1 = require("./enum/profile-loyalty.enum");
|
|
19
20
|
const profile_sales_status_enum_1 = require("./enum/profile-sales-status.enum");
|
|
20
21
|
const profile_step_enum_1 = require("./enum/profile-step.enum");
|
|
21
22
|
const profile_subscription_enum_1 = require("./enum/profile-subscription.enum");
|
|
@@ -106,6 +107,11 @@ __decorate([
|
|
|
106
107
|
(0, class_transformer_1.Expose)(),
|
|
107
108
|
__metadata("design:type", String)
|
|
108
109
|
], CreateProfileDto.prototype, "legalTitle", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
(0, class_transformer_1.Expose)(),
|
|
113
|
+
__metadata("design:type", String)
|
|
114
|
+
], CreateProfileDto.prototype, "loyalty", void 0);
|
|
109
115
|
__decorate([
|
|
110
116
|
(0, class_validator_1.IsOptional)(),
|
|
111
117
|
(0, class_transformer_1.Expose)(),
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProfileLoyaltyEnum = void 0;
|
|
4
|
+
var ProfileLoyaltyEnum;
|
|
5
|
+
(function (ProfileLoyaltyEnum) {
|
|
6
|
+
ProfileLoyaltyEnum["LOW"] = "low";
|
|
7
|
+
ProfileLoyaltyEnum["MEDIUM"] = "medium";
|
|
8
|
+
ProfileLoyaltyEnum["HIGH"] = "high";
|
|
9
|
+
})(ProfileLoyaltyEnum = exports.ProfileLoyaltyEnum || (exports.ProfileLoyaltyEnum = {}));
|
|
@@ -6,41 +6,31 @@ export declare enum TagsEnum {
|
|
|
6
6
|
APOCALYPSE = "apocalypse",
|
|
7
7
|
WIZARDS = "wizards",
|
|
8
8
|
MISTERY = "mistery",
|
|
9
|
+
HORROR = "horror",
|
|
9
10
|
FUTURISTIC = "futuristic",
|
|
10
11
|
ADVENTURE = "adventure",
|
|
11
12
|
RAID = "raid",
|
|
12
|
-
FILMS = "films",
|
|
13
13
|
ZOMBIE = "zombie",
|
|
14
14
|
MANIAC = "maniac",
|
|
15
15
|
MUSEUM = "museum",
|
|
16
|
+
FANTASY = "fantasy",
|
|
17
|
+
FILMS = "films",
|
|
16
18
|
ROLEBASED = "rolebased",
|
|
17
|
-
SUSPENSE = "suspense",
|
|
18
|
-
CLOSEDYEYS = "closedyeyes",
|
|
19
19
|
QUIZ = "quiz",
|
|
20
|
-
HORROR = "horror",
|
|
21
|
-
FANTASY = "fantasy",
|
|
22
20
|
ANTISTRESS = "antistress",
|
|
23
21
|
EROTIC = "erotic",
|
|
24
|
-
IMMERSIVE = "immersive",
|
|
25
|
-
OUTDOR = "outdor",
|
|
26
|
-
INVALID = "invalid",
|
|
27
|
-
ADULTS = "adults",
|
|
28
|
-
PAIR = "pair",
|
|
29
|
-
CORPORATE = "corporate",
|
|
30
22
|
KIDS0 = "kids0",
|
|
31
23
|
KIDS6 = "kids6",
|
|
32
24
|
KIDS10 = "kids10",
|
|
33
25
|
KIDS14 = "kids14",
|
|
26
|
+
FAMILY = "family",
|
|
27
|
+
ADULTS = "adults",
|
|
34
28
|
ADULT18 = "adult18",
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
PERFORMANCE_CONTACT = "performance_contact",
|
|
29
|
+
PAIR = "pair",
|
|
30
|
+
CORPORATE = "corporate",
|
|
38
31
|
DUELMODE = "duelmode",
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
ALLDAY = "allday",
|
|
42
|
-
CHIP = "chip",
|
|
43
|
-
VR = "vr"
|
|
32
|
+
PERFORMANCE_NO_CONTACT = "performance_no_contact",
|
|
33
|
+
INVALID = "invalid"
|
|
44
34
|
}
|
|
45
35
|
export declare enum TechTagsEnum {
|
|
46
36
|
KIDS = "kids",
|
|
@@ -53,6 +43,7 @@ export declare enum TechTagsEnum {
|
|
|
53
43
|
PROFESSIONAL = "professional",
|
|
54
44
|
HORROR = "horror",
|
|
55
45
|
BIGGROUP = "biggroup",
|
|
46
|
+
SMALLGROU = "smallgroup",
|
|
56
47
|
ENGLISH = "english",
|
|
57
48
|
PRIVATE = "private",
|
|
58
49
|
PUBLIC = "public"
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TechTagsEnum = exports.TagsEnum = void 0;
|
|
4
4
|
var TagsEnum;
|
|
5
5
|
(function (TagsEnum) {
|
|
6
|
-
//
|
|
6
|
+
// escape_room_thema
|
|
7
7
|
TagsEnum["CRIME"] = "crime";
|
|
8
8
|
TagsEnum["ANTIENTWORLDS"] = "ancientworlds";
|
|
9
9
|
TagsEnum["HISTORICAL"] = "historical";
|
|
@@ -11,43 +11,37 @@ var TagsEnum;
|
|
|
11
11
|
TagsEnum["APOCALYPSE"] = "apocalypse";
|
|
12
12
|
TagsEnum["WIZARDS"] = "wizards";
|
|
13
13
|
TagsEnum["MISTERY"] = "mistery";
|
|
14
|
+
TagsEnum["HORROR"] = "horror";
|
|
14
15
|
TagsEnum["FUTURISTIC"] = "futuristic";
|
|
15
16
|
TagsEnum["ADVENTURE"] = "adventure";
|
|
16
17
|
TagsEnum["RAID"] = "raid";
|
|
17
|
-
TagsEnum["FILMS"] = "films";
|
|
18
18
|
TagsEnum["ZOMBIE"] = "zombie";
|
|
19
19
|
TagsEnum["MANIAC"] = "maniac";
|
|
20
20
|
TagsEnum["MUSEUM"] = "museum";
|
|
21
|
+
TagsEnum["FANTASY"] = "fantasy";
|
|
22
|
+
TagsEnum["FILMS"] = "films";
|
|
21
23
|
TagsEnum["ROLEBASED"] = "rolebased";
|
|
22
|
-
TagsEnum["SUSPENSE"] = "suspense";
|
|
23
|
-
TagsEnum["CLOSEDYEYS"] = "closedyeyes";
|
|
24
24
|
TagsEnum["QUIZ"] = "quiz";
|
|
25
|
-
TagsEnum["HORROR"] = "horror";
|
|
26
|
-
TagsEnum["FANTASY"] = "fantasy";
|
|
27
25
|
TagsEnum["ANTISTRESS"] = "antistress";
|
|
28
26
|
TagsEnum["EROTIC"] = "erotic";
|
|
29
|
-
|
|
30
|
-
// !! Теги по определенным категориям:
|
|
31
|
-
TagsEnum["OUTDOR"] = "outdor";
|
|
32
|
-
TagsEnum["INVALID"] = "invalid";
|
|
33
|
-
TagsEnum["ADULTS"] = "adults";
|
|
34
|
-
TagsEnum["PAIR"] = "pair";
|
|
35
|
-
TagsEnum["CORPORATE"] = "corporate";
|
|
27
|
+
// escape_room_for_who
|
|
36
28
|
TagsEnum["KIDS0"] = "kids0";
|
|
37
29
|
TagsEnum["KIDS6"] = "kids6";
|
|
38
30
|
TagsEnum["KIDS10"] = "kids10";
|
|
39
31
|
TagsEnum["KIDS14"] = "kids14";
|
|
32
|
+
TagsEnum["FAMILY"] = "family";
|
|
33
|
+
TagsEnum["ADULTS"] = "adults";
|
|
40
34
|
TagsEnum["ADULT18"] = "adult18";
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
TagsEnum["
|
|
44
|
-
TagsEnum["PERFORMANCE_CONTACT"] = "performance_contact";
|
|
35
|
+
// escape_room_availability
|
|
36
|
+
TagsEnum["PAIR"] = "pair";
|
|
37
|
+
TagsEnum["CORPORATE"] = "corporate";
|
|
45
38
|
TagsEnum["DUELMODE"] = "duelmode";
|
|
46
|
-
TagsEnum["
|
|
47
|
-
|
|
48
|
-
TagsEnum["
|
|
49
|
-
|
|
50
|
-
|
|
39
|
+
TagsEnum["PERFORMANCE_NO_CONTACT"] = "performance_no_contact";
|
|
40
|
+
// escape_room_special
|
|
41
|
+
TagsEnum["INVALID"] = "invalid";
|
|
42
|
+
// SUSPENSE = 'suspense', // Саспенс
|
|
43
|
+
// IMMERSIVE = 'immersive', // Иммерсивные квесты
|
|
44
|
+
// CLOSEDYEYS = 'closedyeyes', // Морфеус
|
|
51
45
|
})(TagsEnum = exports.TagsEnum || (exports.TagsEnum = {}));
|
|
52
46
|
// TODO добавить авто теги
|
|
53
47
|
// Выставляются автоматически
|
|
@@ -82,6 +76,7 @@ var TechTagsEnum;
|
|
|
82
76
|
TechTagsEnum["PROFESSIONAL"] = "professional";
|
|
83
77
|
TechTagsEnum["HORROR"] = "horror";
|
|
84
78
|
TechTagsEnum["BIGGROUP"] = "biggroup";
|
|
79
|
+
TechTagsEnum["SMALLGROU"] = "smallgroup";
|
|
85
80
|
TechTagsEnum["ENGLISH"] = "english";
|
|
86
81
|
TechTagsEnum["PRIVATE"] = "private";
|
|
87
82
|
TechTagsEnum["PUBLIC"] = "public";
|