@escapenavigator/types 2.0.15 → 2.0.16
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/certificate-v2/certificate-design.ro.d.ts +1 -0
- package/dist/certificate-v2/certificate-design.ro.js +4 -0
- package/dist/certificate-v2/create-certificate-design.dto.d.ts +1 -0
- package/dist/certificate-v2/create-certificate-design.dto.js +6 -0
- package/dist/city-person/city-person-attraction-link.dto.d.ts +1 -1
- package/dist/city-person/city-person-attraction-link.ro.d.ts +1 -1
- package/dist/city-person/city-person-locale.ro.d.ts +1 -1
- package/dist/city-person/upsert-city-person-locale.dto.d.ts +1 -1
- package/dist/openapi/certificates-v2/openapi-certificate-design.ro.d.ts +1 -0
- package/dist/openapi/certificates-v2/openapi-certificate-design.ro.js +4 -0
- package/dist/openapi/widget/openapi-resolve-promocode.ro.d.ts +2 -0
- package/dist/openapi/widget/openapi-resolve-promocode.ro.js +4 -0
- package/dist/openapi/widget/openapi-widget-info.ro.d.ts +6 -0
- package/dist/openapi/widget/openapi-widget-info.ro.js +4 -0
- package/dist/partners-portal/create-partner-attraction.dto.d.ts +1 -1
- package/dist/partners-portal/partner-city-quest.ro.d.ts +1 -1
- package/dist/profile/marketing-automation/marketing-automation-capabilities.js +2 -1
- package/dist/profile/marketing-automation/marketing-automation-config.dto.d.ts +2 -1
- package/dist/profile/notification-chanel/notification-chanel.ro.d.ts +3 -0
- package/dist/profile/notification-chanel/notification-chanel.ro.js +6 -0
- package/dist/profile/notification-chanel/test-notification-chanel.dto.d.ts +6 -0
- package/dist/profile/notification-chanel/test-notification-chanel.dto.js +29 -0
- package/dist/profile/notification-chanel/webhook-health.ro.d.ts +36 -0
- package/dist/profile/notification-chanel/webhook-health.ro.js +54 -0
- package/dist/profile/notification-chanel/webhook-test-result.ro.d.ts +11 -0
- package/dist/profile/notification-chanel/webhook-test-result.ro.js +42 -0
- package/dist/promocode/create-promocode.dto.d.ts +5 -0
- package/dist/promocode/create-promocode.dto.js +18 -3
- package/dist/promocode/emun/promocode-type.enum.d.ts +7 -1
- package/dist/promocode/emun/promocode-type.enum.js +6 -0
- package/dist/promocode/promocode.ro.d.ts +1 -0
- package/dist/promocode/promocode.ro.js +4 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/widget/create-widget.dto.d.ts +1 -0
- package/dist/widget/create-widget.dto.js +7 -0
- package/dist/widget/widget.ro.d.ts +5 -0
- package/package.json +2 -2
|
@@ -62,6 +62,13 @@ __decorate([
|
|
|
62
62
|
(0, class_transformer_1.Expose)(),
|
|
63
63
|
__metadata("design:type", Array)
|
|
64
64
|
], CreateWidgetDto.prototype, "excludedQuestroomIds", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_validator_1.ValidateIf)((o) => o.type === widget_type_enum_1.WidgetTypeEnum.ALL_CERTIFICATES),
|
|
67
|
+
(0, class_validator_1.IsOptional)(),
|
|
68
|
+
(0, class_validator_1.IsPositive)(),
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], CreateWidgetDto.prototype, "certificateDesignId", void 0);
|
|
65
72
|
__decorate([
|
|
66
73
|
(0, class_validator_1.IsOptional)(),
|
|
67
74
|
(0, class_transformer_1.Expose)(),
|
|
@@ -24,6 +24,11 @@ export type WidgetRO = {
|
|
|
24
24
|
photo: string;
|
|
25
25
|
};
|
|
26
26
|
excludedQuestroomIds?: number[];
|
|
27
|
+
/**
|
|
28
|
+
* Для сертификатных виджетов (ALL_CERTIFICATES): ограничить каталог одним
|
|
29
|
+
* дизайном. null/undefined — продаются все сертификаты.
|
|
30
|
+
*/
|
|
31
|
+
certificateDesignId?: number | null;
|
|
27
32
|
daysAhead?: number;
|
|
28
33
|
buttonTooltipText?: string;
|
|
29
34
|
showOtherQuests?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.16",
|
|
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": "758cd8c4842a26ad44e69154e1263dfd0ad4ad9f",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/validator": "13.0.0",
|
|
29
29
|
"typescript": "^5.6"
|