@escapenavigator/types 1.4.20 → 1.4.23
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 +1 -1
- package/dist/agregator/agregator-questroom-card.ro.d.ts +2 -2
- 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-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/certificate-sale.ro.d.ts +4 -4
- package/dist/certificate-sale/create-certificatesale.dto.d.ts +1 -1
- 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/questroom/agregator-questroom.ro.d.ts +3 -3
- package/dist/questroom/create-questroom.dto.d.ts +3 -3
- package/dist/questroom/questroom.ro.d.ts +3 -3
- package/dist/review/review.ro.d.ts +10 -8
- package/dist/shared/enum/countries.enum.d.ts +3 -3
- 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/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 +1 -1
- 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 +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 = {}));
|
|
@@ -1,16 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ClientResponseObject } from './../client/client.ro';
|
|
2
|
+
import { CertificatesaleDeliveryTypeEnum } from '../certificate-sale/enum/certificatesales-delivery-type.enum';
|
|
3
|
+
import { CertificatesaleStatusEnum } from '../certificate-sale/enum/certificatessales-status.enum';
|
|
3
4
|
export declare type WidgetOpenapiCertificateResponseObject = {
|
|
4
5
|
id: number;
|
|
5
6
|
code: number;
|
|
6
7
|
payed: number;
|
|
7
8
|
totalPrice: number;
|
|
8
9
|
deliveryPrice: number;
|
|
9
|
-
deliveryType: CertificatesaleDeliveryTypeEnum;
|
|
10
|
-
deliveryEmail?: string;
|
|
11
|
-
deliveryAddress?: string;
|
|
12
10
|
title: string;
|
|
13
11
|
status: CertificatesaleStatusEnum;
|
|
14
12
|
prepayment: number;
|
|
15
13
|
buissy: boolean;
|
|
14
|
+
client: ClientResponseObject;
|
|
15
|
+
toPay: number;
|
|
16
|
+
nominal: number;
|
|
17
|
+
expireDate: string;
|
|
18
|
+
extraPrice: number;
|
|
19
|
+
delivery: {
|
|
20
|
+
deliveryAddress?: string;
|
|
21
|
+
deliveryCity?: string;
|
|
22
|
+
deliveryCompany?: string;
|
|
23
|
+
deliveryEmail?: string;
|
|
24
|
+
deliveryFullname?: string;
|
|
25
|
+
deliveryMessage?: string;
|
|
26
|
+
deliveryPhone?: string;
|
|
27
|
+
deliveryPostCode?: string;
|
|
28
|
+
deliveryType?: CertificatesaleDeliveryTypeEnum;
|
|
29
|
+
id?: number;
|
|
30
|
+
sendingDate?: string;
|
|
31
|
+
trackingNumber?: string;
|
|
32
|
+
};
|
|
16
33
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CertificatesaleDeliveryTypeEnum } from
|
|
1
|
+
import { CertificatesaleDeliveryTypeEnum } from '../certificate-sale/enum/certificatesales-delivery-type.enum';
|
|
2
2
|
export declare class WidgetOpenapiCreateCertificateDto {
|
|
3
3
|
name: string;
|
|
4
4
|
surname: string;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.WidgetOpenapiCreateReviewDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class WidgetOpenapiCreateReviewDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsNumber)(),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], WidgetOpenapiCreateReviewDto.prototype, "questroomId", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsNumber)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], WidgetOpenapiCreateReviewDto.prototype, "clientId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], WidgetOpenapiCreateReviewDto.prototype, "text", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsNumber)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], WidgetOpenapiCreateReviewDto.prototype, "plot", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsNumber)(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], WidgetOpenapiCreateReviewDto.prototype, "mobility", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsNumber)(),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], WidgetOpenapiCreateReviewDto.prototype, "atmosphere", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsNumber)(),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], WidgetOpenapiCreateReviewDto.prototype, "clean", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsNumber)(),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], WidgetOpenapiCreateReviewDto.prototype, "puzzle", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsNumber)(),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], WidgetOpenapiCreateReviewDto.prototype, "team", void 0);
|
|
52
|
+
exports.WidgetOpenapiCreateReviewDto = WidgetOpenapiCreateReviewDto;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.WidgetOpenapiFindReviewsDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class WidgetOpenapiFindReviewsDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], WidgetOpenapiFindReviewsDto.prototype, "questroomId", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], WidgetOpenapiFindReviewsDto.prototype, "skip", void 0);
|
|
24
|
+
exports.WidgetOpenapiFindReviewsDto = WidgetOpenapiFindReviewsDto;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { OrderStatusEnum } from '../order/enum/order-status.enum';
|
|
2
|
+
import { Languages } from '../shared/enum/languages.enum';
|
|
3
|
+
import { TariffResponseObject } from '../tariff/tariff.ro';
|
|
4
4
|
export declare type WidgetOpenapiOrderResponseObject = {
|
|
5
5
|
id: number;
|
|
6
6
|
status: OrderStatusEnum;
|
|
@@ -8,11 +8,11 @@ export declare type WidgetOpenapiOrderResponseObject = {
|
|
|
8
8
|
questroomId: number;
|
|
9
9
|
players: number;
|
|
10
10
|
date: string;
|
|
11
|
-
upsellings: {
|
|
11
|
+
upsellings: Array<{
|
|
12
12
|
id: number;
|
|
13
13
|
title: string;
|
|
14
14
|
amount: number;
|
|
15
|
-
}
|
|
15
|
+
}>;
|
|
16
16
|
certificate: {
|
|
17
17
|
id: number;
|
|
18
18
|
code: string;
|
|
@@ -26,6 +26,6 @@ export declare type WidgetOpenapiOrderResponseObject = {
|
|
|
26
26
|
prepayment: number;
|
|
27
27
|
buissy: boolean;
|
|
28
28
|
time: string;
|
|
29
|
-
price: TariffResponseObject[
|
|
29
|
+
price: TariffResponseObject['price'];
|
|
30
30
|
clientEmail: string;
|
|
31
31
|
};
|
|
@@ -11,12 +11,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.WidgetOpenapiScheduleQueryDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_validator_2 = require("class-validator");
|
|
15
14
|
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
16
15
|
class WidgetOpenapiScheduleQueryDto {
|
|
17
16
|
}
|
|
18
17
|
__decorate([
|
|
19
|
-
(0,
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
19
|
__metadata("design:type", String)
|
|
21
20
|
], WidgetOpenapiScheduleQueryDto.prototype, "widgetUid", void 0);
|
|
22
21
|
__decorate([
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { CertificateTypeEnum } from '../certificate/enum/certificate-type.enum';
|
|
2
|
+
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
|
+
import { WidgetTypeEnum } from '../widget/enum/widget-type.enum';
|
|
5
6
|
export declare type WidgetOpenApiResponseObject = {
|
|
6
7
|
type: WidgetTypeEnum;
|
|
7
8
|
color?: string;
|
|
@@ -19,6 +20,7 @@ export declare type WidgetOpenApiResponseObject = {
|
|
|
19
20
|
deliveryPossibility: boolean;
|
|
20
21
|
pickupPossibility: boolean;
|
|
21
22
|
information: string;
|
|
23
|
+
type: CertificateTypeEnum;
|
|
22
24
|
}[];
|
|
23
25
|
questrooms: {
|
|
24
26
|
id: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.23",
|
|
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": "8619c1bd8c2ff645ee6621cebe06e36669c73a7d",
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/validator": "13.0.0",
|
|
26
26
|
"alphakit-presets-lint": "^1.0.0",
|