@escapenavigator/types 1.10.101 → 1.10.102
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/client/client-form.dto.d.ts +1 -0
- package/dist/client/client-form.dto.js +5 -0
- package/dist/client/client.ro.d.ts +2 -0
- package/dist/client/client.ro.js +8 -0
- package/dist/client/create-client-from-widget.dto.d.ts +1 -0
- package/dist/client/create-client-from-widget.dto.js +5 -0
- package/dist/forms/widget/widget-client-form.dto.d.ts +1 -0
- package/dist/forms/widget/widget-client-form.dto.js +5 -0
- package/dist/log/log-title.enum.d.ts +2 -0
- package/dist/log/log-title.enum.js +2 -0
- package/dist/openapi/orders/openapi-create-preorder.dto.d.ts +6 -1
- package/dist/openapi/orders/openapi-create-preorder.dto.js +27 -9
- package/dist/openapi/orders/openapi-order.ro.d.ts +2 -0
- package/dist/openapi/orders/openapi-order.ro.js +8 -0
- package/dist/openapi/orders/openapi-update-order-slot.dto.d.ts +6 -1
- package/dist/openapi/orders/openapi-update-order-slot.dto.js +27 -0
- package/dist/openapi/shared/openapi-questroom.ro.d.ts +17 -0
- package/dist/openapi/shared/openapi-questroom.ro.js +12 -0
- package/dist/openapi/slots/openapi-day-slots-with-nearest.ro.d.ts +5 -0
- package/dist/openapi/slots/openapi-day-slots-with-nearest.ro.js +41 -0
- package/dist/openapi/slots/openapi-slot-details.dto.d.ts +7 -0
- package/dist/openapi/slots/openapi-slot-details.dto.js +59 -0
- package/dist/openapi/slots/openapi-slot-enriched.ro.d.ts +11 -0
- package/dist/openapi/slots/openapi-slot-enriched.ro.js +85 -0
- package/dist/openapi/slots/openapi-slot-variation.ro.d.ts +14 -0
- package/dist/openapi/slots/openapi-slot-variation.ro.js +108 -0
- package/dist/openapi/slots/openapi-week-slots-with-nearest.ro.d.ts +5 -0
- package/dist/openapi/slots/openapi-week-slots-with-nearest.ro.js +38 -0
- package/dist/openapi/slots/openapi-widget-slot.ro.d.ts +9 -7
- package/dist/openapi/slots/openapi-widget-slot.ro.js +18 -29
- package/dist/order/create-order.dto.d.ts +7 -1
- package/dist/order/create-order.dto.js +35 -0
- package/dist/order/order.ro.d.ts +8 -1
- package/dist/order/order.ro.js +31 -3
- package/dist/order/update-order-slot.dto.d.ts +23 -1
- package/dist/order/update-order-slot.dto.js +45 -0
- package/dist/order/waivers/order-participants.ro.d.ts +1 -0
- package/dist/order/waivers/order-participants.ro.js +4 -0
- package/dist/order/waivers/order-to-sign.ro.d.ts +5 -0
- package/dist/order/waivers/order-to-sign.ro.js +17 -0
- package/dist/order/waivers/sign-order.dto.d.ts +6 -0
- package/dist/order/waivers/sign-order.dto.js +39 -1
- package/dist/profile/email/profile-email-card.ro.d.ts +1 -0
- package/dist/profile/email/profile-email-card.ro.js +4 -0
- package/dist/profile/notification-chanel/create-notification-chanel.dto.js +2 -1
- package/dist/profile/notification-chanel/notification-chanel-type.enum.d.ts +3 -1
- package/dist/profile/notification-chanel/notification-chanel-type.enum.js +2 -0
- package/dist/profile/profile-sms/dto/get-sms-settings.dto.d.ts +4 -0
- package/dist/{slot-room-template/slot-room-template.ro.js → profile/profile-sms/dto/get-sms-settings.dto.js} +8 -8
- package/dist/profile/profile-sms/dto/query-order-sms-logs.dto.d.ts +5 -0
- package/dist/profile/profile-sms/dto/query-order-sms-logs.dto.js +29 -0
- package/dist/profile/profile-sms/dto/send-order-client-email.dto.d.ts +4 -0
- package/dist/profile/profile-sms/dto/send-order-client-email.dto.js +27 -0
- package/dist/profile/profile-sms/dto/send-order-client-sms.dto.d.ts +3 -0
- package/dist/profile/profile-sms/dto/send-order-client-sms.dto.js +22 -0
- package/dist/profile/profile-sms/dto/update-sms-settings.dto.d.ts +6 -0
- package/dist/{slot-room-template/update-slot-room-template.dto.js → profile/profile-sms/dto/update-sms-settings.dto.js} +11 -16
- package/dist/profile/profile-sms/profile-sms-recipient-type.enum.d.ts +4 -0
- package/dist/profile/profile-sms/profile-sms-recipient-type.enum.js +8 -0
- package/dist/profile/profile-sms/ro/profile-sms-log.ro.d.ts +10 -0
- package/dist/{slot-room-template/slot-room-template-element.js → profile/profile-sms/ro/profile-sms-log.ro.js} +14 -16
- package/dist/profile/profile-sms/ro/send-order-client-email.ro.d.ts +3 -0
- package/dist/profile/profile-sms/ro/send-order-client-email.ro.js +20 -0
- package/dist/profile/profile-sms/ro/sms-settings.ro.d.ts +7 -0
- package/dist/profile/profile-sms/ro/sms-settings.ro.js +33 -0
- package/dist/profile/profile-sms/sms-provider.enum.d.ts +4 -0
- package/dist/profile/profile-sms/sms-provider.enum.js +8 -0
- package/dist/profile/profile.ro.d.ts +1 -0
- package/dist/profile/profile.ro.js +4 -0
- package/dist/profile/update-current.dto.d.ts +1 -0
- package/dist/profile/update-current.dto.js +7 -0
- package/dist/profile/waiver/profile-waiver.ro.d.ts +5 -0
- package/dist/profile/waiver/profile-waiver.ro.js +16 -0
- package/dist/profile/waiver/update-waiver.dto.d.ts +4 -0
- package/dist/profile/waiver/update-waiver.dto.js +21 -0
- package/dist/profile/widget-customization/update-widget-customization.dto.js +0 -1
- package/dist/questroom/create-questroom.dto.d.ts +3 -0
- package/dist/questroom/create-questroom.dto.js +18 -0
- package/dist/questroom/questroom.ro.d.ts +10 -0
- package/dist/questroom/questroom.ro.js +16 -0
- package/dist/slot/change-template-slots-form.dto.d.ts +1 -0
- package/dist/slot/change-template-slots-form.dto.js +6 -0
- package/dist/slot/slot-autocomplite-form.dto.d.ts +1 -0
- package/dist/slot/slot-autocomplite-form.dto.js +6 -0
- package/dist/slot/slot-details.dto.d.ts +8 -0
- package/dist/slot/slot-details.dto.js +42 -0
- package/dist/slot/slot.ro.d.ts +29 -28
- package/dist/slot/update-slot.dto.d.ts +2 -0
- package/dist/slot/update-slot.dto.js +12 -0
- package/dist/slot-template/slot-template-element.d.ts +1 -0
- package/dist/slot-template/slot-template-element.js +4 -0
- package/dist/slot-template/slot-template-flex-rule.d.ts +9 -0
- package/dist/slot-template/slot-template-flex-rule.js +57 -0
- package/dist/slot-template/slot-template-history.ro.d.ts +2 -0
- package/dist/slot-template/slot-template-history.ro.js +4 -0
- package/dist/slot-template/slot-template-type.d.ts +1 -0
- package/dist/slot-template/slot-template-type.js +2 -0
- package/dist/slot-template/slot-template.ro.d.ts +6 -0
- package/dist/slot-template/slot-template.ro.js +19 -0
- package/dist/slot-template/update-slot-template.dto.d.ts +6 -0
- package/dist/slot-template/update-slot-template.dto.js +30 -0
- package/dist/tariff/create-tariff.dto.d.ts +3 -0
- package/dist/tariff/create-tariff.dto.js +18 -0
- package/dist/tariff/tariff.ro.d.ts +3 -0
- package/dist/tariff/tariff.ro.js +12 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/current/update-current-user-notifications.dto.d.ts +1 -0
- package/dist/user/current/update-current-user-notifications.dto.js +5 -0
- package/package.json +2 -2
- package/dist/room/dto.d.ts +0 -26
- package/dist/room/dto.js +0 -130
- package/dist/room/ro.d.ts +0 -28
- package/dist/room/ro.js +0 -113
- package/dist/slot-room-template/slot-room-template-element.d.ts +0 -9
- package/dist/slot-room-template/slot-room-template.ro.d.ts +0 -5
- package/dist/slot-room-template/update-slot-room-template.dto.d.ts +0 -8
|
@@ -13,6 +13,7 @@ exports.SignOrderDTO = void 0;
|
|
|
13
13
|
/* eslint-disable max-classes-per-file */
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
|
+
const widget_booking_filed_enum_1 = require("../../widget/enum/widget-booking-filed.enum");
|
|
16
17
|
const ins_minor_1 = require("../../shared/ins-minor");
|
|
17
18
|
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
18
19
|
const is_uniq_email_1 = require("../../shared/is-uniq-email");
|
|
@@ -73,6 +74,13 @@ __decorate([
|
|
|
73
74
|
(0, class_transformer_1.Expose)(),
|
|
74
75
|
__metadata("design:type", Number)
|
|
75
76
|
], SignOrderDTO.prototype, "existingParticipantId", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_validator_1.IsArray)(),
|
|
79
|
+
(0, class_validator_1.IsEnum)(widget_booking_filed_enum_1.WidgetBookingFiledEnum, { each: true }),
|
|
80
|
+
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
__metadata("design:type", Array)
|
|
83
|
+
], SignOrderDTO.prototype, "waiverFields", void 0);
|
|
76
84
|
__decorate([
|
|
77
85
|
(0, class_validator_1.ValidateIf)(({ existingParticipantId }) => !existingParticipantId),
|
|
78
86
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
@@ -85,6 +93,18 @@ __decorate([
|
|
|
85
93
|
(0, class_transformer_1.Expose)(),
|
|
86
94
|
__metadata("design:type", String)
|
|
87
95
|
], SignOrderDTO.prototype, "surname", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, class_validator_1.ValidateIf)(({ existingParticipantId, isRu }) => !existingParticipantId && !!isRu),
|
|
98
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
99
|
+
(0, class_transformer_1.Expose)(),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], SignOrderDTO.prototype, "patronymic", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, class_validator_1.IsBoolean)(),
|
|
104
|
+
(0, class_transformer_1.Transform)(({ value }) => !!value),
|
|
105
|
+
(0, class_transformer_1.Expose)(),
|
|
106
|
+
__metadata("design:type", Boolean)
|
|
107
|
+
], SignOrderDTO.prototype, "isRu", void 0);
|
|
88
108
|
__decorate([
|
|
89
109
|
(0, class_validator_1.IsBoolean)(),
|
|
90
110
|
(0, class_transformer_1.Transform)(({ value }) => value !== null && value !== void 0 ? value : false),
|
|
@@ -99,11 +119,29 @@ __decorate([
|
|
|
99
119
|
__metadata("design:type", String)
|
|
100
120
|
], SignOrderDTO.prototype, "email", void 0);
|
|
101
121
|
__decorate([
|
|
102
|
-
(0, class_validator_1.ValidateIf)(({ existingParticipantId }) => !existingParticipantId
|
|
122
|
+
(0, class_validator_1.ValidateIf)(({ existingParticipantId, waiverFields }) => !existingParticipantId &&
|
|
123
|
+
Array.isArray(waiverFields) &&
|
|
124
|
+
waiverFields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.PHONE)),
|
|
103
125
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
104
126
|
(0, class_transformer_1.Expose)(),
|
|
105
127
|
__metadata("design:type", String)
|
|
106
128
|
], SignOrderDTO.prototype, "phone", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, class_validator_1.ValidateIf)(({ existingParticipantId, waiverFields }) => !existingParticipantId &&
|
|
131
|
+
Array.isArray(waiverFields) &&
|
|
132
|
+
waiverFields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.BIRTHDAY)),
|
|
133
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
134
|
+
(0, class_transformer_1.Expose)(),
|
|
135
|
+
__metadata("design:type", String)
|
|
136
|
+
], SignOrderDTO.prototype, "birthday", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, class_validator_1.ValidateIf)(({ existingParticipantId, waiverFields }) => !existingParticipantId &&
|
|
139
|
+
Array.isArray(waiverFields) &&
|
|
140
|
+
waiverFields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.ADDRESS)),
|
|
141
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
142
|
+
(0, class_transformer_1.Expose)(),
|
|
143
|
+
__metadata("design:type", String)
|
|
144
|
+
], SignOrderDTO.prototype, "address", void 0);
|
|
107
145
|
__decorate([
|
|
108
146
|
(0, class_validator_1.IsArray)(),
|
|
109
147
|
(0, class_transformer_1.Expose)(),
|
|
@@ -58,4 +58,8 @@ __decorate([
|
|
|
58
58
|
(0, class_transformer_1.Expose)(),
|
|
59
59
|
__metadata("design:type", Number)
|
|
60
60
|
], ProfileEmailCardRO.prototype, "certificateId", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], ProfileEmailCardRO.prototype, "recipientType", void 0);
|
|
61
65
|
exports.ProfileEmailCardRO = ProfileEmailCardRO;
|
|
@@ -27,7 +27,8 @@ __decorate([
|
|
|
27
27
|
__metadata("design:type", Number)
|
|
28
28
|
], CreateNotificationChanelDto.prototype, "userId", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0, class_validator_1.ValidateIf)(({ type }) => type !== notification_chanel_type_enum_1.NotificationChanelTypeEnum.CLIENT
|
|
30
|
+
(0, class_validator_1.ValidateIf)(({ type }) => type !== notification_chanel_type_enum_1.NotificationChanelTypeEnum.CLIENT
|
|
31
|
+
&& type !== notification_chanel_type_enum_1.NotificationChanelTypeEnum.CLIENT_SMS),
|
|
31
32
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
32
33
|
(0, class_transformer_1.Expose)(),
|
|
33
34
|
__metadata("design:type", String)
|
|
@@ -8,4 +8,6 @@ var NotificationChanelTypeEnum;
|
|
|
8
8
|
NotificationChanelTypeEnum["WEBHOOK"] = "webhook";
|
|
9
9
|
NotificationChanelTypeEnum["SLACK"] = "slack";
|
|
10
10
|
NotificationChanelTypeEnum["CLIENT"] = "client";
|
|
11
|
+
NotificationChanelTypeEnum["CLIENT_SMS"] = "client-sms";
|
|
12
|
+
NotificationChanelTypeEnum["SMS"] = "sms";
|
|
11
13
|
})(NotificationChanelTypeEnum = exports.NotificationChanelTypeEnum || (exports.NotificationChanelTypeEnum = {}));
|
|
@@ -9,15 +9,15 @@ 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.GetSmsSettingsDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
class
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const sms_provider_enum_1 = require("../sms-provider.enum");
|
|
16
|
+
class GetSmsSettingsDto {
|
|
17
17
|
}
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, class_transformer_1.Expose)(),
|
|
20
|
-
(0,
|
|
21
|
-
__metadata("design:type",
|
|
22
|
-
],
|
|
23
|
-
exports.
|
|
20
|
+
(0, class_validator_1.IsEnum)(sms_provider_enum_1.SmsProviderEnum),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], GetSmsSettingsDto.prototype, "provider", void 0);
|
|
23
|
+
exports.GetSmsSettingsDto = GetSmsSettingsDto;
|
|
@@ -0,0 +1,29 @@
|
|
|
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.QueryOrderSmsLogsDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const profile_sms_recipient_type_enum_1 = require("../profile-sms-recipient-type.enum");
|
|
16
|
+
class QueryOrderSmsLogsDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], QueryOrderSmsLogsDto.prototype, "limit", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
(0, class_validator_1.IsEnum)(profile_sms_recipient_type_enum_1.ProfileSmsRecipientTypeEnum),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], QueryOrderSmsLogsDto.prototype, "recipientType", void 0);
|
|
29
|
+
exports.QueryOrderSmsLogsDto = QueryOrderSmsLogsDto;
|
|
@@ -0,0 +1,27 @@
|
|
|
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.SendOrderClientEmailDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const is_not_blank_1 = require("../../../shared/is-not-blank");
|
|
15
|
+
class SendOrderClientEmailDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SendOrderClientEmailDto.prototype, "text", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], SendOrderClientEmailDto.prototype, "subject", void 0);
|
|
27
|
+
exports.SendOrderClientEmailDto = SendOrderClientEmailDto;
|
|
@@ -0,0 +1,22 @@
|
|
|
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.SendOrderClientSmsDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const is_not_blank_1 = require("../../../shared/is-not-blank");
|
|
15
|
+
class SendOrderClientSmsDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SendOrderClientSmsDto.prototype, "text", void 0);
|
|
22
|
+
exports.SendOrderClientSmsDto = SendOrderClientSmsDto;
|
|
@@ -9,30 +9,25 @@ 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.UpdateSmsSettingsDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const
|
|
16
|
-
class
|
|
15
|
+
const sms_provider_enum_1 = require("../sms-provider.enum");
|
|
16
|
+
class UpdateSmsSettingsDto {
|
|
17
17
|
}
|
|
18
18
|
__decorate([
|
|
19
|
-
(0, class_validator_1.IsArray)(),
|
|
20
19
|
(0, class_transformer_1.Expose)(),
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
(0, class_validator_1.IsPositive)(),
|
|
25
|
-
(0, class_transformer_1.Expose)(),
|
|
26
|
-
__metadata("design:type", Number)
|
|
27
|
-
], UpdateSlotRoomTemplateDto.prototype, "roomId", void 0);
|
|
20
|
+
(0, class_validator_1.IsEnum)(sms_provider_enum_1.SmsProviderEnum),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], UpdateSmsSettingsDto.prototype, "provider", void 0);
|
|
28
23
|
__decorate([
|
|
29
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
30
24
|
(0, class_transformer_1.Expose)(),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
26
|
__metadata("design:type", String)
|
|
32
|
-
],
|
|
27
|
+
], UpdateSmsSettingsDto.prototype, "token", void 0);
|
|
33
28
|
__decorate([
|
|
34
|
-
(0, class_validator_1.IsOptional)(),
|
|
35
29
|
(0, class_transformer_1.Expose)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
31
|
__metadata("design:type", String)
|
|
37
|
-
],
|
|
38
|
-
exports.
|
|
32
|
+
], UpdateSmsSettingsDto.prototype, "senderId", void 0);
|
|
33
|
+
exports.UpdateSmsSettingsDto = UpdateSmsSettingsDto;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProfileSmsRecipientTypeEnum = void 0;
|
|
4
|
+
var ProfileSmsRecipientTypeEnum;
|
|
5
|
+
(function (ProfileSmsRecipientTypeEnum) {
|
|
6
|
+
ProfileSmsRecipientTypeEnum["CLIENT"] = "client";
|
|
7
|
+
ProfileSmsRecipientTypeEnum["USER"] = "user";
|
|
8
|
+
})(ProfileSmsRecipientTypeEnum = exports.ProfileSmsRecipientTypeEnum || (exports.ProfileSmsRecipientTypeEnum = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RO } from '../../../shared/ro-class';
|
|
2
|
+
import { ProfileSmsRecipientTypeEnum } from '../profile-sms-recipient-type.enum';
|
|
3
|
+
export declare class ProfileSmsLogRO extends RO {
|
|
4
|
+
recipientPhone: string;
|
|
5
|
+
success: boolean;
|
|
6
|
+
error: string | null;
|
|
7
|
+
renderedTemplate: string;
|
|
8
|
+
isManual: boolean;
|
|
9
|
+
recipientType: ProfileSmsRecipientTypeEnum;
|
|
10
|
+
}
|
|
@@ -9,36 +9,34 @@ 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.ProfileSmsLogRO = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
|
|
14
|
+
const ro_class_1 = require("../../../shared/ro-class");
|
|
15
|
+
const profile_sms_recipient_type_enum_1 = require("../profile-sms-recipient-type.enum");
|
|
16
|
+
class ProfileSmsLogRO extends ro_class_1.RO {
|
|
15
17
|
}
|
|
16
18
|
__decorate([
|
|
17
19
|
(0, class_transformer_1.Expose)(),
|
|
18
20
|
__metadata("design:type", String)
|
|
19
|
-
],
|
|
21
|
+
], ProfileSmsLogRO.prototype, "recipientPhone", void 0);
|
|
20
22
|
__decorate([
|
|
21
23
|
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type",
|
|
23
|
-
],
|
|
24
|
+
__metadata("design:type", Boolean)
|
|
25
|
+
], ProfileSmsLogRO.prototype, "success", void 0);
|
|
24
26
|
__decorate([
|
|
25
27
|
(0, class_transformer_1.Expose)(),
|
|
26
28
|
__metadata("design:type", String)
|
|
27
|
-
],
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_transformer_1.Expose)(),
|
|
30
|
-
__metadata("design:type", Object)
|
|
31
|
-
], SlotRoomTemplateElement.prototype, "tariffs", void 0);
|
|
29
|
+
], ProfileSmsLogRO.prototype, "error", void 0);
|
|
32
30
|
__decorate([
|
|
33
31
|
(0, class_transformer_1.Expose)(),
|
|
34
|
-
__metadata("design:type",
|
|
35
|
-
],
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], ProfileSmsLogRO.prototype, "renderedTemplate", void 0);
|
|
36
34
|
__decorate([
|
|
37
35
|
(0, class_transformer_1.Expose)(),
|
|
38
36
|
__metadata("design:type", Boolean)
|
|
39
|
-
],
|
|
37
|
+
], ProfileSmsLogRO.prototype, "isManual", void 0);
|
|
40
38
|
__decorate([
|
|
41
39
|
(0, class_transformer_1.Expose)(),
|
|
42
|
-
__metadata("design:type",
|
|
43
|
-
],
|
|
44
|
-
exports.
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], ProfileSmsLogRO.prototype, "recipientType", void 0);
|
|
42
|
+
exports.ProfileSmsLogRO = ProfileSmsLogRO;
|
|
@@ -0,0 +1,20 @@
|
|
|
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.SendOrderClientEmailRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class SendOrderClientEmailRO {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_transformer_1.Expose)(),
|
|
18
|
+
__metadata("design:type", Boolean)
|
|
19
|
+
], SendOrderClientEmailRO.prototype, "success", void 0);
|
|
20
|
+
exports.SendOrderClientEmailRO = SendOrderClientEmailRO;
|
|
@@ -0,0 +1,33 @@
|
|
|
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.SmsSettingsRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const sms_provider_enum_1 = require("../sms-provider.enum");
|
|
15
|
+
class SmsSettingsRO {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], SmsSettingsRO.prototype, "provider", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], SmsSettingsRO.prototype, "tokenMasked", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
28
|
+
], SmsSettingsRO.prototype, "hasToken", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], SmsSettingsRO.prototype, "senderId", void 0);
|
|
33
|
+
exports.SmsSettingsRO = SmsSettingsRO;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SmsProviderEnum = void 0;
|
|
4
|
+
var SmsProviderEnum;
|
|
5
|
+
(function (SmsProviderEnum) {
|
|
6
|
+
SmsProviderEnum["SMSPILOT"] = "smspilot";
|
|
7
|
+
SmsProviderEnum["TWILIO"] = "twilio";
|
|
8
|
+
})(SmsProviderEnum = exports.SmsProviderEnum || (exports.SmsProviderEnum = {}));
|
|
@@ -150,6 +150,10 @@ __decorate([
|
|
|
150
150
|
(0, class_transformer_1.Expose)(),
|
|
151
151
|
__metadata("design:type", Boolean)
|
|
152
152
|
], ProfileRO.prototype, "nowEscape", void 0);
|
|
153
|
+
__decorate([
|
|
154
|
+
(0, class_transformer_1.Expose)(),
|
|
155
|
+
__metadata("design:type", Number)
|
|
156
|
+
], ProfileRO.prototype, "refundsValidTo", void 0);
|
|
153
157
|
__decorate([
|
|
154
158
|
(0, class_transformer_1.Expose)(),
|
|
155
159
|
__metadata("design:type", String)
|
|
@@ -65,4 +65,11 @@ __decorate([
|
|
|
65
65
|
(0, class_transformer_1.Expose)(),
|
|
66
66
|
__metadata("design:type", String)
|
|
67
67
|
], UpdateCurrentDto.prototype, "gaCoversationLabel", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
(0, class_validator_1.IsInt)(),
|
|
71
|
+
(0, class_validator_1.IsPositive)(),
|
|
72
|
+
(0, class_transformer_1.Expose)(),
|
|
73
|
+
__metadata("design:type", Number)
|
|
74
|
+
], UpdateCurrentDto.prototype, "refundsValidTo", void 0);
|
|
68
75
|
exports.UpdateCurrentDto = UpdateCurrentDto;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { RO } from '../../shared/ro-class';
|
|
2
|
+
import { WidgetBookingFiledEnum } from '../../widget/enum/widget-booking-filed.enum';
|
|
2
3
|
export declare class ProfileWaiverRO extends RO {
|
|
4
|
+
id: number;
|
|
3
5
|
active: boolean;
|
|
4
6
|
title: string;
|
|
5
7
|
text: string;
|
|
6
8
|
label: string;
|
|
9
|
+
fields: WidgetBookingFiledEnum[];
|
|
10
|
+
allQuestrooms: boolean;
|
|
11
|
+
questroomIds: number[];
|
|
7
12
|
}
|
|
@@ -14,6 +14,10 @@ const class_transformer_1 = require("class-transformer");
|
|
|
14
14
|
const ro_class_1 = require("../../shared/ro-class");
|
|
15
15
|
class ProfileWaiverRO extends ro_class_1.RO {
|
|
16
16
|
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], ProfileWaiverRO.prototype, "id", void 0);
|
|
17
21
|
__decorate([
|
|
18
22
|
(0, class_transformer_1.Expose)(),
|
|
19
23
|
__metadata("design:type", Boolean)
|
|
@@ -30,4 +34,16 @@ __decorate([
|
|
|
30
34
|
(0, class_transformer_1.Expose)(),
|
|
31
35
|
__metadata("design:type", String)
|
|
32
36
|
], ProfileWaiverRO.prototype, "label", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", Array)
|
|
40
|
+
], ProfileWaiverRO.prototype, "fields", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], ProfileWaiverRO.prototype, "allQuestrooms", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", Array)
|
|
48
|
+
], ProfileWaiverRO.prototype, "questroomIds", void 0);
|
|
33
49
|
exports.ProfileWaiverRO = ProfileWaiverRO;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { WidgetBookingFiledEnum } from '../../widget/enum/widget-booking-filed.enum';
|
|
1
2
|
export declare class UpdateProfileWaiverDto {
|
|
2
3
|
text: string;
|
|
3
4
|
title: string;
|
|
4
5
|
label: string;
|
|
5
6
|
active: boolean;
|
|
7
|
+
allQuestrooms?: boolean;
|
|
8
|
+
fields: WidgetBookingFiledEnum[];
|
|
9
|
+
questroomIds: number[];
|
|
6
10
|
}
|
|
@@ -13,6 +13,7 @@ exports.UpdateProfileWaiverDto = void 0;
|
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
16
|
+
const widget_booking_filed_enum_1 = require("../../widget/enum/widget-booking-filed.enum");
|
|
16
17
|
class UpdateProfileWaiverDto {
|
|
17
18
|
}
|
|
18
19
|
__decorate([
|
|
@@ -38,4 +39,24 @@ __decorate([
|
|
|
38
39
|
(0, class_transformer_1.Expose)(),
|
|
39
40
|
__metadata("design:type", Boolean)
|
|
40
41
|
], UpdateProfileWaiverDto.prototype, "active", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsBoolean)(),
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", Boolean)
|
|
47
|
+
], UpdateProfileWaiverDto.prototype, "allQuestrooms", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsArray)(),
|
|
50
|
+
(0, class_validator_1.IsEnum)(widget_booking_filed_enum_1.WidgetBookingFiledEnum, { each: true }),
|
|
51
|
+
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", Array)
|
|
54
|
+
], UpdateProfileWaiverDto.prototype, "fields", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
57
|
+
(0, class_validator_1.IsArray)(),
|
|
58
|
+
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
__metadata("design:type", Array)
|
|
61
|
+
], UpdateProfileWaiverDto.prototype, "questroomIds", void 0);
|
|
41
62
|
exports.UpdateProfileWaiverDto = UpdateProfileWaiverDto;
|
|
@@ -65,7 +65,6 @@ __decorate([
|
|
|
65
65
|
], UpdateWidgetCustomizationDto.prototype, "widgetFontFamily", void 0);
|
|
66
66
|
__decorate([
|
|
67
67
|
(0, class_validator_1.IsOptional)(),
|
|
68
|
-
(0, class_validator_1.IsHexColor)(),
|
|
69
68
|
(0, class_transformer_1.Expose)(),
|
|
70
69
|
__metadata("design:type", String)
|
|
71
70
|
], UpdateWidgetCustomizationDto.prototype, "bgColor", void 0);
|
|
@@ -37,6 +37,8 @@ export declare class CreateQuestroomDto {
|
|
|
37
37
|
awailableForNavigator: boolean;
|
|
38
38
|
time: number;
|
|
39
39
|
ticketSystem: boolean;
|
|
40
|
+
resourceUnitsTotal: number;
|
|
41
|
+
resourceUnitSize: number;
|
|
40
42
|
photo: string;
|
|
41
43
|
photos: string[];
|
|
42
44
|
video?: string;
|
|
@@ -51,5 +53,6 @@ export declare class CreateQuestroomDto {
|
|
|
51
53
|
photoFrame: string;
|
|
52
54
|
alternativeScenarioIds: number[];
|
|
53
55
|
flexPlayersSelect?: boolean;
|
|
56
|
+
slotStepMinutes?: number;
|
|
54
57
|
}
|
|
55
58
|
export {};
|