@escapenavigator/types 2.0.37 → 2.0.38
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/email-builder/email-content.dto.d.ts +26 -0
- package/dist/email-builder/email-content.dto.js +62 -0
- package/dist/email-builder/index.d.ts +81 -0
- package/dist/email-builder/index.js +89 -1
- package/dist/emails/index.d.ts +25 -2
- package/dist/openapi/upsellings/openapi-upselling.ro.d.ts +1 -0
- package/dist/openapi/upsellings/openapi-upselling.ro.js +4 -0
- package/dist/profile/birthday-marketing/birthday-marketing.dto.d.ts +2 -2
- package/dist/profile/birthday-marketing/birthday-marketing.dto.js +3 -1
- package/dist/profile/cross-sale/cross-sale.dto.d.ts +2 -2
- package/dist/profile/cross-sale/cross-sale.dto.js +3 -1
- package/dist/profile/cross-sale/cross-sale.ro.d.ts +2 -2
- package/dist/profile/custom-client-booking-email/custom-client-booking-email.dto.d.ts +2 -2
- package/dist/profile/custom-client-booking-email/custom-client-booking-email.dto.js +3 -1
- package/dist/profile/custom-client-booking-email/custom-client-booking-email.ro.d.ts +2 -2
- package/dist/profile/marketing-automation/marketing-automation.dto.d.ts +2 -2
- package/dist/profile/marketing-automation/marketing-automation.dto.js +3 -1
- package/dist/profile/marketing-automation/marketing-automation.ro.d.ts +2 -2
- package/dist/profile/marketing-email/create-profile-marketing-email-campaign.dto.d.ts +14 -13
- package/dist/profile/marketing-email/create-profile-marketing-email-campaign.dto.js +19 -28
- package/dist/profile/marketing-email/preflight-issue.ro.d.ts +31 -1
- package/dist/profile/marketing-email/preflight-issue.ro.js +30 -0
- package/dist/profile/marketing-email/preview-campaign-v2.dto.d.ts +2 -2
- package/dist/profile/marketing-email/preview-campaign-v2.dto.js +2 -2
- package/dist/profile/marketing-email/preview-profile-marketing-segment.dto.d.ts +6 -0
- package/dist/profile/marketing-email/preview-profile-marketing-segment.dto.js +8 -0
- package/dist/profile/marketing-email/preview-profile-marketing-segment.ro.d.ts +6 -1
- package/dist/profile/marketing-email/preview-profile-marketing-segment.ro.js +9 -1
- package/dist/profile/marketing-email/profile-marketing-email-campaign.ro.d.ts +11 -2
- package/dist/profile/marketing-email/profile-marketing-email-campaign.ro.js +12 -0
- package/dist/profile/marketing-email/profile-marketing-email-recipient-status.enum.d.ts +6 -0
- package/dist/profile/marketing-email/profile-marketing-email-recipient-status.enum.js +6 -0
- package/dist/profile/marketing-email/test-send-email-v2.dto.d.ts +2 -2
- package/dist/profile/marketing-email/test-send-email-v2.dto.js +2 -2
- package/dist/questroom-scenario-email/create-questroom-scenario-email.dto.d.ts +2 -2
- package/dist/questroom-scenario-email/create-questroom-scenario-email.dto.js +3 -1
- package/dist/questroom-scenario-email/questroom-scenario-email.ro.d.ts +2 -2
- package/dist/slot/slot-discount-range.validator.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upselling/create-upselling.dto.d.ts +5 -0
- package/dist/upselling/create-upselling.dto.js +8 -0
- package/dist/upselling/upselling.ro.d.ts +1 -0
- package/dist/upselling/upselling.ro.js +4 -0
- package/package.json +2 -2
|
@@ -11,6 +11,11 @@ export declare class CreateUpsellingDto {
|
|
|
11
11
|
availableFrom: string;
|
|
12
12
|
availableTo: string;
|
|
13
13
|
availableDays: number[];
|
|
14
|
+
/**
|
|
15
|
+
* За сколько минут до начала игры услуга перестаёт быть доступной для
|
|
16
|
+
* онлайн-брони. `0` — без ограничения. Максимум как у правил брони — 7 суток.
|
|
17
|
+
*/
|
|
18
|
+
minMinutesBeforeStart: number;
|
|
14
19
|
fullPayment: boolean;
|
|
15
20
|
description?: string;
|
|
16
21
|
comment?: string;
|
|
@@ -82,6 +82,14 @@ __decorate([
|
|
|
82
82
|
(0, class_transformer_1.Expose)(),
|
|
83
83
|
__metadata("design:type", Array)
|
|
84
84
|
], CreateUpsellingDto.prototype, "availableDays", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_transformer_1.Transform)(({ value }) => value !== null && value !== void 0 ? value : 0),
|
|
87
|
+
(0, class_validator_1.IsInt)(),
|
|
88
|
+
(0, class_validator_1.Min)(0),
|
|
89
|
+
(0, class_validator_1.Max)(10080),
|
|
90
|
+
(0, class_transformer_1.Expose)(),
|
|
91
|
+
__metadata("design:type", Number)
|
|
92
|
+
], CreateUpsellingDto.prototype, "minMinutesBeforeStart", void 0);
|
|
85
93
|
__decorate([
|
|
86
94
|
(0, class_validator_1.IsBoolean)(),
|
|
87
95
|
(0, class_transformer_1.Transform)(({ value }) => value || false),
|
|
@@ -80,6 +80,10 @@ __decorate([
|
|
|
80
80
|
(0, class_transformer_1.Expose)(),
|
|
81
81
|
__metadata("design:type", Array)
|
|
82
82
|
], UpsellingResponseObject.prototype, "availableDays", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, class_transformer_1.Expose)(),
|
|
85
|
+
__metadata("design:type", Number)
|
|
86
|
+
], UpsellingResponseObject.prototype, "minMinutesBeforeStart", void 0);
|
|
83
87
|
__decorate([
|
|
84
88
|
(0, class_transformer_1.Expose)(),
|
|
85
89
|
__metadata("design:type", Boolean)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.38",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"reflect-metadata": "^0.1.13",
|
|
24
24
|
"rxjs": "^7.5.5"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "46c94f5f9d49d1c7efb30798d44bc5ed6e2dcc50",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/validator": "13.0.0",
|
|
29
29
|
"typescript": "^5.6"
|