@escapenavigator/types 1.4.21 → 1.4.24
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 +1 -0
- 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/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-card.ro.d.ts +14 -0
- package/dist/widget-openapi/widget-openapi-certificate-card.ro.js +2 -0
- package/dist/widget-openapi/widget-openapi-find-reviews.dto.d.ts +2 -2
- package/dist/widget-openapi/widget-openapi-find-reviews.dto.js +3 -3
- package/dist/widget-openapi/widget-openapi-order.ro.d.ts +4 -0
- package/dist/widget-openapi/widget-openapi-questroom.ro.d.ts +24 -0
- package/dist/widget-openapi/widget-openapi-questroom.ro.js +2 -0
- package/dist/widget-openapi/widget-openapi-review.ro.d.ts +1 -1
- package/dist/widget-openapi/widget-openapi-weekly-query.dto.d.ts +4 -0
- package/dist/widget-openapi/widget-openapi-weekly-query.dto.js +25 -0
- package/dist/widget-openapi/widget-openapi.ro.d.ts +1 -38
- package/package.json +2 -2
|
@@ -9,4 +9,5 @@ var ImageTypeEnum;
|
|
|
9
9
|
ImageTypeEnum["ORDER"] = "orders_photos";
|
|
10
10
|
ImageTypeEnum["CERTIFICATE_SALE"] = "certificate_sales_photos";
|
|
11
11
|
ImageTypeEnum["PROFILE_LOGO"] = "profile_logos";
|
|
12
|
+
ImageTypeEnum["POSTER"] = "poster";
|
|
12
13
|
})(ImageTypeEnum = exports.ImageTypeEnum || (exports.ImageTypeEnum = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CertificateTypeEnum } from '../certificate/enum/certificate-type.enum';
|
|
2
|
+
export declare type WidgetOpenApiCertificateCardRO = {
|
|
3
|
+
id: number;
|
|
4
|
+
title: string;
|
|
5
|
+
photo: string;
|
|
6
|
+
validity: number;
|
|
7
|
+
nominal: number;
|
|
8
|
+
deliveryPrice: number;
|
|
9
|
+
extraPrice: number;
|
|
10
|
+
deliveryPossibility: boolean;
|
|
11
|
+
pickupPossibility: boolean;
|
|
12
|
+
information: string;
|
|
13
|
+
type: CertificateTypeEnum;
|
|
14
|
+
};
|
|
@@ -16,9 +16,9 @@ class WidgetOpenapiFindReviewsDto {
|
|
|
16
16
|
__decorate([
|
|
17
17
|
(0, class_validator_1.IsNotEmpty)(),
|
|
18
18
|
__metadata("design:type", String)
|
|
19
|
-
], WidgetOpenapiFindReviewsDto.prototype, "
|
|
19
|
+
], WidgetOpenapiFindReviewsDto.prototype, "questroomId", void 0);
|
|
20
20
|
__decorate([
|
|
21
|
-
(0, class_validator_1.
|
|
22
|
-
__metadata("design:type",
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
23
|
], WidgetOpenapiFindReviewsDto.prototype, "skip", void 0);
|
|
24
24
|
exports.WidgetOpenapiFindReviewsDto = WidgetOpenapiFindReviewsDto;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { QuestroomTypeEnum } from '../questroom/enum/questroom-type.enum';
|
|
2
|
+
import { Languages } from '../shared/enum/languages.enum';
|
|
3
|
+
export declare type WidgetOpenApiQuestroomRO = {
|
|
4
|
+
id: number;
|
|
5
|
+
address: string;
|
|
6
|
+
fear: number;
|
|
7
|
+
difficult: number;
|
|
8
|
+
title: string;
|
|
9
|
+
photo: string;
|
|
10
|
+
time: number;
|
|
11
|
+
type: QuestroomTypeEnum;
|
|
12
|
+
howToFind: string;
|
|
13
|
+
playersMax: number;
|
|
14
|
+
playersMin: number;
|
|
15
|
+
minAge: number;
|
|
16
|
+
defaultLanguage: Languages;
|
|
17
|
+
languages: Languages[];
|
|
18
|
+
upsellings: {
|
|
19
|
+
id: number;
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
amount: number;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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.WidgetOpenapiWeeklyQueryDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
15
|
+
class WidgetOpenapiWeeklyQueryDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], WidgetOpenapiWeeklyQueryDto.prototype, "questroomId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], WidgetOpenapiWeeklyQueryDto.prototype, "date", void 0);
|
|
25
|
+
exports.WidgetOpenapiWeeklyQueryDto = WidgetOpenapiWeeklyQueryDto;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { CertificateTypeEnum } from '../certificate/enum/certificate-type.enum';
|
|
2
1
|
import { ProfileCurrencyEnum } from '../profile/enum/profile-currency';
|
|
3
|
-
import { QuestroomTypeEnum } from '../questroom/enum/questroom-type.enum';
|
|
4
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
5
2
|
import { WidgetTypeEnum } from '../widget/enum/widget-type.enum';
|
|
6
3
|
export declare type WidgetOpenApiResponseObject = {
|
|
7
4
|
type: WidgetTypeEnum;
|
|
@@ -9,39 +6,5 @@ export declare type WidgetOpenApiResponseObject = {
|
|
|
9
6
|
theme: string;
|
|
10
7
|
uid: string;
|
|
11
8
|
currency: ProfileCurrencyEnum;
|
|
12
|
-
|
|
13
|
-
id: number;
|
|
14
|
-
title: string;
|
|
15
|
-
photo: string;
|
|
16
|
-
validity: number;
|
|
17
|
-
nominal: number;
|
|
18
|
-
deliveryPrice: number;
|
|
19
|
-
extraPrice: number;
|
|
20
|
-
deliveryPossibility: boolean;
|
|
21
|
-
pickupPossibility: boolean;
|
|
22
|
-
information: string;
|
|
23
|
-
type: CertificateTypeEnum;
|
|
24
|
-
}[];
|
|
25
|
-
questrooms: {
|
|
26
|
-
id: number;
|
|
27
|
-
address: string;
|
|
28
|
-
fear: number;
|
|
29
|
-
difficult: number;
|
|
30
|
-
title: string;
|
|
31
|
-
photo: string;
|
|
32
|
-
time: number;
|
|
33
|
-
type: QuestroomTypeEnum;
|
|
34
|
-
howToFind: string;
|
|
35
|
-
playersMax: number;
|
|
36
|
-
playersMin: number;
|
|
37
|
-
minAge: number;
|
|
38
|
-
defaultLanguage: Languages;
|
|
39
|
-
languages: Languages[];
|
|
40
|
-
upsellings: {
|
|
41
|
-
id: number;
|
|
42
|
-
title: string;
|
|
43
|
-
description: string;
|
|
44
|
-
amount: number;
|
|
45
|
-
}[];
|
|
46
|
-
}[];
|
|
9
|
+
questroomId: number;
|
|
47
10
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.24",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "3103dd51445498bc0d46644ac7cf219a03a5014d",
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/validator": "13.0.0",
|
|
26
26
|
"alphakit-presets-lint": "^1.0.0",
|