@escapenavigator/types 1.6.77 → 1.6.79
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/agb/agb-type.enum.d.ts +2 -1
- package/dist/agb/agb-type.enum.js +1 -0
- package/dist/cashbox/cashbox.ro.d.ts +5 -3
- package/dist/cashbox/cashbox.ro.js +45 -0
- package/dist/cashbox/create-cashbox.dto.d.ts +2 -0
- package/dist/cashbox/create-cashbox.dto.js +10 -0
- package/dist/cashbox/enum/cashbox-type.enum.d.ts +1 -0
- package/dist/cashbox/enum/cashbox-type.enum.js +1 -0
- package/dist/client/client-form.dto.d.ts +1 -1
- package/dist/client/client-form.dto.js +6 -6
- package/dist/client/client.ro.d.ts +1 -1
- package/dist/client/client.ro.js +4 -4
- package/dist/client/create-client.dto.d.ts +0 -1
- package/dist/client/create-client.dto.js +0 -6
- package/dist/emails/index.d.ts +9 -1
- package/dist/forms/widget/widget-client-form.dto.js +1 -1
- package/dist/location/create-location.dto.d.ts +1 -0
- package/dist/location/create-location.dto.js +6 -0
- package/dist/location/location.ro.d.ts +1 -0
- package/dist/mailchimp/mailchimp-status.enum.d.ts +5 -0
- package/dist/mailchimp/mailchimp-status.enum.js +9 -0
- package/dist/mailchimp/mailchimp.dto.d.ts +10 -0
- package/dist/mailchimp/mailchimp.dto.js +44 -0
- package/dist/mailchimp/mailchimp.list.ro.d.ts +4 -0
- package/dist/mailchimp/mailchimp.list.ro.js +24 -0
- package/dist/mailchimp/mailchimp.ro.d.ts +13 -0
- package/dist/mailchimp/mailchimp.ro.js +43 -0
- package/dist/openapi/certificates/openapi-create-certificate-sale.dto.js +1 -1
- package/dist/openapi/now-escape/now-escape-order.ro.d.ts +8 -1
- package/dist/openapi/now-escape/now-escape-order.ro.js +35 -13
- package/dist/openapi/orders/openapi-order.ro.d.ts +1 -0
- package/dist/openapi/orders/openapi-order.ro.js +4 -0
- package/dist/openapi/widget/openapi-widget-info.ro.d.ts +10 -0
- package/dist/openapi/widget/openapi-widget-info.ro.js +36 -0
- package/dist/order/order.ro.d.ts +4 -1
- package/dist/order/order.ro.js +19 -4
- package/dist/order/update-order.dto.d.ts +0 -1
- package/dist/order/update-order.dto.js +0 -5
- package/dist/order/update-participants.dto.js +1 -0
- package/dist/profile/cross-sale/cross-sale.dto.d.ts +2 -3
- package/dist/profile/cross-sale/cross-sale.dto.js +16 -7
- package/dist/profile/cross-sale/cross-sale.ro.d.ts +2 -3
- package/dist/profile/cross-sale/cross-sale.ro.js +7 -6
- package/dist/profile/cross-sale/early-booking/early-booking.dto.d.ts +7 -0
- package/dist/profile/cross-sale/early-booking/early-booking.dto.js +38 -0
- package/dist/profile/cross-sale/early-booking/early-booking.ro.d.ts +8 -0
- package/dist/profile/cross-sale/early-booking/early-booking.ro.js +32 -0
- package/dist/profile/cross-sale/retargeting/retargeting.dto.d.ts +10 -0
- package/dist/profile/cross-sale/retargeting/retargeting.dto.js +49 -0
- package/dist/profile/cross-sale/retargeting/retargeting.ro.d.ts +11 -0
- package/dist/profile/cross-sale/retargeting/retargeting.ro.js +41 -0
- package/dist/profile/cross-sale/toggle-status.dto.d.ts +5 -0
- package/dist/profile/cross-sale/toggle-status.dto.js +29 -0
- package/dist/profile/cross-sale/up-sale/up-sale.dto.d.ts +7 -0
- package/dist/profile/cross-sale/up-sale/up-sale.dto.js +38 -0
- package/dist/profile/cross-sale/up-sale/up-sale.ro.d.ts +8 -0
- package/dist/profile/cross-sale/up-sale/up-sale.ro.js +32 -0
- package/dist/profile/widget-customization/update-widget-customization.dto.d.ts +1 -0
- package/dist/profile/widget-customization/update-widget-customization.dto.js +5 -0
- package/dist/profile/widget-customization/widget-customization.ro.d.ts +1 -0
- package/dist/profile/widget-customization/widget-customization.ro.js +4 -0
- package/dist/questroom/create-questroom.dto.d.ts +0 -2
- package/dist/questroom/create-questroom.dto.js +0 -10
- package/dist/questroom/questroom-admin.ro.d.ts +0 -2
- package/dist/questroom/questroom-admin.ro.js +0 -8
- package/dist/questroom/questroom.ro.d.ts +0 -2
- package/dist/questroom/questroom.ro.js +0 -8
- package/dist/role/create-role.dto.d.ts +2 -0
- package/dist/role/create-role.dto.js +12 -0
- package/dist/role/role.ro.d.ts +2 -0
- package/dist/role/role.ro.js +8 -0
- package/dist/shared/feedback-validators.d.ts +2 -0
- package/dist/shared/feedback-validators.js +26 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/sessions/create-day-sessions.dto.d.ts +1 -0
- package/dist/user/sessions/create-day-sessions.dto.js +5 -0
- package/dist/user/sessions/update-day-sessions.dto.d.ts +1 -0
- package/dist/user/sessions/update-day-sessions.dto.js +5 -0
- package/package.json +2 -2
|
@@ -9,4 +9,5 @@ var AgbTypeEnum;
|
|
|
9
9
|
AgbTypeEnum["PRIVACY_POLICY"] = "privacy_policy";
|
|
10
10
|
AgbTypeEnum["AGREEMENT"] = "agreement";
|
|
11
11
|
AgbTypeEnum["PARTNER_PROGRAMM"] = "partner_programm";
|
|
12
|
+
AgbTypeEnum["CUSTOMERS_AGREEEMENT"] = "customers_agreement";
|
|
12
13
|
})(AgbTypeEnum = exports.AgbTypeEnum || (exports.AgbTypeEnum = {}));
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RO } from '../shared/ro-class';
|
|
2
2
|
import { PrepaymentTypeEnum } from '../slot/enum/prepayment-type.enum';
|
|
3
3
|
import { CashboxTypeEnum } from './enum/cashbox-type.enum';
|
|
4
|
-
export declare
|
|
4
|
+
export declare class CashboxRO extends RO {
|
|
5
5
|
title: string;
|
|
6
6
|
type: CashboxTypeEnum;
|
|
7
7
|
identificator?: string;
|
|
8
8
|
increase: number;
|
|
9
|
+
allLocations: boolean;
|
|
10
|
+
locationIds: number[];
|
|
9
11
|
increaseType: PrepaymentTypeEnum;
|
|
10
|
-
}
|
|
12
|
+
}
|
|
@@ -1,2 +1,47 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CashboxRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const ro_class_1 = require("../shared/ro-class");
|
|
15
|
+
const prepayment_type_enum_1 = require("../slot/enum/prepayment-type.enum");
|
|
16
|
+
const cashbox_type_enum_1 = require("./enum/cashbox-type.enum");
|
|
17
|
+
class CashboxRO extends ro_class_1.RO {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CashboxRO.prototype, "title", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CashboxRO.prototype, "type", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CashboxRO.prototype, "identificator", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], CashboxRO.prototype, "increase", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", Boolean)
|
|
38
|
+
], CashboxRO.prototype, "allLocations", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", Array)
|
|
42
|
+
], CashboxRO.prototype, "locationIds", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], CashboxRO.prototype, "increaseType", void 0);
|
|
47
|
+
exports.CashboxRO = CashboxRO;
|
|
@@ -26,4 +26,14 @@ __decorate([
|
|
|
26
26
|
(0, class_transformer_1.Expose)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], CreateCashboxDto.prototype, "type", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
(0, class_validator_1.IsBoolean)(),
|
|
32
|
+
__metadata("design:type", Boolean)
|
|
33
|
+
], CreateCashboxDto.prototype, "allLocations", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
(0, class_validator_1.IsArray)(),
|
|
37
|
+
__metadata("design:type", Array)
|
|
38
|
+
], CreateCashboxDto.prototype, "locationIds", void 0);
|
|
29
39
|
exports.CreateCashboxDto = CreateCashboxDto;
|
|
@@ -5,6 +5,7 @@ var CashboxTypeEnum;
|
|
|
5
5
|
(function (CashboxTypeEnum) {
|
|
6
6
|
CashboxTypeEnum["CASH"] = "cash";
|
|
7
7
|
CashboxTypeEnum["BANK"] = "bank";
|
|
8
|
+
CashboxTypeEnum["POS"] = "pos";
|
|
8
9
|
CashboxTypeEnum["PAYPAL"] = "paypal";
|
|
9
10
|
CashboxTypeEnum["STRIPE"] = "stripe";
|
|
10
11
|
})(CashboxTypeEnum = exports.CashboxTypeEnum || (exports.CashboxTypeEnum = {}));
|
|
@@ -39,6 +39,12 @@ __decorate([
|
|
|
39
39
|
(0, class_transformer_1.Expose)(),
|
|
40
40
|
__metadata("design:type", String)
|
|
41
41
|
], ClientFormDto.prototype, "email", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsBoolean)(),
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
(0, class_transformer_1.Transform)(({ value }) => value !== null && value !== void 0 ? value : false),
|
|
46
|
+
__metadata("design:type", Boolean)
|
|
47
|
+
], ClientFormDto.prototype, "sendAds", void 0);
|
|
42
48
|
__decorate([
|
|
43
49
|
(0, class_validator_1.ValidateIf)(({ fields }) => fields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.PHONE)),
|
|
44
50
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
@@ -63,10 +69,4 @@ __decorate([
|
|
|
63
69
|
(0, class_transformer_1.Expose)(),
|
|
64
70
|
__metadata("design:type", String)
|
|
65
71
|
], ClientFormDto.prototype, "city", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, class_validator_1.IsBoolean)(),
|
|
68
|
-
(0, class_transformer_1.Expose)(),
|
|
69
|
-
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
|
|
70
|
-
__metadata("design:type", Boolean)
|
|
71
|
-
], ClientFormDto.prototype, "sendAds", void 0);
|
|
72
72
|
exports.ClientFormDto = ClientFormDto;
|
package/dist/client/client.ro.js
CHANGED
|
@@ -49,14 +49,14 @@ __decorate([
|
|
|
49
49
|
(0, class_transformer_1.Expose)(),
|
|
50
50
|
__metadata("design:type", String)
|
|
51
51
|
], ClientRO.prototype, "city", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, class_transformer_1.Expose)(),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], ClientRO.prototype, "postcode", void 0);
|
|
56
52
|
__decorate([
|
|
57
53
|
(0, class_transformer_1.Expose)(),
|
|
58
54
|
__metadata("design:type", Boolean)
|
|
59
55
|
], ClientRO.prototype, "sendAds", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], ClientRO.prototype, "postcode", void 0);
|
|
60
60
|
__decorate([
|
|
61
61
|
(0, class_transformer_1.Expose)(),
|
|
62
62
|
__metadata("design:type", String)
|
|
@@ -20,10 +20,4 @@ __decorate([
|
|
|
20
20
|
(0, class_transformer_1.Expose)(),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
22
|
], CreateClientDto.prototype, "phone2", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsBoolean)(),
|
|
25
|
-
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
|
|
26
|
-
(0, class_transformer_1.Expose)(),
|
|
27
|
-
__metadata("design:type", Boolean)
|
|
28
|
-
], CreateClientDto.prototype, "sendAds", void 0);
|
|
29
23
|
exports.CreateClientDto = CreateClientDto;
|
package/dist/emails/index.d.ts
CHANGED
|
@@ -16,11 +16,19 @@ declare type Reply = {
|
|
|
16
16
|
type: 'reply';
|
|
17
17
|
text: string;
|
|
18
18
|
};
|
|
19
|
+
declare type Image = {
|
|
20
|
+
type: 'image';
|
|
21
|
+
image: string;
|
|
22
|
+
};
|
|
19
23
|
declare type List = {
|
|
20
24
|
type: 'list';
|
|
21
25
|
title?: string;
|
|
22
26
|
rows: Array<[string, string]>;
|
|
23
27
|
};
|
|
28
|
+
declare type Code = {
|
|
29
|
+
type: 'code';
|
|
30
|
+
code: string;
|
|
31
|
+
};
|
|
24
32
|
declare type Context = {
|
|
25
33
|
title: string;
|
|
26
34
|
subtitle?: string;
|
|
@@ -29,7 +37,7 @@ declare type Context = {
|
|
|
29
37
|
tag?: string;
|
|
30
38
|
subscription?: boolean;
|
|
31
39
|
logo?: string;
|
|
32
|
-
sections: Array<Divider | Bitton | Paragraph | List | Reply>;
|
|
40
|
+
sections: Array<Divider | Bitton | Paragraph | List | Reply | Image | Code>;
|
|
33
41
|
};
|
|
34
42
|
export declare type SendEmailRequestParams = {
|
|
35
43
|
from: EmailSenderEnum;
|
|
@@ -65,8 +65,8 @@ __decorate([
|
|
|
65
65
|
], WidgetClientFormDto.prototype, "city", void 0);
|
|
66
66
|
__decorate([
|
|
67
67
|
(0, class_validator_1.IsBoolean)(),
|
|
68
|
-
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
|
|
69
68
|
(0, class_transformer_1.Expose)(),
|
|
69
|
+
(0, class_transformer_1.Transform)(({ value }) => value !== null && value !== void 0 ? value : false),
|
|
70
70
|
__metadata("design:type", Boolean)
|
|
71
71
|
], WidgetClientFormDto.prototype, "sendAds", void 0);
|
|
72
72
|
exports.WidgetClientFormDto = WidgetClientFormDto;
|
|
@@ -96,6 +96,12 @@ __decorate([
|
|
|
96
96
|
(0, class_transformer_1.Expose)(),
|
|
97
97
|
__metadata("design:type", Boolean)
|
|
98
98
|
], CreateLocationDto.prototype, "waitingArea", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, class_validator_1.IsOptional)(),
|
|
101
|
+
(0, class_validator_1.IsUrl)(),
|
|
102
|
+
(0, class_transformer_1.Expose)(),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], CreateLocationDto.prototype, "site", void 0);
|
|
99
105
|
__decorate([
|
|
100
106
|
(0, class_validator_1.ValidateIf)((o) => o.waitingArea),
|
|
101
107
|
(0, class_validator_1.IsPositive)(),
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MailchimpStatusEnum = void 0;
|
|
4
|
+
var MailchimpStatusEnum;
|
|
5
|
+
(function (MailchimpStatusEnum) {
|
|
6
|
+
MailchimpStatusEnum["NONE"] = "none";
|
|
7
|
+
MailchimpStatusEnum["ENABLED"] = "enabled";
|
|
8
|
+
MailchimpStatusEnum["PROBLEM"] = "problem";
|
|
9
|
+
})(MailchimpStatusEnum = exports.MailchimpStatusEnum || (exports.MailchimpStatusEnum = {}));
|
|
@@ -0,0 +1,44 @@
|
|
|
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.MailchimpDto = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
17
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
18
|
+
class Locale {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Locale.prototype, "language", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], Locale.prototype, "text", void 0);
|
|
30
|
+
class MailchimpDto {
|
|
31
|
+
}
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], MailchimpDto.prototype, "listId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Type)(() => Locale),
|
|
39
|
+
(0, class_validator_1.IsArray)(),
|
|
40
|
+
(0, class_validator_1.ValidateNested)(),
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", Array)
|
|
43
|
+
], MailchimpDto.prototype, "locales", void 0);
|
|
44
|
+
exports.MailchimpDto = MailchimpDto;
|
|
@@ -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.MailchimpListRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class MailchimpListRO {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_transformer_1.Expose)(),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], MailchimpListRO.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], MailchimpListRO.prototype, "name", void 0);
|
|
24
|
+
exports.MailchimpListRO = MailchimpListRO;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
+
import { RO } from '../shared/ro-class';
|
|
3
|
+
import { MailchimpStatusEnum } from './mailchimp-status.enum';
|
|
4
|
+
declare class Locale {
|
|
5
|
+
language: Languages;
|
|
6
|
+
text: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class MailchimpRO extends RO {
|
|
9
|
+
status: MailchimpStatusEnum;
|
|
10
|
+
listId: string;
|
|
11
|
+
locales: Locale[];
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
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.MailchimpRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
16
|
+
const ro_class_1 = require("../shared/ro-class");
|
|
17
|
+
const mailchimp_status_enum_1 = require("./mailchimp-status.enum");
|
|
18
|
+
class Locale {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], Locale.prototype, "language", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Locale.prototype, "text", void 0);
|
|
28
|
+
class MailchimpRO extends ro_class_1.RO {
|
|
29
|
+
}
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], MailchimpRO.prototype, "status", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], MailchimpRO.prototype, "listId", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
(0, class_transformer_1.Type)(() => Locale),
|
|
41
|
+
__metadata("design:type", Array)
|
|
42
|
+
], MailchimpRO.prototype, "locales", void 0);
|
|
43
|
+
exports.MailchimpRO = MailchimpRO;
|
|
@@ -50,7 +50,7 @@ __decorate([
|
|
|
50
50
|
__decorate([
|
|
51
51
|
(0, class_validator_1.IsBoolean)(),
|
|
52
52
|
(0, class_transformer_1.Expose)(),
|
|
53
|
-
(0, class_transformer_1.Transform)(({ value }) =>
|
|
53
|
+
(0, class_transformer_1.Transform)(({ value }) => value !== null && value !== void 0 ? value : false),
|
|
54
54
|
__metadata("design:type", Boolean)
|
|
55
55
|
], OpenapiCreateCertificateSaleDto.prototype, "sendAds", void 0);
|
|
56
56
|
__decorate([
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { Languages } from '../../shared/enum/languages.enum';
|
|
2
|
+
import { SourceEnum } from '../../shared/source.enum';
|
|
2
3
|
import { NowEscapeQuestroomRO } from './now-escape-questroom.ro';
|
|
3
|
-
export declare class
|
|
4
|
+
export declare class ProfileRO {
|
|
5
|
+
id: number;
|
|
6
|
+
title: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class AggregatorOrderRO {
|
|
4
9
|
code: string;
|
|
5
10
|
otherId: string;
|
|
6
11
|
slotId: number;
|
|
7
12
|
language?: Languages;
|
|
13
|
+
source?: SourceEnum;
|
|
8
14
|
payed: number;
|
|
9
15
|
toPay: number;
|
|
10
16
|
total: number;
|
|
11
17
|
players: number;
|
|
12
18
|
utcDate: string;
|
|
13
19
|
questroom: NowEscapeQuestroomRO;
|
|
20
|
+
profile: ProfileRO;
|
|
14
21
|
}
|
|
@@ -9,51 +9,73 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.AggregatorOrderRO = exports.ProfileRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
13
14
|
const class_transformer_1 = require("class-transformer");
|
|
14
15
|
const languages_enum_1 = require("../../shared/enum/languages.enum");
|
|
16
|
+
const source_enum_1 = require("../../shared/source.enum");
|
|
15
17
|
const now_escape_questroom_ro_1 = require("./now-escape-questroom.ro");
|
|
16
|
-
class
|
|
18
|
+
class ProfileRO {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], ProfileRO.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], ProfileRO.prototype, "title", void 0);
|
|
28
|
+
exports.ProfileRO = ProfileRO;
|
|
29
|
+
class AggregatorOrderRO {
|
|
17
30
|
}
|
|
18
31
|
__decorate([
|
|
19
32
|
(0, class_transformer_1.Expose)(),
|
|
20
33
|
__metadata("design:type", String)
|
|
21
|
-
],
|
|
34
|
+
], AggregatorOrderRO.prototype, "code", void 0);
|
|
22
35
|
__decorate([
|
|
23
36
|
(0, class_transformer_1.Expose)(),
|
|
24
37
|
__metadata("design:type", String)
|
|
25
|
-
],
|
|
38
|
+
], AggregatorOrderRO.prototype, "otherId", void 0);
|
|
26
39
|
__decorate([
|
|
27
40
|
(0, class_transformer_1.Expose)(),
|
|
28
41
|
__metadata("design:type", Number)
|
|
29
|
-
],
|
|
42
|
+
], AggregatorOrderRO.prototype, "slotId", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], AggregatorOrderRO.prototype, "language", void 0);
|
|
30
47
|
__decorate([
|
|
31
48
|
(0, class_transformer_1.Expose)(),
|
|
32
49
|
__metadata("design:type", String)
|
|
33
|
-
],
|
|
50
|
+
], AggregatorOrderRO.prototype, "source", void 0);
|
|
34
51
|
__decorate([
|
|
35
52
|
(0, class_transformer_1.Expose)(),
|
|
36
53
|
__metadata("design:type", Number)
|
|
37
|
-
],
|
|
54
|
+
], AggregatorOrderRO.prototype, "payed", void 0);
|
|
38
55
|
__decorate([
|
|
39
56
|
(0, class_transformer_1.Expose)(),
|
|
40
57
|
__metadata("design:type", Number)
|
|
41
|
-
],
|
|
58
|
+
], AggregatorOrderRO.prototype, "toPay", void 0);
|
|
42
59
|
__decorate([
|
|
43
60
|
(0, class_transformer_1.Expose)(),
|
|
44
61
|
__metadata("design:type", Number)
|
|
45
|
-
],
|
|
62
|
+
], AggregatorOrderRO.prototype, "total", void 0);
|
|
46
63
|
__decorate([
|
|
47
64
|
(0, class_transformer_1.Expose)(),
|
|
48
65
|
__metadata("design:type", Number)
|
|
49
|
-
],
|
|
66
|
+
], AggregatorOrderRO.prototype, "players", void 0);
|
|
50
67
|
__decorate([
|
|
51
68
|
(0, class_transformer_1.Expose)(),
|
|
52
69
|
__metadata("design:type", String)
|
|
53
|
-
],
|
|
70
|
+
], AggregatorOrderRO.prototype, "utcDate", void 0);
|
|
54
71
|
__decorate([
|
|
55
72
|
(0, class_transformer_1.Expose)(),
|
|
56
73
|
(0, class_transformer_1.Type)(() => now_escape_questroom_ro_1.NowEscapeQuestroomRO),
|
|
57
74
|
__metadata("design:type", now_escape_questroom_ro_1.NowEscapeQuestroomRO)
|
|
58
|
-
],
|
|
59
|
-
|
|
75
|
+
], AggregatorOrderRO.prototype, "questroom", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
(0, class_transformer_1.Type)(() => ProfileRO),
|
|
79
|
+
__metadata("design:type", ProfileRO)
|
|
80
|
+
], AggregatorOrderRO.prototype, "profile", void 0);
|
|
81
|
+
exports.AggregatorOrderRO = AggregatorOrderRO;
|
|
@@ -103,6 +103,10 @@ __decorate([
|
|
|
103
103
|
(0, class_transformer_1.Expose)(),
|
|
104
104
|
__metadata("design:type", Number)
|
|
105
105
|
], OpenapiOrderRO.prototype, "payed", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, class_transformer_1.Expose)(),
|
|
108
|
+
__metadata("design:type", Number)
|
|
109
|
+
], OpenapiOrderRO.prototype, "profileId", void 0);
|
|
106
110
|
__decorate([
|
|
107
111
|
(0, class_transformer_1.Expose)(),
|
|
108
112
|
(0, class_transformer_1.Type)(() => Slot),
|
|
@@ -8,8 +8,17 @@ import { OpenapiUpsellingRO } from '../upsellings/openapi-upselling.ro';
|
|
|
8
8
|
declare class Customization {
|
|
9
9
|
showBookedSlots: boolean;
|
|
10
10
|
showWrapper: boolean;
|
|
11
|
+
showOtherQuests: boolean;
|
|
11
12
|
mainColor: string;
|
|
12
13
|
}
|
|
14
|
+
declare class MailchimpLocale {
|
|
15
|
+
text: string;
|
|
16
|
+
language: Languages;
|
|
17
|
+
}
|
|
18
|
+
declare class Mailchimp {
|
|
19
|
+
locales: MailchimpLocale[];
|
|
20
|
+
token: string;
|
|
21
|
+
}
|
|
13
22
|
declare class Profile {
|
|
14
23
|
id: number;
|
|
15
24
|
phoneForCustomers: string;
|
|
@@ -33,5 +42,6 @@ export declare class OpenapiWidgetInfoRO {
|
|
|
33
42
|
gaCoversationLabel: string;
|
|
34
43
|
gaEnabled: boolean;
|
|
35
44
|
customization: Customization;
|
|
45
|
+
mailchimp?: string | Mailchimp;
|
|
36
46
|
}
|
|
37
47
|
export {};
|