@escapenavigator/types 1.9.17 → 1.9.19
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-sale/certificate-sale.ro.d.ts +3 -0
- package/dist/certificate-sale/certificate-sale.ro.js +12 -0
- package/dist/certificate-sale/create-certificatesale.dto.d.ts +3 -0
- package/dist/certificate-sale/create-certificatesale.dto.js +16 -0
- package/dist/certificate-sale/legacy/update-certificatesale-delivery-info.dto.d.ts +3 -0
- package/dist/certificate-sale/legacy/update-certificatesale-delivery-info.dto.js +16 -0
- package/dist/client/client-form.dto.js +1 -1
- package/dist/openapi/certificates/openapi-certificate-sale.ro.d.ts +3 -0
- package/dist/openapi/certificates/openapi-certificate-sale.ro.js +12 -0
- package/dist/openapi/certificates/openapi-create-certificate-sale.dto.d.ts +3 -1
- package/dist/openapi/certificates/openapi-create-certificate-sale.dto.js +16 -7
- package/dist/openapi/orders/openapi-update-order.dto.d.ts +1 -0
- package/dist/openapi/orders/openapi-update-order.dto.js +5 -0
- package/dist/openapi/widget/openapi-widget-info.ro.d.ts +2 -0
- package/dist/openapi/widget/openapi-widget-info.ro.js +5 -0
- package/dist/order/order.ro.d.ts +1 -0
- package/dist/order/order.ro.js +4 -0
- package/dist/profile/smtp/create-smtp.dto.js +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -40,6 +40,9 @@ export declare class CertificateSaleRO extends RO {
|
|
|
40
40
|
deliverySurname: string;
|
|
41
41
|
deliveryPhone: string;
|
|
42
42
|
deliveryAddress: string;
|
|
43
|
+
deliveryHouse: string;
|
|
44
|
+
deliveryApart: string;
|
|
45
|
+
deliveryComment: string;
|
|
43
46
|
deliveryCity: string;
|
|
44
47
|
deliveryPostcode: string;
|
|
45
48
|
sendingEmailFullUtcDate: string;
|
|
@@ -158,6 +158,18 @@ __decorate([
|
|
|
158
158
|
(0, class_transformer_1.Expose)(),
|
|
159
159
|
__metadata("design:type", String)
|
|
160
160
|
], CertificateSaleRO.prototype, "deliveryAddress", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, class_transformer_1.Expose)(),
|
|
163
|
+
__metadata("design:type", String)
|
|
164
|
+
], CertificateSaleRO.prototype, "deliveryHouse", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, class_transformer_1.Expose)(),
|
|
167
|
+
__metadata("design:type", String)
|
|
168
|
+
], CertificateSaleRO.prototype, "deliveryApart", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, class_transformer_1.Expose)(),
|
|
171
|
+
__metadata("design:type", String)
|
|
172
|
+
], CertificateSaleRO.prototype, "deliveryComment", void 0);
|
|
161
173
|
__decorate([
|
|
162
174
|
(0, class_transformer_1.Expose)(),
|
|
163
175
|
__metadata("design:type", String)
|
|
@@ -14,6 +14,9 @@ export declare class CreateCertificatesaleDto {
|
|
|
14
14
|
deliveryAddress: string;
|
|
15
15
|
deliveryCity: string;
|
|
16
16
|
deliveryPostcode: string;
|
|
17
|
+
deliveryHouse: string;
|
|
18
|
+
deliveryApart: string;
|
|
19
|
+
deliveryComment: string;
|
|
17
20
|
deliveryMessage: string;
|
|
18
21
|
sendingDate: string;
|
|
19
22
|
sendingTime: string;
|
|
@@ -96,6 +96,22 @@ __decorate([
|
|
|
96
96
|
(0, class_transformer_1.Expose)(),
|
|
97
97
|
__metadata("design:type", String)
|
|
98
98
|
], CreateCertificatesaleDto.prototype, "deliveryPostcode", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
101
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
102
|
+
(0, class_transformer_1.Expose)(),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], CreateCertificatesaleDto.prototype, "deliveryHouse", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, class_validator_1.IsOptional)(),
|
|
107
|
+
(0, class_transformer_1.Expose)(),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], CreateCertificatesaleDto.prototype, "deliveryApart", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
(0, class_transformer_1.Expose)(),
|
|
113
|
+
__metadata("design:type", String)
|
|
114
|
+
], CreateCertificatesaleDto.prototype, "deliveryComment", void 0);
|
|
99
115
|
__decorate([
|
|
100
116
|
(0, class_validator_1.IsOptional)(),
|
|
101
117
|
(0, class_transformer_1.Expose)(),
|
|
@@ -9,6 +9,9 @@ export declare class UpdateCertificatesaleDeliveryInfoDto {
|
|
|
9
9
|
deliverySurname: string;
|
|
10
10
|
deliveryPhone: string;
|
|
11
11
|
deliveryAddress: string;
|
|
12
|
+
deliveryHouse: string;
|
|
13
|
+
deliveryApart: string;
|
|
14
|
+
deliveryComment: string;
|
|
12
15
|
deliveryMessage: string;
|
|
13
16
|
sendingDate: string;
|
|
14
17
|
sendingTime: string;
|
|
@@ -70,6 +70,22 @@ __decorate([
|
|
|
70
70
|
(0, class_transformer_1.Expose)(),
|
|
71
71
|
__metadata("design:type", String)
|
|
72
72
|
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryAddress", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
75
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
76
|
+
(0, class_transformer_1.Expose)(),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryHouse", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, class_validator_1.IsOptional)(),
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryApart", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.IsOptional)(),
|
|
86
|
+
(0, class_transformer_1.Expose)(),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], UpdateCertificatesaleDeliveryInfoDto.prototype, "deliveryComment", void 0);
|
|
73
89
|
__decorate([
|
|
74
90
|
(0, class_validator_1.IsOptional)(),
|
|
75
91
|
(0, class_transformer_1.Expose)(),
|
|
@@ -60,7 +60,7 @@ __decorate([
|
|
|
60
60
|
], ClientFormDto.prototype, "sendAds", void 0);
|
|
61
61
|
__decorate([
|
|
62
62
|
(0, class_validator_1.ValidateIf)(({ fields, clientType }) => clientType === client_type_enum_1.ClientTypeEnum.ADULT && fields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.PHONE)),
|
|
63
|
-
(0,
|
|
63
|
+
(0, class_validator_1.IsPhoneNumber)(),
|
|
64
64
|
(0, class_transformer_1.Expose)(),
|
|
65
65
|
__metadata("design:type", String)
|
|
66
66
|
], ClientFormDto.prototype, "phone", void 0);
|
|
@@ -27,6 +27,9 @@ export declare class OpenapiCertificateSaleRO {
|
|
|
27
27
|
expireDate: string;
|
|
28
28
|
deliveryPhone?: string;
|
|
29
29
|
deliveryAddress?: string;
|
|
30
|
+
deliveryHouse: string;
|
|
31
|
+
deliveryApart: string;
|
|
32
|
+
deliveryComment: string;
|
|
30
33
|
deliveryCity?: string;
|
|
31
34
|
deliveryPostCode?: string;
|
|
32
35
|
deliveryEmail?: string;
|
|
@@ -109,6 +109,18 @@ __decorate([
|
|
|
109
109
|
(0, class_transformer_1.Expose)(),
|
|
110
110
|
__metadata("design:type", String)
|
|
111
111
|
], OpenapiCertificateSaleRO.prototype, "deliveryAddress", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, class_transformer_1.Expose)(),
|
|
114
|
+
__metadata("design:type", String)
|
|
115
|
+
], OpenapiCertificateSaleRO.prototype, "deliveryHouse", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, class_transformer_1.Expose)(),
|
|
118
|
+
__metadata("design:type", String)
|
|
119
|
+
], OpenapiCertificateSaleRO.prototype, "deliveryApart", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, class_transformer_1.Expose)(),
|
|
122
|
+
__metadata("design:type", String)
|
|
123
|
+
], OpenapiCertificateSaleRO.prototype, "deliveryComment", void 0);
|
|
112
124
|
__decorate([
|
|
113
125
|
(0, class_transformer_1.Expose)(),
|
|
114
126
|
__metadata("design:type", String)
|
|
@@ -8,7 +8,6 @@ export declare class OpenapiCreateCertificateSaleDto {
|
|
|
8
8
|
certificateId: number;
|
|
9
9
|
sendAds: boolean;
|
|
10
10
|
nominal: number;
|
|
11
|
-
clientComment: string;
|
|
12
11
|
sameRecipient: boolean;
|
|
13
12
|
sendAfterPayment: boolean;
|
|
14
13
|
deliveryType: CertificatesaleDeliveryTypeEnum;
|
|
@@ -17,6 +16,9 @@ export declare class OpenapiCreateCertificateSaleDto {
|
|
|
17
16
|
deliverySurname: string;
|
|
18
17
|
deliveryPhone: string;
|
|
19
18
|
deliveryAddress: string;
|
|
19
|
+
deliveryHouse: string;
|
|
20
|
+
deliveryApart: string;
|
|
21
|
+
deliveryComment: string;
|
|
20
22
|
deliveryCity: string;
|
|
21
23
|
deliveryPostcode: string;
|
|
22
24
|
deliveryMessage: string;
|
|
@@ -58,13 +58,6 @@ __decorate([
|
|
|
58
58
|
(0, class_transformer_1.Expose)(),
|
|
59
59
|
__metadata("design:type", Number)
|
|
60
60
|
], OpenapiCreateCertificateSaleDto.prototype, "nominal", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, class_validator_1.IsString)(),
|
|
63
|
-
(0, class_validator_1.IsOptional)(),
|
|
64
|
-
(0, class_validator_1.MaxLength)(600),
|
|
65
|
-
(0, class_transformer_1.Expose)(),
|
|
66
|
-
__metadata("design:type", String)
|
|
67
|
-
], OpenapiCreateCertificateSaleDto.prototype, "clientComment", void 0);
|
|
68
61
|
__decorate([
|
|
69
62
|
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
|
|
70
63
|
(0, class_validator_1.IsBoolean)(),
|
|
@@ -113,6 +106,22 @@ __decorate([
|
|
|
113
106
|
(0, class_transformer_1.Expose)(),
|
|
114
107
|
__metadata("design:type", String)
|
|
115
108
|
], OpenapiCreateCertificateSaleDto.prototype, "deliveryAddress", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
111
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
112
|
+
(0, class_transformer_1.Expose)(),
|
|
113
|
+
__metadata("design:type", String)
|
|
114
|
+
], OpenapiCreateCertificateSaleDto.prototype, "deliveryHouse", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, class_validator_1.IsOptional)(),
|
|
117
|
+
(0, class_transformer_1.Expose)(),
|
|
118
|
+
__metadata("design:type", String)
|
|
119
|
+
], OpenapiCreateCertificateSaleDto.prototype, "deliveryApart", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, class_validator_1.IsOptional)(),
|
|
122
|
+
(0, class_transformer_1.Expose)(),
|
|
123
|
+
__metadata("design:type", String)
|
|
124
|
+
], OpenapiCreateCertificateSaleDto.prototype, "deliveryComment", void 0);
|
|
116
125
|
__decorate([
|
|
117
126
|
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
118
127
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
@@ -34,6 +34,11 @@ __decorate([
|
|
|
34
34
|
(0, class_validator_1.MaxLength)(500),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], OpenapiUpdateOrderDto.prototype, "comment", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], OpenapiUpdateOrderDto.prototype, "mode", void 0);
|
|
37
42
|
__decorate([
|
|
38
43
|
(0, class_validator_1.IsOptional)(),
|
|
39
44
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ProfileCurrencyEnum } from '../../profile/enum/profile-currency';
|
|
2
2
|
import { WidgetStyleEnum } from '../../profile/widget-customization/enum/widget-style.enum';
|
|
3
3
|
import { WidgetViewEnum } from '../../profile/widget-customization/enum/widget-view.enum';
|
|
4
|
+
import { CountriesEnum } from '../../shared/enum/countries.enum';
|
|
4
5
|
import { Languages } from '../../shared/enum/languages.enum';
|
|
5
6
|
import { WidgetBookingFiledEnum } from '../../widget/enum/widget-booking-filed.enum';
|
|
6
7
|
import { WidgetTypeEnum } from '../../widget/enum/widget-type.enum';
|
|
@@ -27,6 +28,7 @@ declare class Mailchimp {
|
|
|
27
28
|
declare class Profile {
|
|
28
29
|
id: number;
|
|
29
30
|
phoneForCustomers: string;
|
|
31
|
+
country: CountriesEnum;
|
|
30
32
|
bookingFields: WidgetBookingFiledEnum[];
|
|
31
33
|
agreementLink: string;
|
|
32
34
|
availableLanguages: Languages[];
|
|
@@ -16,6 +16,7 @@ const currency_by_country_1 = require("../../constants/currency-by-country");
|
|
|
16
16
|
const profile_currency_1 = require("../../profile/enum/profile-currency");
|
|
17
17
|
const widget_style_enum_1 = require("../../profile/widget-customization/enum/widget-style.enum");
|
|
18
18
|
const widget_view_enum_1 = require("../../profile/widget-customization/enum/widget-view.enum");
|
|
19
|
+
const countries_enum_1 = require("../../shared/enum/countries.enum");
|
|
19
20
|
const languages_enum_1 = require("../../shared/enum/languages.enum");
|
|
20
21
|
const widget_type_enum_1 = require("../../widget/enum/widget-type.enum");
|
|
21
22
|
const openapi_certificate_template_ro_1 = require("../certificates/openapi-certificate-template.ro");
|
|
@@ -82,6 +83,10 @@ __decorate([
|
|
|
82
83
|
(0, class_transformer_1.Expose)(),
|
|
83
84
|
__metadata("design:type", String)
|
|
84
85
|
], Profile.prototype, "phoneForCustomers", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, class_transformer_1.Expose)(),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], Profile.prototype, "country", void 0);
|
|
85
90
|
__decorate([
|
|
86
91
|
(0, class_transformer_1.Expose)(),
|
|
87
92
|
__metadata("design:type", Array)
|
package/dist/order/order.ro.d.ts
CHANGED
package/dist/order/order.ro.js
CHANGED
|
@@ -245,6 +245,10 @@ __decorate([
|
|
|
245
245
|
(0, class_transformer_1.Expose)(),
|
|
246
246
|
__metadata("design:type", Number)
|
|
247
247
|
], OrderRO.prototype, "profileId", void 0);
|
|
248
|
+
__decorate([
|
|
249
|
+
(0, class_transformer_1.Expose)(),
|
|
250
|
+
__metadata("design:type", String)
|
|
251
|
+
], OrderRO.prototype, "otherId", void 0);
|
|
248
252
|
__decorate([
|
|
249
253
|
(0, class_transformer_1.Expose)(),
|
|
250
254
|
__metadata("design:type", Date)
|
|
@@ -45,6 +45,7 @@ __decorate([
|
|
|
45
45
|
], CreateSmtpDto.prototype, "pass", void 0);
|
|
46
46
|
__decorate([
|
|
47
47
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
48
|
+
(0, class_validator_1.ValidateIf)(({ service }) => service === smtp_enum_1.SmtpEnum.Custom),
|
|
48
49
|
(0, class_transformer_1.Expose)(),
|
|
49
50
|
__metadata("design:type", String)
|
|
50
51
|
], CreateSmtpDto.prototype, "sender", void 0);
|