@escapenavigator/types 1.6.95 → 1.6.97
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/dto/agregator-questrooms-search.dto.d.ts +2 -1
- package/dist/agregator/questrooms-api/query-locations-for-map.dto.d.ts +18 -0
- package/dist/agregator/questrooms-api/query-locations-for-map.dto.js +2 -0
- package/dist/constants/all-languages-by-namespace.d.ts +3 -0
- package/dist/constants/all-languages-by-namespace.js +29 -0
- package/dist/constants/uploading/upload-order-bookeo-rows.js +1 -1
- package/dist/profile/admin-profile.ro.d.ts +2 -0
- package/dist/profile/admin-profile.ro.js +4 -0
- package/dist/profile/create-profile.dto.d.ts +2 -0
- package/dist/profile/create-profile.dto.js +5 -0
- package/dist/profile/enum/profile-tag.enum.d.ts +4 -0
- package/dist/profile/enum/profile-tag.enum.js +8 -0
- package/dist/profile/query-admin-profile.dto.d.ts +2 -0
- package/dist/profile/query-admin-profile.dto.js +4 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -2,10 +2,11 @@ import { CountriesEnum } from '../../shared/enum/countries.enum';
|
|
|
2
2
|
import { Languages } from '../../shared/enum/languages.enum';
|
|
3
3
|
import { TagsEnum, TechTagsEnum } from '../../shared/enum/tags.enum';
|
|
4
4
|
export declare type AgregatorQuestroomsSearchDTO = {
|
|
5
|
-
skip?: number;
|
|
6
5
|
limit: number;
|
|
6
|
+
skip?: number;
|
|
7
7
|
country: CountriesEnum;
|
|
8
8
|
coordinates: [number, number];
|
|
9
|
+
range?: number;
|
|
9
10
|
players?: string;
|
|
10
11
|
startDate?: Date;
|
|
11
12
|
rating?: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Languages } from '../../shared/enum/languages.enum';
|
|
2
|
+
import { TagsEnum, TechTagsEnum } from '../../shared/enum/tags.enum';
|
|
3
|
+
export declare type QueryLocationsForMapDTO = {
|
|
4
|
+
coordinates: [number, number];
|
|
5
|
+
range?: number;
|
|
6
|
+
players?: number;
|
|
7
|
+
questroomType: string;
|
|
8
|
+
questroomTags: string[];
|
|
9
|
+
rating?: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
tags?: Array<TagsEnum | TechTagsEnum>;
|
|
12
|
+
language?: Languages;
|
|
13
|
+
difficult?: number;
|
|
14
|
+
fear?: number;
|
|
15
|
+
difficultLevel?: 'hight' | 'low';
|
|
16
|
+
fearLevel?: 'hight' | 'low';
|
|
17
|
+
age?: number;
|
|
18
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.allLanguagesByNamespace = void 0;
|
|
4
|
+
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
5
|
+
const namespaces_enum_1 = require("../shared/enum/namespaces.enum");
|
|
6
|
+
exports.allLanguagesByNamespace = {
|
|
7
|
+
[namespaces_enum_1.NamespacesEnum.GERMANY]: [languages_enum_1.Languages.DE, languages_enum_1.Languages.EN],
|
|
8
|
+
[namespaces_enum_1.NamespacesEnum.AUSTRIA]: [languages_enum_1.Languages.DE, languages_enum_1.Languages.EN],
|
|
9
|
+
[namespaces_enum_1.NamespacesEnum.RUSSIA]: [languages_enum_1.Languages.RU],
|
|
10
|
+
[namespaces_enum_1.NamespacesEnum.USA]: [languages_enum_1.Languages.EN],
|
|
11
|
+
[namespaces_enum_1.NamespacesEnum.POLAND]: [languages_enum_1.Languages.PL, languages_enum_1.Languages.EN],
|
|
12
|
+
[namespaces_enum_1.NamespacesEnum.FRANCE]: [languages_enum_1.Languages.FR, languages_enum_1.Languages.EN],
|
|
13
|
+
[namespaces_enum_1.NamespacesEnum.SPAIN]: [languages_enum_1.Languages.ES, languages_enum_1.Languages.EN],
|
|
14
|
+
[namespaces_enum_1.NamespacesEnum.ITALY]: [languages_enum_1.Languages.IT, languages_enum_1.Languages.EN],
|
|
15
|
+
[namespaces_enum_1.NamespacesEnum.PORTUGAL]: [languages_enum_1.Languages.PT, languages_enum_1.Languages.EN],
|
|
16
|
+
[namespaces_enum_1.NamespacesEnum.GREECE]: [languages_enum_1.Languages.GR, languages_enum_1.Languages.EN],
|
|
17
|
+
[namespaces_enum_1.NamespacesEnum.ESTONIA]: [languages_enum_1.Languages.ET, languages_enum_1.Languages.EN],
|
|
18
|
+
[namespaces_enum_1.NamespacesEnum.SWITZERLAND]: [languages_enum_1.Languages.DE, languages_enum_1.Languages.FR, languages_enum_1.Languages.EN],
|
|
19
|
+
[namespaces_enum_1.NamespacesEnum.CZECH]: [languages_enum_1.Languages.CS, languages_enum_1.Languages.EN],
|
|
20
|
+
[namespaces_enum_1.NamespacesEnum.UK]: [languages_enum_1.Languages.EN],
|
|
21
|
+
[namespaces_enum_1.NamespacesEnum.NETHERLANDS]: [languages_enum_1.Languages.NL, languages_enum_1.Languages.EN],
|
|
22
|
+
[namespaces_enum_1.NamespacesEnum.FINLAND]: [languages_enum_1.Languages.FI, languages_enum_1.Languages.EN],
|
|
23
|
+
[namespaces_enum_1.NamespacesEnum.DENMARK]: [languages_enum_1.Languages.DA, languages_enum_1.Languages.EN],
|
|
24
|
+
[namespaces_enum_1.NamespacesEnum.SLOVAKIA]: [languages_enum_1.Languages.SK, languages_enum_1.Languages.EN],
|
|
25
|
+
[namespaces_enum_1.NamespacesEnum.HUNGARY]: [languages_enum_1.Languages.HU, languages_enum_1.Languages.EN],
|
|
26
|
+
[namespaces_enum_1.NamespacesEnum.SWEDEN]: [languages_enum_1.Languages.SV, languages_enum_1.Languages.EN],
|
|
27
|
+
[namespaces_enum_1.NamespacesEnum.LATVIA]: [languages_enum_1.Languages.LV, languages_enum_1.Languages.EN],
|
|
28
|
+
[namespaces_enum_1.NamespacesEnum.BELGIUM]: [languages_enum_1.Languages.FR, languages_enum_1.Languages.NL, languages_enum_1.Languages.EN],
|
|
29
|
+
};
|
|
@@ -7,7 +7,7 @@ function parseDate(serial) {
|
|
|
7
7
|
const originalDate = new Date(serial);
|
|
8
8
|
if (!(originalDate instanceof Date))
|
|
9
9
|
return null;
|
|
10
|
-
originalDate.setHours(originalDate.getHours() + 3);
|
|
10
|
+
// originalDate.setHours(originalDate.getHours() + 3);
|
|
11
11
|
return originalDate;
|
|
12
12
|
}
|
|
13
13
|
exports.parseDate = parseDate;
|
|
@@ -7,6 +7,7 @@ import { ProfileIntegrationTypeEnum } from './enum/profile-integration-type.enum
|
|
|
7
7
|
import { ProfileStatusEnum } from './enum/profile-step.enum';
|
|
8
8
|
import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.enum';
|
|
9
9
|
import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
|
|
10
|
+
import { ProfileTagEnum } from './enum/profile-tag.enum';
|
|
10
11
|
declare class History {
|
|
11
12
|
createdAt: Date;
|
|
12
13
|
row: string;
|
|
@@ -30,6 +31,7 @@ export declare class AdminProfileRO {
|
|
|
30
31
|
legalTitle: string;
|
|
31
32
|
phoneForCustomers: string;
|
|
32
33
|
logo: string;
|
|
34
|
+
tags: ProfileTagEnum[];
|
|
33
35
|
nowEscape: boolean;
|
|
34
36
|
mainEmail: string;
|
|
35
37
|
secondaryEmails: string[];
|
|
@@ -106,6 +106,10 @@ __decorate([
|
|
|
106
106
|
(0, class_transformer_1.Expose)(),
|
|
107
107
|
__metadata("design:type", String)
|
|
108
108
|
], AdminProfileRO.prototype, "logo", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, class_transformer_1.Expose)(),
|
|
111
|
+
__metadata("design:type", Array)
|
|
112
|
+
], AdminProfileRO.prototype, "tags", void 0);
|
|
109
113
|
__decorate([
|
|
110
114
|
(0, class_transformer_1.Expose)(),
|
|
111
115
|
__metadata("design:type", Boolean)
|
|
@@ -3,6 +3,7 @@ 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
5
|
import { ProfileStatusEnum } from './enum/profile-step.enum';
|
|
6
|
+
import { ProfileTagEnum } from './enum/profile-tag.enum';
|
|
6
7
|
export declare class CreateProfileDto {
|
|
7
8
|
country: CountriesEnum;
|
|
8
9
|
crmVerification: CrmVerificationEnum;
|
|
@@ -16,6 +17,7 @@ export declare class CreateProfileDto {
|
|
|
16
17
|
status: ProfileStatusEnum;
|
|
17
18
|
mainEmail: string;
|
|
18
19
|
secondaryEmails: string[];
|
|
20
|
+
tags: ProfileTagEnum[];
|
|
19
21
|
legalTitle: string;
|
|
20
22
|
instagram?: string;
|
|
21
23
|
facebook?: string;
|
|
@@ -84,6 +84,11 @@ __decorate([
|
|
|
84
84
|
(0, class_transformer_1.Expose)(),
|
|
85
85
|
__metadata("design:type", Array)
|
|
86
86
|
], CreateProfileDto.prototype, "secondaryEmails", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_validator_1.IsArray)(),
|
|
89
|
+
(0, class_transformer_1.Expose)(),
|
|
90
|
+
__metadata("design:type", Array)
|
|
91
|
+
], CreateProfileDto.prototype, "tags", void 0);
|
|
87
92
|
__decorate([
|
|
88
93
|
(0, class_validator_1.IsOptional)(),
|
|
89
94
|
(0, class_transformer_1.Expose)(),
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProfileTagEnum = void 0;
|
|
4
|
+
var ProfileTagEnum;
|
|
5
|
+
(function (ProfileTagEnum) {
|
|
6
|
+
ProfileTagEnum["REJECT"] = "reject";
|
|
7
|
+
ProfileTagEnum["PRESENTATION"] = "presentation";
|
|
8
|
+
})(ProfileTagEnum = exports.ProfileTagEnum || (exports.ProfileTagEnum = {}));
|
|
@@ -4,7 +4,9 @@ import { ProfileIntegrationTypeEnum } from './enum/profile-integration-type.enum
|
|
|
4
4
|
import { ProfileStatusEnum } from './enum/profile-step.enum';
|
|
5
5
|
import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.enum';
|
|
6
6
|
import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
|
|
7
|
+
import { ProfileTagEnum } from './enum/profile-tag.enum';
|
|
7
8
|
export declare class QueryAdminProfileDto {
|
|
9
|
+
tags?: ProfileTagEnum[];
|
|
8
10
|
partnerProgram?: PartnerProgramEnum;
|
|
9
11
|
subscriptionStatus?: ProfileSubscriptionEnum[];
|
|
10
12
|
subscriptionType?: ProfileSubscriptionTypeEnum;
|
|
@@ -18,6 +18,10 @@ const profile_integration_type_enum_1 = require("./enum/profile-integration-type
|
|
|
18
18
|
const profile_subscription_type_enum_1 = require("./enum/profile-subscription-type.enum");
|
|
19
19
|
class QueryAdminProfileDto {
|
|
20
20
|
}
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], QueryAdminProfileDto.prototype, "tags", void 0);
|
|
21
25
|
__decorate([
|
|
22
26
|
(0, class_transformer_1.Expose)(),
|
|
23
27
|
__metadata("design:type", String)
|