@escapenavigator/types 1.6.51 → 1.6.52
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/admin/admin.ro.d.ts +1 -0
- package/dist/admin/create-admin.dto.d.ts +1 -0
- package/dist/admin/create-admin.dto.js +6 -0
- package/dist/openapi/now-escape/now-escape-order.ro.d.ts +14 -0
- package/dist/openapi/now-escape/now-escape-order.ro.js +59 -0
- package/dist/openapi/now-escape/now-escape-profile.ro.d.ts +6 -0
- package/dist/openapi/now-escape/now-escape-profile.ro.js +29 -0
- package/dist/openapi/now-escape/now-escape-questroom.ro.d.ts +17 -0
- package/dist/openapi/now-escape/now-escape-questroom.ro.js +66 -0
- package/dist/openapi/now-escape/openapi-now-escape-order.dto.d.ts +26 -0
- package/dist/openapi/now-escape/openapi-now-escape-order.dto.js +103 -0
- package/dist/openapi/now-escape/openapi-now-escape-price.dto.d.ts +4 -0
- package/dist/openapi/now-escape/openapi-now-escape-price.dto.js +27 -0
- package/dist/openapi/now-escape/openapi-now-escape-slot.ro.d.ts +7 -0
- package/dist/openapi/now-escape/openapi-now-escape-slot.ro.js +36 -0
- package/dist/openapi/now-escape/openapi-now-escape-slots.dto.d.ts +4 -0
- package/dist/openapi/now-escape/openapi-now-escape-slots.dto.js +27 -0
- package/dist/openapi/shared/openapi-questroom.ro.d.ts +2 -0
- package/dist/openapi/shared/openapi-questroom.ro.js +5 -0
- package/dist/openapi/slots/openapi-widget-slot.ro.d.ts +1 -1
- package/dist/order/order.ro.d.ts +1 -0
- package/dist/order/order.ro.js +4 -0
- package/dist/order/query-order.dto.d.ts +6 -6
- package/dist/order/query-order.dto.js +2 -3
- package/dist/profile/profile.ro.d.ts +1 -0
- package/dist/profile/profile.ro.js +4 -0
- package/dist/profile/update-current.dto.d.ts +1 -0
- package/dist/profile/update-current.dto.js +5 -0
- package/dist/questroom/create-questroom.dto.d.ts +1 -0
- package/dist/questroom/create-questroom.dto.js +6 -0
- package/dist/questroom/questroom.ro.d.ts +1 -0
- package/dist/shared/source.enum.d.ts +3 -1
- package/dist/shared/source.enum.js +2 -0
- package/dist/shared/success.ro.d.ts +1 -0
- package/dist/statistics/general.d.ts +32 -18
- package/dist/statistics/revenue.d.ts +11 -0
- package/dist/statistics/revenue.js +2 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upselling/create-upselling.dto.js +2 -0
- package/package.json +2 -2
package/dist/admin/admin.ro.d.ts
CHANGED
|
@@ -42,6 +42,12 @@ __decorate([
|
|
|
42
42
|
(0, class_transformer_1.Transform)(({ value }) => (typeof value === 'boolean' ? value : false)),
|
|
43
43
|
__metadata("design:type", Boolean)
|
|
44
44
|
], CreateAdminDto.prototype, "totalAccess", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsBoolean)(),
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
(0, class_transformer_1.Transform)(({ value }) => (typeof value === 'boolean' ? value : false)),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], CreateAdminDto.prototype, "nowEscape", void 0);
|
|
45
51
|
__decorate([
|
|
46
52
|
(0, class_validator_1.IsBoolean)(),
|
|
47
53
|
(0, class_transformer_1.Expose)(),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Languages } from '../../shared/enum/languages.enum';
|
|
2
|
+
import { NowEscapeQuestroomRO } from './now-escape-questroom.ro';
|
|
3
|
+
export declare class NowEscapeOrderRO {
|
|
4
|
+
code: string;
|
|
5
|
+
otherId: string;
|
|
6
|
+
slotId: number;
|
|
7
|
+
language?: Languages;
|
|
8
|
+
payed: number;
|
|
9
|
+
toPay: number;
|
|
10
|
+
total: number;
|
|
11
|
+
players: number;
|
|
12
|
+
utcDate: string;
|
|
13
|
+
questroom: NowEscapeQuestroomRO;
|
|
14
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.NowEscapeOrderRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const languages_enum_1 = require("../../shared/enum/languages.enum");
|
|
15
|
+
const now_escape_questroom_ro_1 = require("./now-escape-questroom.ro");
|
|
16
|
+
class NowEscapeOrderRO {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], NowEscapeOrderRO.prototype, "code", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], NowEscapeOrderRO.prototype, "otherId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], NowEscapeOrderRO.prototype, "slotId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], NowEscapeOrderRO.prototype, "language", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], NowEscapeOrderRO.prototype, "payed", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], NowEscapeOrderRO.prototype, "toPay", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], NowEscapeOrderRO.prototype, "total", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], NowEscapeOrderRO.prototype, "players", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], NowEscapeOrderRO.prototype, "utcDate", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
(0, class_transformer_1.Type)(() => now_escape_questroom_ro_1.NowEscapeQuestroomRO),
|
|
57
|
+
__metadata("design:type", now_escape_questroom_ro_1.NowEscapeQuestroomRO)
|
|
58
|
+
], NowEscapeOrderRO.prototype, "questroom", void 0);
|
|
59
|
+
exports.NowEscapeOrderRO = NowEscapeOrderRO;
|
|
@@ -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.NowEscapeProfileRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const countries_enum_1 = require("../../shared/enum/countries.enum");
|
|
15
|
+
class NowEscapeProfileRO {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], NowEscapeProfileRO.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], NowEscapeProfileRO.prototype, "title", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], NowEscapeProfileRO.prototype, "country", void 0);
|
|
29
|
+
exports.NowEscapeProfileRO = NowEscapeProfileRO;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { QuestroomTypeEnum } from '../../questroom/enum/questroom-type.enum';
|
|
2
|
+
declare class Location {
|
|
3
|
+
address: string;
|
|
4
|
+
phone: string;
|
|
5
|
+
timeZone: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class NowEscapeQuestroomRO {
|
|
8
|
+
id: number;
|
|
9
|
+
title: string;
|
|
10
|
+
slug: string;
|
|
11
|
+
photo: string;
|
|
12
|
+
type: QuestroomTypeEnum;
|
|
13
|
+
playersMax: number;
|
|
14
|
+
playersMin: number;
|
|
15
|
+
location: Location;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
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.NowEscapeQuestroomRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const questroom_type_enum_1 = require("../../questroom/enum/questroom-type.enum");
|
|
16
|
+
class Location {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
(0, class_transformer_1.Transform)(({ value }) => value.split(',').slice(0, -1).join(',')),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], Location.prototype, "address", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], Location.prototype, "phone", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], Location.prototype, "timeZone", void 0);
|
|
31
|
+
class NowEscapeQuestroomRO {
|
|
32
|
+
}
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], NowEscapeQuestroomRO.prototype, "id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], NowEscapeQuestroomRO.prototype, "title", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], NowEscapeQuestroomRO.prototype, "slug", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], NowEscapeQuestroomRO.prototype, "photo", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], NowEscapeQuestroomRO.prototype, "type", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], NowEscapeQuestroomRO.prototype, "playersMax", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], NowEscapeQuestroomRO.prototype, "playersMin", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
(0, class_transformer_1.Type)(() => Location),
|
|
64
|
+
__metadata("design:type", Location)
|
|
65
|
+
], NowEscapeQuestroomRO.prototype, "location", void 0);
|
|
66
|
+
exports.NowEscapeQuestroomRO = NowEscapeQuestroomRO;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare enum Status {
|
|
2
|
+
BOOKEN = "booked",
|
|
3
|
+
CANCELED = "canceled"
|
|
4
|
+
}
|
|
5
|
+
declare enum Paid {
|
|
6
|
+
TRUE = "true",
|
|
7
|
+
FALSE = "false"
|
|
8
|
+
}
|
|
9
|
+
export declare class OpenapiNowEscapeOrderDto {
|
|
10
|
+
first_name: string;
|
|
11
|
+
family_name: string;
|
|
12
|
+
phone: string;
|
|
13
|
+
email: string;
|
|
14
|
+
comment: string;
|
|
15
|
+
players: number;
|
|
16
|
+
date: string;
|
|
17
|
+
time: string;
|
|
18
|
+
your_slot_id: number;
|
|
19
|
+
unique_id: string;
|
|
20
|
+
paid_on_website: Paid;
|
|
21
|
+
status: Status;
|
|
22
|
+
source: string;
|
|
23
|
+
md5: string;
|
|
24
|
+
price: number;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,103 @@
|
|
|
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.OpenapiNowEscapeOrderDto = 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
|
+
var Status;
|
|
17
|
+
(function (Status) {
|
|
18
|
+
Status["BOOKEN"] = "booked";
|
|
19
|
+
Status["CANCELED"] = "canceled";
|
|
20
|
+
})(Status || (Status = {}));
|
|
21
|
+
var Paid;
|
|
22
|
+
(function (Paid) {
|
|
23
|
+
Paid["TRUE"] = "true";
|
|
24
|
+
Paid["FALSE"] = "false";
|
|
25
|
+
})(Paid || (Paid = {}));
|
|
26
|
+
class OpenapiNowEscapeOrderDto {
|
|
27
|
+
}
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], OpenapiNowEscapeOrderDto.prototype, "first_name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], OpenapiNowEscapeOrderDto.prototype, "family_name", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], OpenapiNowEscapeOrderDto.prototype, "phone", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], OpenapiNowEscapeOrderDto.prototype, "email", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], OpenapiNowEscapeOrderDto.prototype, "comment", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
(0, class_validator_1.IsPositive)(),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], OpenapiNowEscapeOrderDto.prototype, "players", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], OpenapiNowEscapeOrderDto.prototype, "date", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], OpenapiNowEscapeOrderDto.prototype, "time", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
(0, class_validator_1.IsPositive)(),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], OpenapiNowEscapeOrderDto.prototype, "your_slot_id", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_transformer_1.Expose)(),
|
|
75
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], OpenapiNowEscapeOrderDto.prototype, "unique_id", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_transformer_1.Expose)(),
|
|
80
|
+
(0, class_validator_1.IsEnum)(Paid),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], OpenapiNowEscapeOrderDto.prototype, "paid_on_website", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, class_transformer_1.Expose)(),
|
|
85
|
+
(0, class_validator_1.IsEnum)(Status),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], OpenapiNowEscapeOrderDto.prototype, "status", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, class_transformer_1.Expose)(),
|
|
90
|
+
(0, class_validator_1.IsOptional)(),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], OpenapiNowEscapeOrderDto.prototype, "source", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, class_transformer_1.Expose)(),
|
|
95
|
+
(0, class_validator_1.IsOptional)(),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], OpenapiNowEscapeOrderDto.prototype, "md5", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_transformer_1.Expose)(),
|
|
100
|
+
(0, class_validator_1.IsOptional)(),
|
|
101
|
+
__metadata("design:type", Number)
|
|
102
|
+
], OpenapiNowEscapeOrderDto.prototype, "price", void 0);
|
|
103
|
+
exports.OpenapiNowEscapeOrderDto = OpenapiNowEscapeOrderDto;
|
|
@@ -0,0 +1,27 @@
|
|
|
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.OpenapiNowEscapePriceDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
15
|
+
class OpenapiNowEscapePriceDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], OpenapiNowEscapePriceDto.prototype, "date", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], OpenapiNowEscapePriceDto.prototype, "time", void 0);
|
|
27
|
+
exports.OpenapiNowEscapePriceDto = OpenapiNowEscapePriceDto;
|
|
@@ -0,0 +1,36 @@
|
|
|
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.OpenapiNowEscapeSlotRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class OpenapiNowEscapeSlotRO {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_transformer_1.Expose)(),
|
|
18
|
+
__metadata("design:type", Boolean)
|
|
19
|
+
], OpenapiNowEscapeSlotRO.prototype, "is_free", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], OpenapiNowEscapeSlotRO.prototype, "date", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], OpenapiNowEscapeSlotRO.prototype, "time", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], OpenapiNowEscapeSlotRO.prototype, "price", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], OpenapiNowEscapeSlotRO.prototype, "your_slot_id", void 0);
|
|
36
|
+
exports.OpenapiNowEscapeSlotRO = OpenapiNowEscapeSlotRO;
|
|
@@ -0,0 +1,27 @@
|
|
|
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.OpenapiNowEscapeSlotsDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class OpenapiNowEscapeSlotsDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], OpenapiNowEscapeSlotsDto.prototype, "from", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], OpenapiNowEscapeSlotsDto.prototype, "to", void 0);
|
|
27
|
+
exports.OpenapiNowEscapeSlotsDto = OpenapiNowEscapeSlotsDto;
|
|
@@ -20,6 +20,7 @@ export declare const transformQuestroom: ({ value, language, }: {
|
|
|
20
20
|
time: number;
|
|
21
21
|
type: QuestroomTypeEnum;
|
|
22
22
|
playersMax: number;
|
|
23
|
+
disabledLanguages: Languages[];
|
|
23
24
|
playersMin: number;
|
|
24
25
|
onlinePaymentsCashbox: number;
|
|
25
26
|
paypalCashbox: number;
|
|
@@ -53,6 +54,7 @@ export declare class OpenapiQuestroomRO {
|
|
|
53
54
|
time: number;
|
|
54
55
|
type: QuestroomTypeEnum;
|
|
55
56
|
playersMax: number;
|
|
57
|
+
disabledLanguages: Languages[];
|
|
56
58
|
playersMin: number;
|
|
57
59
|
onlinePaymentsCashbox: number;
|
|
58
60
|
paypalCashbox: number;
|
|
@@ -69,6 +69,7 @@ class Location {
|
|
|
69
69
|
}
|
|
70
70
|
__decorate([
|
|
71
71
|
(0, class_transformer_1.Expose)(),
|
|
72
|
+
(0, class_transformer_1.Transform)(({ value }) => value.split(',').slice(0, -1).join(',')),
|
|
72
73
|
__metadata("design:type", String)
|
|
73
74
|
], Location.prototype, "address", void 0);
|
|
74
75
|
__decorate([
|
|
@@ -126,6 +127,10 @@ __decorate([
|
|
|
126
127
|
(0, class_transformer_1.Expose)(),
|
|
127
128
|
__metadata("design:type", Number)
|
|
128
129
|
], OpenapiQuestroomRO.prototype, "playersMax", void 0);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, class_transformer_1.Expose)(),
|
|
132
|
+
__metadata("design:type", Array)
|
|
133
|
+
], OpenapiQuestroomRO.prototype, "disabledLanguages", void 0);
|
|
129
134
|
__decorate([
|
|
130
135
|
(0, class_transformer_1.Expose)(),
|
|
131
136
|
__metadata("design:type", Number)
|
|
@@ -11,7 +11,7 @@ export declare class OpenapiSlotRO {
|
|
|
11
11
|
date: string;
|
|
12
12
|
numSeatsAvailable: number;
|
|
13
13
|
tariff: OpenapiTariffRO;
|
|
14
|
-
status: 'bussy' | 'call' | 'free' | 'hold';
|
|
14
|
+
status: 'bussy' | 'call' | 'free' | 'hold' | 'selected' | 'done';
|
|
15
15
|
rule: OpenapiBokingRuleRO;
|
|
16
16
|
privateEvent: boolean;
|
|
17
17
|
}
|
package/dist/order/order.ro.d.ts
CHANGED
package/dist/order/order.ro.js
CHANGED
|
@@ -266,6 +266,10 @@ __decorate([
|
|
|
266
266
|
(0, class_transformer_1.Expose)(),
|
|
267
267
|
__metadata("design:type", Number)
|
|
268
268
|
], OrderRO.prototype, "moderatorId", void 0);
|
|
269
|
+
__decorate([
|
|
270
|
+
(0, class_transformer_1.Expose)(),
|
|
271
|
+
__metadata("design:type", Number)
|
|
272
|
+
], OrderRO.prototype, "otherPayment", void 0);
|
|
269
273
|
__decorate([
|
|
270
274
|
(0, class_transformer_1.Expose)(),
|
|
271
275
|
__metadata("design:type", Number)
|
|
@@ -2,11 +2,11 @@ import { Languages } from '../shared/enum/languages.enum';
|
|
|
2
2
|
import { SourceEnum } from '../shared/source.enum';
|
|
3
3
|
import { OrderStatusEnum } from './enum/order-status.enum';
|
|
4
4
|
export declare class QueryOrderDto {
|
|
5
|
-
utmSource
|
|
6
|
-
utmMedium
|
|
7
|
-
utmCampaign
|
|
8
|
-
utmContent
|
|
9
|
-
utmTerm
|
|
5
|
+
utmSource?: string;
|
|
6
|
+
utmMedium?: string;
|
|
7
|
+
utmCampaign?: string;
|
|
8
|
+
utmContent?: string;
|
|
9
|
+
utmTerm?: string;
|
|
10
10
|
date?: [string, string];
|
|
11
11
|
created?: [string, string];
|
|
12
12
|
clientId?: string;
|
|
@@ -15,6 +15,6 @@ export declare class QueryOrderDto {
|
|
|
15
15
|
questroomsIds?: number[];
|
|
16
16
|
moderatorsIds?: number[];
|
|
17
17
|
orderStatus?: OrderStatusEnum;
|
|
18
|
-
source?: SourceEnum;
|
|
18
|
+
source?: SourceEnum[];
|
|
19
19
|
language?: Languages;
|
|
20
20
|
}
|
|
@@ -13,7 +13,6 @@ exports.QueryOrderDto = void 0;
|
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
16
|
-
const source_enum_1 = require("../shared/source.enum");
|
|
17
16
|
const order_status_enum_1 = require("./enum/order-status.enum");
|
|
18
17
|
class QueryOrderDto {
|
|
19
18
|
}
|
|
@@ -88,9 +87,9 @@ __decorate([
|
|
|
88
87
|
], QueryOrderDto.prototype, "orderStatus", void 0);
|
|
89
88
|
__decorate([
|
|
90
89
|
(0, class_validator_1.IsOptional)(),
|
|
91
|
-
(0, class_validator_1.
|
|
90
|
+
(0, class_validator_1.IsArray)(),
|
|
92
91
|
(0, class_transformer_1.Expose)(),
|
|
93
|
-
__metadata("design:type",
|
|
92
|
+
__metadata("design:type", Array)
|
|
94
93
|
], QueryOrderDto.prototype, "source", void 0);
|
|
95
94
|
__decorate([
|
|
96
95
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -118,6 +118,10 @@ __decorate([
|
|
|
118
118
|
(0, class_transformer_1.Expose)(),
|
|
119
119
|
__metadata("design:type", Array)
|
|
120
120
|
], ProfileRO.prototype, "availableLanguages", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, class_transformer_1.Expose)(),
|
|
123
|
+
__metadata("design:type", Boolean)
|
|
124
|
+
], ProfileRO.prototype, "nowEscape", void 0);
|
|
121
125
|
__decorate([
|
|
122
126
|
(0, class_transformer_1.Expose)(),
|
|
123
127
|
__metadata("design:type", String)
|
|
@@ -46,6 +46,11 @@ __decorate([
|
|
|
46
46
|
(0, class_transformer_1.Expose)(),
|
|
47
47
|
__metadata("design:type", String)
|
|
48
48
|
], UpdateCurrentDto.prototype, "ga4Id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", Boolean)
|
|
53
|
+
], UpdateCurrentDto.prototype, "nowEscape", void 0);
|
|
49
54
|
__decorate([
|
|
50
55
|
(0, class_validator_1.IsOptional)(),
|
|
51
56
|
(0, class_transformer_1.Expose)(),
|
|
@@ -184,6 +184,12 @@ __decorate([
|
|
|
184
184
|
(0, class_transformer_1.Expose)(),
|
|
185
185
|
__metadata("design:type", Boolean)
|
|
186
186
|
], CreateQuestroomDto.prototype, "closed", void 0);
|
|
187
|
+
__decorate([
|
|
188
|
+
(0, class_validator_1.IsOptional)(),
|
|
189
|
+
(0, class_validator_1.IsArray)(),
|
|
190
|
+
(0, class_transformer_1.Expose)(),
|
|
191
|
+
__metadata("design:type", Array)
|
|
192
|
+
], CreateQuestroomDto.prototype, "disabledLanguages", void 0);
|
|
187
193
|
__decorate([
|
|
188
194
|
(0, class_validator_1.ValidateIf)((o) => !o.closed),
|
|
189
195
|
(0, class_validator_1.IsArray)(),
|