@escapenavigator/types 1.4.63 → 1.4.65
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/agregator-questroom.ro.d.ts +2 -7
- package/dist/agregator/dto/agregator-favorites.dto.d.ts +4 -2
- package/dist/agregator/dto/agregator-favorites.dto.js +25 -0
- package/dist/agregator/dto/agregator-find-city-by-ip.dto.d.ts +5 -0
- package/dist/agregator/dto/agregator-find-city-by-ip.dto.js +29 -0
- package/dist/agregator/dto/agregator-find-questroom-by-text.dto.d.ts +5 -0
- package/dist/agregator/dto/agregator-find-questroom-by-text.dto.js +29 -0
- package/dist/agregator/dto/agregator-find-questrooms-for-city.dto.d.ts +5 -0
- package/dist/agregator/dto/agregator-find-questrooms-for-city.dto.js +29 -0
- package/dist/agregator/dto/agregator-questrooms-by-tags-query.dto.d.ts +2 -0
- package/dist/agregator/dto/agregator-questrooms-search.dto.d.ts +2 -1
- package/dist/constants/country-by-namespace.d.ts +3 -0
- package/dist/constants/country-by-namespace.js +16 -0
- package/dist/constants/namespace-by-country.d.ts +3 -0
- package/dist/constants/namespace-by-country.js +16 -0
- package/dist/questroom/questroom.ro.d.ts +3 -0
- package/dist/review/navigator-review.dto.d.ts +12 -0
- package/dist/review/navigator-review.dto.js +68 -0
- package/dist/review/navigator-review.ro.d.ts +13 -0
- package/dist/review/navigator-review.ro.js +2 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ProfileCurrencyEnum } from '../profile/enum/profile-currency';
|
|
2
2
|
import { QuestroomTypeEnum } from '../questroom/enum/questroom-type.enum';
|
|
3
|
+
import { NavigatorReviewRO } from '../review/navigator-review.ro';
|
|
3
4
|
import { Languages } from '../shared/enum/languages.enum';
|
|
4
5
|
import { TagsEnum } from '../shared/enum/tags.enum';
|
|
5
6
|
import { UpsellingResponseObject } from '../upselling/upselling.ro';
|
|
@@ -47,14 +48,8 @@ export declare type AgregatorQuestroomRO = {
|
|
|
47
48
|
actors: boolean;
|
|
48
49
|
languages?: Languages[];
|
|
49
50
|
defaultLanguage?: Languages;
|
|
50
|
-
reviewsCount: number;
|
|
51
51
|
rating: number;
|
|
52
|
-
plot: number;
|
|
53
|
-
mobility: number;
|
|
54
|
-
atmosphere: number;
|
|
55
|
-
clean: number;
|
|
56
|
-
puzzle: number;
|
|
57
|
-
team: number;
|
|
58
52
|
hasSchedule: boolean;
|
|
59
53
|
top: boolean;
|
|
54
|
+
navigatorReview?: NavigatorReviewRO;
|
|
60
55
|
};
|
|
@@ -1,2 +1,27 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AgregatorFavoritesDTO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const countries_enum_1 = require("../../shared/enum/countries.enum");
|
|
16
|
+
class AgregatorFavoritesDTO {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsArray)(),
|
|
20
|
+
__metadata("design:type", Array)
|
|
21
|
+
], AgregatorFavoritesDTO.prototype, "slugs", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], AgregatorFavoritesDTO.prototype, "country", void 0);
|
|
27
|
+
exports.AgregatorFavoritesDTO = AgregatorFavoritesDTO;
|
|
@@ -0,0 +1,29 @@
|
|
|
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.AgregatorFindCityByIpDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const countries_enum_1 = require("../../shared/enum/countries.enum");
|
|
16
|
+
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
17
|
+
class AgregatorFindCityByIpDto {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], AgregatorFindCityByIpDto.prototype, "ip", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], AgregatorFindCityByIpDto.prototype, "country", void 0);
|
|
29
|
+
exports.AgregatorFindCityByIpDto = AgregatorFindCityByIpDto;
|
|
@@ -0,0 +1,29 @@
|
|
|
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.AgregatorFindQuestroomByTitleDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const countries_enum_1 = require("../../shared/enum/countries.enum");
|
|
16
|
+
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
17
|
+
class AgregatorFindQuestroomByTitleDto {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], AgregatorFindQuestroomByTitleDto.prototype, "text", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], AgregatorFindQuestroomByTitleDto.prototype, "country", void 0);
|
|
29
|
+
exports.AgregatorFindQuestroomByTitleDto = AgregatorFindQuestroomByTitleDto;
|
|
@@ -0,0 +1,29 @@
|
|
|
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.AgregatorFindQuestroomsForCityDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const countries_enum_1 = require("../../shared/enum/countries.enum");
|
|
16
|
+
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
17
|
+
class AgregatorFindQuestroomsForCityDto {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], AgregatorFindQuestroomsForCityDto.prototype, "slug", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], AgregatorFindQuestroomsForCityDto.prototype, "country", void 0);
|
|
29
|
+
exports.AgregatorFindQuestroomsForCityDto = AgregatorFindQuestroomsForCityDto;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { CountriesEnum } from '../../shared/enum/countries.enum';
|
|
1
2
|
import { TagsEnum } from '../../shared/enum/tags.enum';
|
|
2
3
|
export declare type AgregatorQuestroomsByTagsQueryDTO = {
|
|
3
4
|
skip: number;
|
|
4
5
|
limit: number;
|
|
5
6
|
coordinates: [number, number];
|
|
6
7
|
tag: TagsEnum;
|
|
8
|
+
country: CountriesEnum;
|
|
7
9
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { CountriesEnum } from '../../shared/enum/countries.enum';
|
|
1
2
|
import { TagsEnum } from '../../shared/enum/tags.enum';
|
|
2
3
|
export declare type AgregatorQuestroomsSearchDTO = {
|
|
3
4
|
skip?: number;
|
|
4
|
-
country:
|
|
5
|
+
country: CountriesEnum;
|
|
5
6
|
coordinates: [number, number];
|
|
6
7
|
players?: string;
|
|
7
8
|
rating?: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.countryByNamespace = void 0;
|
|
4
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
5
|
+
const namespaces_enum_1 = require("../shared/enum/namespaces.enum");
|
|
6
|
+
exports.countryByNamespace = {
|
|
7
|
+
[namespaces_enum_1.NamespacesEnum.GERMANY]: countries_enum_1.CountriesEnum.GERMANY,
|
|
8
|
+
[namespaces_enum_1.NamespacesEnum.USA]: countries_enum_1.CountriesEnum.USA,
|
|
9
|
+
[namespaces_enum_1.NamespacesEnum.AUSTRIA]: countries_enum_1.CountriesEnum.AUSTRIA,
|
|
10
|
+
[namespaces_enum_1.NamespacesEnum.POLAND]: countries_enum_1.CountriesEnum.POLAND,
|
|
11
|
+
[namespaces_enum_1.NamespacesEnum.FRANCE]: countries_enum_1.CountriesEnum.FRANCE,
|
|
12
|
+
[namespaces_enum_1.NamespacesEnum.GREECE]: countries_enum_1.CountriesEnum.GREECE,
|
|
13
|
+
[namespaces_enum_1.NamespacesEnum.PORTUGAL]: countries_enum_1.CountriesEnum.PORTUGAL,
|
|
14
|
+
[namespaces_enum_1.NamespacesEnum.ITALY]: countries_enum_1.CountriesEnum.ITALY,
|
|
15
|
+
[namespaces_enum_1.NamespacesEnum.SPAIN]: countries_enum_1.CountriesEnum.SPAIN,
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.namespaceByCountry = void 0;
|
|
4
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
5
|
+
const namespaces_enum_1 = require("../shared/enum/namespaces.enum");
|
|
6
|
+
exports.namespaceByCountry = {
|
|
7
|
+
[countries_enum_1.CountriesEnum.GERMANY]: namespaces_enum_1.NamespacesEnum.GERMANY,
|
|
8
|
+
[countries_enum_1.CountriesEnum.USA]: namespaces_enum_1.NamespacesEnum.USA,
|
|
9
|
+
[countries_enum_1.CountriesEnum.AUSTRIA]: namespaces_enum_1.NamespacesEnum.AUSTRIA,
|
|
10
|
+
[countries_enum_1.CountriesEnum.POLAND]: namespaces_enum_1.NamespacesEnum.POLAND,
|
|
11
|
+
[countries_enum_1.CountriesEnum.FRANCE]: namespaces_enum_1.NamespacesEnum.FRANCE,
|
|
12
|
+
[countries_enum_1.CountriesEnum.GREECE]: namespaces_enum_1.NamespacesEnum.GREECE,
|
|
13
|
+
[countries_enum_1.CountriesEnum.PORTUGAL]: namespaces_enum_1.NamespacesEnum.PORTUGAL,
|
|
14
|
+
[countries_enum_1.CountriesEnum.ITALY]: namespaces_enum_1.NamespacesEnum.ITALY,
|
|
15
|
+
[countries_enum_1.CountriesEnum.SPAIN]: namespaces_enum_1.NamespacesEnum.SPAIN,
|
|
16
|
+
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
1
2
|
import { Languages } from '../shared/enum/languages.enum';
|
|
2
3
|
import { TagsEnum } from '../shared/enum/tags.enum';
|
|
3
4
|
import { ResponseObject } from '../shared/ro';
|
|
4
5
|
import { QuestroomCancelationTypeEnum } from './enum/questroom-cancelation-type.enum';
|
|
5
6
|
export declare type QuestroomRO = ResponseObject & {
|
|
6
7
|
title: string;
|
|
8
|
+
country: CountriesEnum;
|
|
9
|
+
slug: string;
|
|
7
10
|
video?: string;
|
|
8
11
|
photo: string;
|
|
9
12
|
webLink: string;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.NavigatorReviewDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
16
|
+
class NavigatorReviewDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsPositive)(),
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], NavigatorReviewDto.prototype, "questroomId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], NavigatorReviewDto.prototype, "title", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], NavigatorReviewDto.prototype, "text", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], NavigatorReviewDto.prototype, "phone", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsPositive)(),
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], NavigatorReviewDto.prototype, "plot", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsPositive)(),
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], NavigatorReviewDto.prototype, "mobility", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsPositive)(),
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], NavigatorReviewDto.prototype, "atmosphere", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsPositive)(),
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], NavigatorReviewDto.prototype, "clean", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsPositive)(),
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", Number)
|
|
62
|
+
], NavigatorReviewDto.prototype, "puzzle", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsPositive)(),
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], NavigatorReviewDto.prototype, "team", void 0);
|
|
68
|
+
exports.NavigatorReviewDto = NavigatorReviewDto;
|