@escapenavigator/types 1.9.24 → 1.9.25
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/cashbox/create-online-cashbox.dto.d.ts +1 -1
- package/dist/cashbox/create-online-cashbox.dto.js +1 -1
- package/dist/cashbox/enum/cashbox-type.enum.d.ts +1 -0
- package/dist/cashbox/enum/cashbox-type.enum.js +1 -0
- package/dist/certificate/certificate.ro.d.ts +1 -0
- package/dist/certificate/certificate.ro.js +4 -0
- package/dist/certificate/create-certificate.dto.d.ts +1 -0
- package/dist/certificate/create-certificate.dto.js +5 -0
- package/dist/openapi/certificates/openapi-certificate-template.ro.d.ts +1 -0
- package/dist/openapi/certificates/openapi-certificate-template.ro.js +4 -0
- package/dist/openapi/shared/openapi-questroom.ro.d.ts +2 -0
- package/dist/openapi/shared/openapi-questroom.ro.js +4 -0
- package/dist/questroom/create-questroom.dto.d.ts +1 -0
- package/dist/questroom/create-questroom.dto.js +5 -0
- package/dist/questroom/questroom.ro.d.ts +1 -0
- package/dist/questroom/questroom.ro.js +4 -0
- package/dist/questroom/update-admin-questroom.dto.d.ts +1 -0
- package/dist/questroom/update-admin-questroom.dto.js +5 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import { PrepaymentTypeEnum } from '../slot/enum/prepayment-type.enum';
|
|
|
2
2
|
import { CashboxTypeEnum } from './enum/cashbox-type.enum';
|
|
3
3
|
export declare class CreateOnlineCashboxDto {
|
|
4
4
|
title: string;
|
|
5
|
-
type: CashboxTypeEnum.PAYPAL | CashboxTypeEnum.STRIPE;
|
|
5
|
+
type: CashboxTypeEnum.PAYPAL | CashboxTypeEnum.STRIPE | CashboxTypeEnum.BS;
|
|
6
6
|
identificator?: string;
|
|
7
7
|
questroomsIds: number[];
|
|
8
8
|
certificatesIds: number[];
|
|
@@ -28,7 +28,7 @@ __decorate([
|
|
|
28
28
|
__metadata("design:type", String)
|
|
29
29
|
], CreateOnlineCashboxDto.prototype, "type", void 0);
|
|
30
30
|
__decorate([
|
|
31
|
-
(0, class_validator_1.ValidateIf)((o) => o.type === cashbox_type_enum_1.CashboxTypeEnum.PAYPAL),
|
|
31
|
+
(0, class_validator_1.ValidateIf)((o) => o.type === cashbox_type_enum_1.CashboxTypeEnum.PAYPAL || o.type === cashbox_type_enum_1.CashboxTypeEnum.BS),
|
|
32
32
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
33
33
|
(0, class_transformer_1.Expose)(),
|
|
34
34
|
__metadata("design:type", String)
|
|
@@ -7,5 +7,6 @@ var CashboxTypeEnum;
|
|
|
7
7
|
CashboxTypeEnum["BANK"] = "bank";
|
|
8
8
|
CashboxTypeEnum["POS"] = "pos";
|
|
9
9
|
CashboxTypeEnum["PAYPAL"] = "paypal";
|
|
10
|
+
CashboxTypeEnum["BS"] = "bs";
|
|
10
11
|
CashboxTypeEnum["STRIPE"] = "stripe";
|
|
11
12
|
})(CashboxTypeEnum = exports.CashboxTypeEnum || (exports.CashboxTypeEnum = {}));
|
|
@@ -54,6 +54,10 @@ __decorate([
|
|
|
54
54
|
(0, class_transformer_1.Expose)(),
|
|
55
55
|
__metadata("design:type", Number)
|
|
56
56
|
], CertificateRO.prototype, "onlinePaymentsCashbox", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], CertificateRO.prototype, "bsCashbox", void 0);
|
|
57
61
|
__decorate([
|
|
58
62
|
(0, class_transformer_1.Expose)(),
|
|
59
63
|
__metadata("design:type", Number)
|
|
@@ -33,6 +33,11 @@ __decorate([
|
|
|
33
33
|
(0, class_transformer_1.Expose)(),
|
|
34
34
|
__metadata("design:type", Number)
|
|
35
35
|
], CreateCertificateDto.prototype, "onlinePaymentsCashbox", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], CreateCertificateDto.prototype, "bsCashbox", void 0);
|
|
36
41
|
__decorate([
|
|
37
42
|
(0, class_validator_1.IsOptional)(),
|
|
38
43
|
(0, class_transformer_1.Expose)(),
|
|
@@ -33,6 +33,10 @@ __decorate([
|
|
|
33
33
|
(0, class_transformer_1.Expose)(),
|
|
34
34
|
__metadata("design:type", Number)
|
|
35
35
|
], OpenapiCertificateTemplateRO.prototype, "paypalCashbox", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], OpenapiCertificateTemplateRO.prototype, "bsCashbox", void 0);
|
|
36
40
|
__decorate([
|
|
37
41
|
(0, class_transformer_1.Expose)(),
|
|
38
42
|
__metadata("design:type", String)
|
|
@@ -23,6 +23,7 @@ export declare const transformQuestroom: ({ value, language, }: {
|
|
|
23
23
|
disabledLanguages: Languages[];
|
|
24
24
|
playersMin: number;
|
|
25
25
|
onlinePaymentsCashbox: number;
|
|
26
|
+
bsCashbox: number;
|
|
26
27
|
paypalCashbox: number;
|
|
27
28
|
modes: Mode[];
|
|
28
29
|
minAge: number;
|
|
@@ -62,6 +63,7 @@ export declare class OpenapiQuestroomRO {
|
|
|
62
63
|
disabledLanguages: Languages[];
|
|
63
64
|
playersMin: number;
|
|
64
65
|
onlinePaymentsCashbox: number;
|
|
66
|
+
bsCashbox: number;
|
|
65
67
|
paypalCashbox: number;
|
|
66
68
|
importantInfo: string;
|
|
67
69
|
modes: Mode[];
|
|
@@ -149,6 +149,10 @@ __decorate([
|
|
|
149
149
|
(0, class_transformer_1.Expose)(),
|
|
150
150
|
__metadata("design:type", Number)
|
|
151
151
|
], OpenapiQuestroomRO.prototype, "onlinePaymentsCashbox", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, class_transformer_1.Expose)(),
|
|
154
|
+
__metadata("design:type", Number)
|
|
155
|
+
], OpenapiQuestroomRO.prototype, "bsCashbox", void 0);
|
|
152
156
|
__decorate([
|
|
153
157
|
(0, class_transformer_1.Expose)(),
|
|
154
158
|
__metadata("design:type", Number)
|
|
@@ -131,6 +131,11 @@ __decorate([
|
|
|
131
131
|
(0, class_transformer_1.Expose)(),
|
|
132
132
|
__metadata("design:type", Number)
|
|
133
133
|
], CreateQuestroomDto.prototype, "onlinePaymentsCashbox", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, class_validator_1.IsOptional)(),
|
|
136
|
+
(0, class_transformer_1.Expose)(),
|
|
137
|
+
__metadata("design:type", Number)
|
|
138
|
+
], CreateQuestroomDto.prototype, "bsCashbox", void 0);
|
|
134
139
|
__decorate([
|
|
135
140
|
(0, class_validator_1.IsOptional)(),
|
|
136
141
|
(0, class_transformer_1.Expose)(),
|
|
@@ -212,6 +212,10 @@ __decorate([
|
|
|
212
212
|
(0, class_transformer_1.Expose)(),
|
|
213
213
|
__metadata("design:type", Number)
|
|
214
214
|
], QuestroomRO.prototype, "onlinePaymentsCashbox", void 0);
|
|
215
|
+
__decorate([
|
|
216
|
+
(0, class_transformer_1.Expose)(),
|
|
217
|
+
__metadata("design:type", Number)
|
|
218
|
+
], QuestroomRO.prototype, "bsCashbox", void 0);
|
|
215
219
|
__decorate([
|
|
216
220
|
(0, class_transformer_1.Expose)(),
|
|
217
221
|
__metadata("design:type", Boolean)
|
|
@@ -107,6 +107,11 @@ __decorate([
|
|
|
107
107
|
(0, class_transformer_1.Expose)(),
|
|
108
108
|
__metadata("design:type", Number)
|
|
109
109
|
], UpdateAdminQuestroomDto.prototype, "paypalCashbox", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
(0, class_transformer_1.Expose)(),
|
|
113
|
+
__metadata("design:type", Number)
|
|
114
|
+
], UpdateAdminQuestroomDto.prototype, "bsCashbox", void 0);
|
|
110
115
|
__decorate([
|
|
111
116
|
(0, class_validator_1.IsBoolean)(),
|
|
112
117
|
(0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : true)),
|