@escapenavigator/types 1.9.23 → 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/profile/enum/profile-currency.d.ts +14 -1
- package/dist/profile/enum/profile-currency.js +13 -0
- package/dist/profile/profile.ro.d.ts +1 -0
- package/dist/profile/profile.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)
|
|
@@ -11,5 +11,18 @@ export declare enum ProfileCurrencyEnum {
|
|
|
11
11
|
HUF = "HUF",
|
|
12
12
|
CAD = "CAD",
|
|
13
13
|
BGN = "BGN",
|
|
14
|
-
AUD = "AUD"
|
|
14
|
+
AUD = "AUD",
|
|
15
|
+
TRY = "TRY",
|
|
16
|
+
GEL = "GEL",
|
|
17
|
+
MDL = "MDL",
|
|
18
|
+
BYN = "BYN",
|
|
19
|
+
UAH = "UAH",
|
|
20
|
+
ISK = "ISK",
|
|
21
|
+
ALL = "ALL",
|
|
22
|
+
BAM = "BAM",
|
|
23
|
+
MKD = "MKD",
|
|
24
|
+
RON = "RON",
|
|
25
|
+
HRK = "HRK",
|
|
26
|
+
RSD = "RSD",
|
|
27
|
+
NOK = "NOK"
|
|
15
28
|
}
|
|
@@ -16,6 +16,19 @@ var ProfileCurrencyEnum;
|
|
|
16
16
|
ProfileCurrencyEnum["CAD"] = "CAD";
|
|
17
17
|
ProfileCurrencyEnum["BGN"] = "BGN";
|
|
18
18
|
ProfileCurrencyEnum["AUD"] = "AUD";
|
|
19
|
+
ProfileCurrencyEnum["TRY"] = "TRY";
|
|
20
|
+
ProfileCurrencyEnum["GEL"] = "GEL";
|
|
21
|
+
ProfileCurrencyEnum["MDL"] = "MDL";
|
|
22
|
+
ProfileCurrencyEnum["BYN"] = "BYN";
|
|
23
|
+
ProfileCurrencyEnum["UAH"] = "UAH";
|
|
24
|
+
ProfileCurrencyEnum["ISK"] = "ISK";
|
|
25
|
+
ProfileCurrencyEnum["ALL"] = "ALL";
|
|
26
|
+
ProfileCurrencyEnum["BAM"] = "BAM";
|
|
27
|
+
ProfileCurrencyEnum["MKD"] = "MKD";
|
|
28
|
+
ProfileCurrencyEnum["RON"] = "RON";
|
|
29
|
+
ProfileCurrencyEnum["HRK"] = "HRK";
|
|
30
|
+
ProfileCurrencyEnum["RSD"] = "RSD";
|
|
31
|
+
ProfileCurrencyEnum["NOK"] = "NOK";
|
|
19
32
|
})(ProfileCurrencyEnum = exports.ProfileCurrencyEnum || (exports.ProfileCurrencyEnum = {}));
|
|
20
33
|
// export enum ProfileCurrencyEnum {
|
|
21
34
|
// EUR = 'EUR',
|
|
@@ -9,6 +9,7 @@ import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.en
|
|
|
9
9
|
import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
|
|
10
10
|
export declare class ProfileRO {
|
|
11
11
|
gaEnabled: boolean;
|
|
12
|
+
balance: number;
|
|
12
13
|
fbPixelEnabled: boolean;
|
|
13
14
|
fbPixelId: string;
|
|
14
15
|
ga4Id: string;
|
|
@@ -26,6 +26,10 @@ __decorate([
|
|
|
26
26
|
(0, class_transformer_1.Expose)(),
|
|
27
27
|
__metadata("design:type", Boolean)
|
|
28
28
|
], ProfileRO.prototype, "gaEnabled", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], ProfileRO.prototype, "balance", void 0);
|
|
29
33
|
__decorate([
|
|
30
34
|
(0, class_transformer_1.Expose)(),
|
|
31
35
|
__metadata("design:type", Boolean)
|
|
@@ -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)),
|