@escapenavigator/types 1.4.19 → 1.4.22
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-city-questrooms.ro.d.ts +1 -1
- package/dist/agregator/agregator-city.ro.d.ts +2 -1
- package/dist/agregator/agregator-questroom-by-tags.ro.d.ts +1 -0
- package/dist/agregator/agregator-questroom-card.ro.d.ts +1 -0
- package/dist/agregator/agregator-questroom.ro.d.ts +8 -9
- package/dist/agregator/agregator-similar-questrooms-near.ro.d.ts +1 -1
- package/dist/agregator/dto/agregator-questrooms-by-city-query.dto.d.ts +4 -0
- package/dist/agregator/dto/agregator-questrooms-by-city-query.dto.js +2 -0
- package/dist/agregator/dto/agregator-questrooms-by-tags-query.dto.d.ts +1 -1
- package/dist/agregator/dto/agregator-questrooms-search.dto.d.ts +12 -0
- package/dist/agregator/dto/agregator-questrooms-search.dto.js +2 -0
- package/dist/agregator/dto/agregator-similar-questrooms-near-query.dto.d.ts +1 -1
- package/dist/article/article.ro.d.ts +2 -0
- package/dist/article/create-article.dto.d.ts +2 -0
- package/dist/article/create-article.dto.js +7 -0
- package/dist/article/update-article.dto.js +1 -1
- package/dist/cashbox/create-cashbox.dto.d.ts +1 -1
- package/dist/certificate-sale/create-certificatesale.dto.d.ts +9 -10
- package/dist/certificate-sale/create-certificatesale.dto.js +28 -22
- package/dist/city/city.ro.d.ts +1 -1
- package/dist/city/create-city.dto.d.ts +1 -1
- package/dist/city/create-city.dto.js +2 -2
- package/dist/city/update-city.dto.d.ts +1 -1
- package/dist/city/update-city.dto.js +1 -1
- package/dist/client/client.ro.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -1
- package/dist/questroom/agregator-questroom.ro.d.ts +2 -0
- package/dist/questroom/create-questroom.dto.d.ts +4 -2
- package/dist/questroom/create-questroom.dto.js +6 -0
- package/dist/questroom/questroom.ro.d.ts +2 -0
- package/dist/review/review.ro.d.ts +10 -8
- package/dist/shared/enum/tags.enum.d.ts +8 -1
- package/dist/shared/enum/tags.enum.js +19 -0
- package/dist/slot-template/update-slot-template.dto.d.ts +1 -1
- package/dist/slot-template/update-weekends.dto.d.ts +1 -1
- package/dist/subscription/create-subscription.dto.d.ts +3 -0
- package/dist/subscription/create-subscription.dto.js +22 -0
- package/dist/subscription/subscription.ro.d.ts +4 -0
- package/dist/subscription/subscription.ro.js +2 -0
- package/dist/tariff/tariff.ro.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upload/enum/image-type.enum.d.ts +2 -1
- package/dist/upload/enum/image-type.enum.js +1 -0
- package/dist/widget-openapi/widget-openapi-certificate.ro.d.ts +22 -5
- package/dist/widget-openapi/widget-openapi-create-certificate.dto.d.ts +16 -5
- package/dist/widget-openapi/widget-openapi-create-certificate.dto.js +67 -16
- package/dist/widget-openapi/widget-openapi-create-order.dto.d.ts +1 -1
- package/dist/widget-openapi/widget-openapi-create-review.dto.d.ts +11 -0
- package/dist/widget-openapi/widget-openapi-create-review.dto.js +52 -0
- package/dist/widget-openapi/widget-openapi-find-reviews.dto.d.ts +4 -0
- package/dist/widget-openapi/widget-openapi-find-reviews.dto.js +24 -0
- package/dist/widget-openapi/widget-openapi-order.ro.d.ts +6 -6
- package/dist/widget-openapi/widget-openapi-review.ro.d.ts +9 -0
- package/dist/widget-openapi/widget-openapi-review.ro.js +2 -0
- package/dist/widget-openapi/widget-openapi-schedule-query.dto.js +1 -2
- package/dist/widget-openapi/widget-openapi.ro.d.ts +6 -4
- package/package.json +6 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AgregatorCityRO } from './agregator-city.ro';
|
|
1
2
|
import { AgregatorQuestroomCardRO } from './agregator-questroom-card.ro';
|
|
2
|
-
import { AgregatorCityRO } from "./agregator-city.ro";
|
|
3
3
|
export declare type AgregatorCityQuestroomsRO = {
|
|
4
4
|
city: AgregatorCityRO;
|
|
5
5
|
questrooms: AgregatorQuestroomCardRO[];
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { TagsEnum } from
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { AgregatorCityRO } from "./agregator-city.ro";
|
|
1
|
+
import { ProfileCurrencyEnum } from '../profile/enum/profile-currency';
|
|
2
|
+
import { QuestroomTypeEnum } from '../questroom/enum/questroom-type.enum';
|
|
3
|
+
import { Languages } from '../shared/enum/languages.enum';
|
|
4
|
+
import { TagsEnum } from '../shared/enum/tags.enum';
|
|
5
|
+
import { UpsellingResponseObject } from '../upselling/upselling.ro';
|
|
6
|
+
import { AgregatorCityRO } from './agregator-city.ro';
|
|
8
7
|
export declare type AgregatorQuestroomRO = {
|
|
9
8
|
slug: string;
|
|
10
9
|
title: string;
|
|
@@ -42,12 +41,12 @@ export declare type AgregatorQuestroomRO = {
|
|
|
42
41
|
photos: string[];
|
|
43
42
|
video?: string;
|
|
44
43
|
tags: TagsEnum[];
|
|
45
|
-
upsellings: Pick<UpsellingResponseObject,
|
|
44
|
+
upsellings: Array<Pick<UpsellingResponseObject, 'title' | 'price' | 'description'>>;
|
|
46
45
|
minHoursForFreeCanceling: number;
|
|
47
46
|
actors: boolean;
|
|
48
47
|
languages?: Languages[];
|
|
49
48
|
defaultLanguage?: Languages;
|
|
50
|
-
reviews:
|
|
49
|
+
reviews: [];
|
|
51
50
|
reviewsCount: number;
|
|
52
51
|
rating: number;
|
|
53
52
|
plot: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AgregatorQuestroomCardRO } from './agregator-questroom-card.ro';
|
|
2
1
|
import { AgregatorCityRO } from './agregator-city.ro';
|
|
2
|
+
import { AgregatorQuestroomCardRO } from './agregator-questroom-card.ro';
|
|
3
3
|
export declare type AgregatorSimilarQuestroomsNearRO = {
|
|
4
4
|
city: AgregatorCityRO;
|
|
5
5
|
questrooms: AgregatorQuestroomCardRO[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare type AgregatorQuestroomsSearchDTO = {
|
|
2
|
+
skip?: number;
|
|
3
|
+
country: string;
|
|
4
|
+
coordinates: [number, number];
|
|
5
|
+
players?: string;
|
|
6
|
+
rating?: string;
|
|
7
|
+
category?: string;
|
|
8
|
+
language?: string;
|
|
9
|
+
difficult?: string;
|
|
10
|
+
fear?: string;
|
|
11
|
+
age?: string;
|
|
12
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
1
2
|
import { ResponseObject } from '../shared/ro';
|
|
2
3
|
export declare type ArticleResponseObject = ResponseObject & {
|
|
3
4
|
title: string;
|
|
@@ -8,4 +9,5 @@ export declare type ArticleResponseObject = ResponseObject & {
|
|
|
8
9
|
color: string;
|
|
9
10
|
time: string;
|
|
10
11
|
preview: string;
|
|
12
|
+
languages: CountriesEnum[];
|
|
11
13
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
1
2
|
export declare class CreateArticleDto {
|
|
2
3
|
title: string;
|
|
3
4
|
description: string;
|
|
@@ -6,4 +7,5 @@ export declare class CreateArticleDto {
|
|
|
6
7
|
color: string;
|
|
7
8
|
time: string;
|
|
8
9
|
preview: string;
|
|
10
|
+
languages: CountriesEnum[];
|
|
9
11
|
}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateArticleDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
14
15
|
const is_not_blank_string_1 = require("../shared/is-not-blank-string");
|
|
15
16
|
class CreateArticleDto {
|
|
16
17
|
}
|
|
@@ -49,4 +50,10 @@ __decorate([
|
|
|
49
50
|
(0, class_transformer_1.Expose)(),
|
|
50
51
|
__metadata("design:type", String)
|
|
51
52
|
], CreateArticleDto.prototype, "preview", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsArray)(),
|
|
55
|
+
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
__metadata("design:type", Array)
|
|
58
|
+
], CreateArticleDto.prototype, "languages", void 0);
|
|
52
59
|
exports.CreateArticleDto = CreateArticleDto;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateArticleDto = void 0;
|
|
4
|
-
const create_article_dto_1 = require("./create-article.dto");
|
|
5
4
|
const mapped_types_1 = require("@nestjs/mapped-types");
|
|
5
|
+
const create_article_dto_1 = require("./create-article.dto");
|
|
6
6
|
class UpdateArticleDto extends (0, mapped_types_1.PartialType)(create_article_dto_1.CreateArticleDto) {
|
|
7
7
|
}
|
|
8
8
|
exports.UpdateArticleDto = UpdateArticleDto;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { CertificatesaleSourceEnum } from './enum/certificatesale-source.enum';
|
|
2
1
|
import { CertificatesaleDeliveryTypeEnum } from './enum/certificatesales-delivery-type.enum';
|
|
3
|
-
import { CertificatesaleStatusEnum } from './enum/certificatessales-status.enum';
|
|
4
2
|
export declare class CreateCertificatesaleDto {
|
|
5
3
|
certificateId: number;
|
|
6
|
-
|
|
7
|
-
status: CertificatesaleStatusEnum;
|
|
4
|
+
clientId: number;
|
|
8
5
|
clientComment: string;
|
|
9
|
-
technicalPhotos: string[];
|
|
10
|
-
deliveryType: CertificatesaleDeliveryTypeEnum;
|
|
11
6
|
deliveryAddress: string;
|
|
12
7
|
deliveryEmail: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
sendingDate: string;
|
|
9
|
+
sendingTime: string;
|
|
10
|
+
deliveryMessage: string;
|
|
11
|
+
deliveryFullname: string;
|
|
12
|
+
deliveryPhone: string;
|
|
13
|
+
deliveryCity: string;
|
|
14
|
+
deliveryPostCode: string;
|
|
15
|
+
deliveryType: CertificatesaleDeliveryTypeEnum;
|
|
17
16
|
}
|
|
@@ -11,9 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateCertificatesaleDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const certificatesale_source_enum_1 = require("./enum/certificatesale-source.enum");
|
|
15
14
|
const certificatesales_delivery_type_enum_1 = require("./enum/certificatesales-delivery-type.enum");
|
|
16
|
-
const certificatessales_status_enum_1 = require("./enum/certificatessales-status.enum");
|
|
17
15
|
class CreateCertificatesaleDto {
|
|
18
16
|
}
|
|
19
17
|
__decorate([
|
|
@@ -21,54 +19,62 @@ __decorate([
|
|
|
21
19
|
__metadata("design:type", Number)
|
|
22
20
|
], CreateCertificatesaleDto.prototype, "certificateId", void 0);
|
|
23
21
|
__decorate([
|
|
24
|
-
(0, class_validator_1.
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
22
|
+
(0, class_validator_1.IsNumber)(),
|
|
26
23
|
__metadata("design:type", Number)
|
|
27
|
-
], CreateCertificatesaleDto.prototype, "
|
|
24
|
+
], CreateCertificatesaleDto.prototype, "clientId", void 0);
|
|
28
25
|
__decorate([
|
|
29
|
-
(0, class_validator_1.
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
28
|
__metadata("design:type", String)
|
|
31
|
-
], CreateCertificatesaleDto.prototype, "
|
|
29
|
+
], CreateCertificatesaleDto.prototype, "clientComment", void 0);
|
|
32
30
|
__decorate([
|
|
33
31
|
(0, class_validator_1.IsString)(),
|
|
34
32
|
(0, class_validator_1.IsOptional)(),
|
|
35
33
|
__metadata("design:type", String)
|
|
36
|
-
], CreateCertificatesaleDto.prototype, "
|
|
34
|
+
], CreateCertificatesaleDto.prototype, "deliveryAddress", void 0);
|
|
37
35
|
__decorate([
|
|
38
|
-
(0, class_validator_1.
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
39
37
|
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
__metadata("design:type",
|
|
41
|
-
], CreateCertificatesaleDto.prototype, "
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreateCertificatesaleDto.prototype, "deliveryEmail", void 0);
|
|
42
40
|
__decorate([
|
|
43
|
-
(0, class_validator_1.
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
43
|
__metadata("design:type", String)
|
|
45
|
-
], CreateCertificatesaleDto.prototype, "
|
|
44
|
+
], CreateCertificatesaleDto.prototype, "sendingDate", void 0);
|
|
46
45
|
__decorate([
|
|
47
46
|
(0, class_validator_1.IsString)(),
|
|
48
47
|
(0, class_validator_1.IsOptional)(),
|
|
49
48
|
__metadata("design:type", String)
|
|
50
|
-
], CreateCertificatesaleDto.prototype, "
|
|
49
|
+
], CreateCertificatesaleDto.prototype, "sendingTime", void 0);
|
|
51
50
|
__decorate([
|
|
52
51
|
(0, class_validator_1.IsString)(),
|
|
53
52
|
(0, class_validator_1.IsOptional)(),
|
|
54
53
|
__metadata("design:type", String)
|
|
55
|
-
], CreateCertificatesaleDto.prototype, "
|
|
54
|
+
], CreateCertificatesaleDto.prototype, "deliveryMessage", void 0);
|
|
56
55
|
__decorate([
|
|
57
56
|
(0, class_validator_1.IsString)(),
|
|
58
57
|
(0, class_validator_1.IsOptional)(),
|
|
59
58
|
__metadata("design:type", String)
|
|
60
|
-
], CreateCertificatesaleDto.prototype, "
|
|
59
|
+
], CreateCertificatesaleDto.prototype, "deliveryFullname", void 0);
|
|
61
60
|
__decorate([
|
|
62
61
|
(0, class_validator_1.IsString)(),
|
|
63
62
|
(0, class_validator_1.IsOptional)(),
|
|
64
63
|
__metadata("design:type", String)
|
|
65
|
-
], CreateCertificatesaleDto.prototype, "
|
|
64
|
+
], CreateCertificatesaleDto.prototype, "deliveryPhone", void 0);
|
|
66
65
|
__decorate([
|
|
67
|
-
(0, class_validator_1.
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
(0, class_validator_1.IsString)(),
|
|
67
|
+
(0, class_validator_1.IsOptional)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], CreateCertificatesaleDto.prototype, "deliveryCity", void 0);
|
|
70
70
|
__decorate([
|
|
71
|
-
(0, class_validator_1.
|
|
71
|
+
(0, class_validator_1.IsString)(),
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
72
73
|
__metadata("design:type", String)
|
|
73
|
-
], CreateCertificatesaleDto.prototype, "
|
|
74
|
+
], CreateCertificatesaleDto.prototype, "deliveryPostCode", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, class_validator_1.IsString)(),
|
|
77
|
+
(0, class_validator_1.IsEnum)(certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], CreateCertificatesaleDto.prototype, "deliveryType", void 0);
|
|
74
80
|
exports.CreateCertificatesaleDto = CreateCertificatesaleDto;
|
package/dist/city/city.ro.d.ts
CHANGED
|
@@ -10,10 +10,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateCityDto = void 0;
|
|
13
|
-
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
14
|
-
const is_not_blank_string_1 = require("../shared/is-not-blank-string");
|
|
15
13
|
const class_transformer_1 = require("class-transformer");
|
|
16
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
|
+
const is_not_blank_string_1 = require("../shared/is-not-blank-string");
|
|
17
17
|
class CreateCityDto {
|
|
18
18
|
}
|
|
19
19
|
__decorate([
|
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateCityDto = void 0;
|
|
13
|
-
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
14
13
|
const class_transformer_1 = require("class-transformer");
|
|
15
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
16
|
class UpdateCityDto {
|
|
17
17
|
}
|
|
18
18
|
__decorate([
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './cashbox/cashbox.ro';
|
|
2
|
+
export * from './cashbox/create-cashbox.dto';
|
|
3
|
+
export * from './cashbox/enum/cashbox-type.enum';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
+
import { TagsEnum } from '../shared/enum/tags.enum';
|
|
2
3
|
import { ResponseObject } from '../shared/ro';
|
|
3
4
|
export declare type AgregatorQuestroomResponseObject = ResponseObject & {
|
|
4
5
|
title: string;
|
|
@@ -23,6 +24,7 @@ export declare type AgregatorQuestroomResponseObject = ResponseObject & {
|
|
|
23
24
|
onlinePaymentsCashbox: number;
|
|
24
25
|
cashPaymentsCashbox: number;
|
|
25
26
|
cardPaymentsCashbox: number;
|
|
27
|
+
tags: TagsEnum;
|
|
26
28
|
locationId: number;
|
|
27
29
|
sortPosition: number;
|
|
28
30
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Languages } from
|
|
2
|
-
import {
|
|
1
|
+
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
+
import { TagsEnum } from '../shared/enum/tags.enum';
|
|
3
|
+
import { QuestroomTypeEnum } from './enum/questroom-type.enum';
|
|
3
4
|
export declare class CreateQuestroomDto {
|
|
4
5
|
title: string;
|
|
5
6
|
locationId: number;
|
|
@@ -28,4 +29,5 @@ export declare class CreateQuestroomDto {
|
|
|
28
29
|
video?: string;
|
|
29
30
|
legend: string;
|
|
30
31
|
teaser?: string;
|
|
32
|
+
tags: TagsEnum[];
|
|
31
33
|
}
|
|
@@ -175,4 +175,10 @@ __decorate([
|
|
|
175
175
|
(0, class_transformer_1.Expose)(),
|
|
176
176
|
__metadata("design:type", String)
|
|
177
177
|
], CreateQuestroomDto.prototype, "teaser", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, class_validator_1.IsArray)(),
|
|
180
|
+
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
181
|
+
(0, class_transformer_1.Expose)(),
|
|
182
|
+
__metadata("design:type", Array)
|
|
183
|
+
], CreateQuestroomDto.prototype, "tags", void 0);
|
|
178
184
|
exports.CreateQuestroomDto = CreateQuestroomDto;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
+
import { TagsEnum } from '../shared/enum/tags.enum';
|
|
2
3
|
import { ResponseObject } from '../shared/ro';
|
|
3
4
|
export declare type QuestroomResponseObject = ResponseObject & {
|
|
4
5
|
title: string;
|
|
@@ -23,6 +24,7 @@ export declare type QuestroomResponseObject = ResponseObject & {
|
|
|
23
24
|
onlinePaymentsCashbox: number;
|
|
24
25
|
cashPaymentsCashbox: number;
|
|
25
26
|
cardPaymentsCashbox: number;
|
|
27
|
+
tags: TagsEnum[];
|
|
26
28
|
locationId: number;
|
|
27
29
|
sortPosition: number;
|
|
28
30
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
export declare type
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare type ReviewRO = {
|
|
2
|
+
id: number;
|
|
3
|
+
createdAt: number;
|
|
4
|
+
questroomId: number;
|
|
5
|
+
profileId: number;
|
|
6
|
+
clientId: number;
|
|
7
|
+
fullName: string;
|
|
8
|
+
photo: string;
|
|
9
|
+
rating: number;
|
|
5
10
|
text: string;
|
|
6
|
-
|
|
7
|
-
profileId: string;
|
|
8
|
-
playerId: string;
|
|
9
|
-
delta?: number;
|
|
11
|
+
response: string;
|
|
10
12
|
};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
export declare enum TagsEnum {
|
|
2
|
+
FAMILY = "family",
|
|
3
|
+
KIDS = "kids",
|
|
4
|
+
BEGINNER = "beginner",
|
|
5
|
+
PROFESSIONAL = "professional",
|
|
6
|
+
DUELMODE = "duelmode",
|
|
2
7
|
MISTERY = "mistery",
|
|
3
|
-
HORROR = "horror"
|
|
8
|
+
HORROR = "horror",
|
|
9
|
+
RAID = "raid",
|
|
10
|
+
JAILBREAK = "jailbreak"
|
|
4
11
|
}
|
|
@@ -3,6 +3,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TagsEnum = void 0;
|
|
4
4
|
var TagsEnum;
|
|
5
5
|
(function (TagsEnum) {
|
|
6
|
+
TagsEnum["FAMILY"] = "family";
|
|
7
|
+
TagsEnum["KIDS"] = "kids";
|
|
8
|
+
TagsEnum["BEGINNER"] = "beginner";
|
|
9
|
+
TagsEnum["PROFESSIONAL"] = "professional";
|
|
10
|
+
TagsEnum["DUELMODE"] = "duelmode";
|
|
6
11
|
TagsEnum["MISTERY"] = "mistery";
|
|
7
12
|
TagsEnum["HORROR"] = "horror";
|
|
13
|
+
TagsEnum["RAID"] = "raid";
|
|
14
|
+
TagsEnum["JAILBREAK"] = "jailbreak";
|
|
15
|
+
// ENGLISH = "english",
|
|
16
|
+
// CRIME = "crime",
|
|
17
|
+
// TOPSECRET = "topsecret",
|
|
18
|
+
// FUTURISTIC = "futuristic",
|
|
19
|
+
// ADVENTURE = "adventure",
|
|
20
|
+
// BIGGROUP = "biggroup",
|
|
21
|
+
// RISKY = "risky",
|
|
22
|
+
// HALLOWEEN = "halloween",
|
|
23
|
+
// ANTIENTWORLDS = "ancientworlds",
|
|
24
|
+
// HISTORICAL = "historical",
|
|
25
|
+
// APOCALYPSE = "apocalypse",
|
|
26
|
+
// VR = "vr",
|
|
8
27
|
})(TagsEnum = exports.TagsEnum || (exports.TagsEnum = {}));
|
|
@@ -0,0 +1,22 @@
|
|
|
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.CreateSubscriptionDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const is_not_blank_string_1 = require("../shared/is-not-blank-string");
|
|
15
|
+
class CreateSubscriptionDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreateSubscriptionDto.prototype, "email", void 0);
|
|
22
|
+
exports.CreateSubscriptionDto = CreateSubscriptionDto;
|