@escapenavigator/types 1.4.84 → 1.4.85
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 +2 -0
- package/dist/certificate-sale/create-certificatesale.dto.d.ts +2 -2
- package/dist/certificate-sale/create-certificatesale.dto.js +20 -21
- package/dist/client/client-form.dto.d.ts +11 -0
- package/dist/client/client-form.dto.js +66 -0
- package/dist/client/client.ro.d.ts +2 -0
- package/dist/client/create-client.dto.d.ts +2 -6
- package/dist/client/create-client.dto.js +2 -28
- package/dist/location/create-location.dto.d.ts +3 -0
- package/dist/location/create-location.dto.js +15 -0
- package/dist/location/location.ro.d.ts +2 -0
- package/dist/profile/{update-agb.dto.js → agb/update-agb.dto.js} +1 -1
- package/dist/profile/cross-sale/cross-sale.dto.d.ts +11 -0
- package/dist/profile/{update-customization.dto.js → cross-sale/cross-sale.dto.js} +10 -31
- package/dist/profile/cross-sale/cross-sale.ro.d.ts +10 -0
- package/dist/profile/customization/customization.ro.d.ts +7 -0
- package/dist/profile/customization/customization.ro.js +2 -0
- package/dist/profile/customization/update-customization.dto.d.ts +6 -0
- package/dist/{widget-openapi/openapi-create-client.dto.js → profile/customization/update-customization.dto.js} +14 -18
- package/dist/role/create-role.dto.d.ts +0 -2
- package/dist/role/create-role.dto.js +0 -12
- package/dist/role/role.ro.d.ts +0 -2
- package/dist/slot/slot.ro.d.ts +2 -0
- package/dist/slot-rule/rule.ro.d.ts +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/crud/user.ro.d.ts +1 -0
- package/dist/user/current/update-current-avatar.dto.d.ts +3 -0
- package/dist/user/current/update-current-avatar.dto.js +22 -0
- package/dist/user/current/update-current-preferences.dto copy.d.ts +5 -0
- package/dist/user/current/update-current-preferences.dto copy.js +29 -0
- package/dist/user/current/update-current-user.dto.d.ts +0 -3
- package/dist/user/current/update-current-user.dto.js +1 -12
- package/dist/user/setup/complite-setup.dto.d.ts +1 -0
- package/dist/user/setup/complite-setup.dto.js +5 -0
- package/dist/widget-openapi/openapi-create-bookeo-order.dto.d.ts +2 -2
- package/dist/widget-openapi/openapi-create-bookeo-order.dto.js +2 -2
- package/dist/widget-openapi/openapi-create-certificate.dto.d.ts +4 -3
- package/dist/widget-openapi/openapi-create-certificate.dto.js +28 -21
- package/dist/widget-openapi/openapi-create-order.dto.d.ts +2 -2
- package/dist/widget-openapi/openapi-create-order.dto.js +2 -2
- package/dist/widget-openapi/openapi-slot-add-hold.ro.d.ts +4 -1
- package/dist/widget-openapi/openapi-slot-add-hold.ro.js +9 -1
- package/dist/widget-openapi/openapi-slot-get-bookeo-price.dto.d.ts +1 -1
- package/dist/widget-openapi/openapi-slot-get-bookeo-price.dto.js +3 -3
- package/dist/widget-openapi/openapi-slot-remove-hold.dto.d.ts +3 -2
- package/dist/widget-openapi/openapi-slot-remove-hold.dto.js +8 -3
- package/dist/widget-openapi/openapi-slots.ro.d.ts +14 -13
- package/dist/widget-openapi/openapi-slots.ro.js +92 -0
- package/dist/widget-openapi/openapi-widget.ro.d.ts +0 -1
- package/package.json +2 -2
- package/dist/client/update-client.dto.d.ts +0 -9
- package/dist/client/update-client.dto.js +0 -59
- package/dist/profile/customization.ro.d.ts +0 -15
- package/dist/profile/update-customization.dto.d.ts +0 -16
- package/dist/widget-openapi/openapi-create-client.dto.d.ts +0 -6
- /package/dist/profile/{profile-agb.ro.d.ts → agb/profile-agb.ro.d.ts} +0 -0
- /package/dist/profile/{profile-agb.ro.js → agb/profile-agb.ro.js} +0 -0
- /package/dist/profile/{update-agb.dto.d.ts → agb/update-agb.dto.d.ts} +0 -0
- /package/dist/profile/{customization.ro.js → cross-sale/cross-sale.ro.js} +0 -0
|
@@ -20,6 +20,8 @@ export declare type CertificateSaleRO = ResponseObject & {
|
|
|
20
20
|
deliverySurname: string;
|
|
21
21
|
deliveryPhone: string;
|
|
22
22
|
deliveryAddress: string;
|
|
23
|
+
deliveryCity: string;
|
|
24
|
+
deliveryPostcode: string;
|
|
23
25
|
sendingEmailFullUtcDate: string;
|
|
24
26
|
deliveryTrackingInfo: string;
|
|
25
27
|
payed: number;
|
|
@@ -4,8 +4,6 @@ export declare class CreateCertificatesaleDto {
|
|
|
4
4
|
nominal: number;
|
|
5
5
|
cashboxId: number;
|
|
6
6
|
clientId: number;
|
|
7
|
-
sameRecipient: boolean;
|
|
8
|
-
saveAddress: boolean;
|
|
9
7
|
sendAfterPayment: boolean;
|
|
10
8
|
deliveryType: CertificatesaleDeliveryTypeEnum;
|
|
11
9
|
deliveryEmail: string;
|
|
@@ -13,6 +11,8 @@ export declare class CreateCertificatesaleDto {
|
|
|
13
11
|
deliverySurname: string;
|
|
14
12
|
deliveryPhone: string;
|
|
15
13
|
deliveryAddress: string;
|
|
14
|
+
deliveryCity: string;
|
|
15
|
+
deliveryPostcode: string;
|
|
16
16
|
deliveryMessage: string;
|
|
17
17
|
sendingDate: string;
|
|
18
18
|
sendingTime: string;
|
|
@@ -36,18 +36,6 @@ __decorate([
|
|
|
36
36
|
(0, class_transformer_1.Expose)(),
|
|
37
37
|
__metadata("design:type", Number)
|
|
38
38
|
], CreateCertificatesaleDto.prototype, "clientId", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsBoolean)(),
|
|
41
|
-
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? false : value)),
|
|
42
|
-
(0, class_transformer_1.Expose)(),
|
|
43
|
-
__metadata("design:type", Boolean)
|
|
44
|
-
], CreateCertificatesaleDto.prototype, "sameRecipient", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, class_validator_1.IsBoolean)(),
|
|
47
|
-
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? false : value)),
|
|
48
|
-
(0, class_transformer_1.Expose)(),
|
|
49
|
-
__metadata("design:type", Boolean)
|
|
50
|
-
], CreateCertificatesaleDto.prototype, "saveAddress", void 0);
|
|
51
39
|
__decorate([
|
|
52
40
|
(0, class_validator_1.IsBoolean)(),
|
|
53
41
|
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
|
|
@@ -60,21 +48,21 @@ __decorate([
|
|
|
60
48
|
__metadata("design:type", String)
|
|
61
49
|
], CreateCertificatesaleDto.prototype, "deliveryType", void 0);
|
|
62
50
|
__decorate([
|
|
63
|
-
(0, class_validator_1.IsEmail)(),
|
|
64
|
-
(0, class_transformer_1.Transform)(({ value }) => value === null || value === void 0 ? void 0 : value.trim().toLowerCase()),
|
|
65
51
|
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.EMAIL),
|
|
52
|
+
(0, class_transformer_1.Transform)(({ value }) => value === null || value === void 0 ? void 0 : value.trim().toLowerCase()),
|
|
53
|
+
(0, class_validator_1.IsEmail)(),
|
|
66
54
|
(0, class_transformer_1.Expose)(),
|
|
67
55
|
__metadata("design:type", String)
|
|
68
56
|
], CreateCertificatesaleDto.prototype, "deliveryEmail", void 0);
|
|
69
57
|
__decorate([
|
|
70
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
71
58
|
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
59
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
72
60
|
(0, class_transformer_1.Expose)(),
|
|
73
61
|
__metadata("design:type", String)
|
|
74
62
|
], CreateCertificatesaleDto.prototype, "deliveryName", void 0);
|
|
75
63
|
__decorate([
|
|
76
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
77
64
|
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
65
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
78
66
|
(0, class_transformer_1.Expose)(),
|
|
79
67
|
__metadata("design:type", String)
|
|
80
68
|
], CreateCertificatesaleDto.prototype, "deliverySurname", void 0);
|
|
@@ -85,31 +73,42 @@ __decorate([
|
|
|
85
73
|
__metadata("design:type", String)
|
|
86
74
|
], CreateCertificatesaleDto.prototype, "deliveryPhone", void 0);
|
|
87
75
|
__decorate([
|
|
88
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
89
76
|
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
77
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
90
78
|
(0, class_transformer_1.Expose)(),
|
|
91
79
|
__metadata("design:type", String)
|
|
92
80
|
], CreateCertificatesaleDto.prototype, "deliveryAddress", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
83
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
84
|
+
(0, class_transformer_1.Expose)(),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], CreateCertificatesaleDto.prototype, "deliveryCity", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_validator_1.ValidateIf)((row) => row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.POST),
|
|
89
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
90
|
+
(0, class_transformer_1.Expose)(),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], CreateCertificatesaleDto.prototype, "deliveryPostcode", void 0);
|
|
93
93
|
__decorate([
|
|
94
94
|
(0, class_validator_1.IsOptional)(),
|
|
95
95
|
(0, class_transformer_1.Expose)(),
|
|
96
96
|
__metadata("design:type", String)
|
|
97
97
|
], CreateCertificatesaleDto.prototype, "deliveryMessage", void 0);
|
|
98
98
|
__decorate([
|
|
99
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
100
99
|
(0, class_validator_1.ValidateIf)((row) => !row.sendAfterPayment && row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.EMAIL),
|
|
100
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
101
101
|
(0, class_transformer_1.Expose)(),
|
|
102
102
|
__metadata("design:type", String)
|
|
103
103
|
], CreateCertificatesaleDto.prototype, "sendingDate", void 0);
|
|
104
104
|
__decorate([
|
|
105
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
106
105
|
(0, class_validator_1.ValidateIf)((row) => !row.sendAfterPayment && row.deliveryType === certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum.EMAIL),
|
|
106
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
107
107
|
(0, class_transformer_1.Expose)(),
|
|
108
108
|
__metadata("design:type", String)
|
|
109
109
|
], CreateCertificatesaleDto.prototype, "sendingTime", void 0);
|
|
110
110
|
__decorate([
|
|
111
|
-
(0,
|
|
112
|
-
(0, class_validator_1.ValidateIf)(({ sendAfterPayment, sendingDate }) => !sendAfterPayment && sendingDate),
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
113
112
|
(0, class_transformer_1.Expose)(),
|
|
114
113
|
__metadata("design:type", String)
|
|
115
114
|
], CreateCertificatesaleDto.prototype, "sendingEmailUtcDate", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WidgetBookingFiledEnum } from '../widget/enum/widget-booking-filed.enum';
|
|
2
|
+
export declare class ClientFormDto {
|
|
3
|
+
fields: WidgetBookingFiledEnum[];
|
|
4
|
+
name: string;
|
|
5
|
+
surname: string;
|
|
6
|
+
email: string;
|
|
7
|
+
phone: string;
|
|
8
|
+
address: string;
|
|
9
|
+
postcode: string;
|
|
10
|
+
city: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.ClientFormDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
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");
|
|
17
|
+
class ClientFormDto {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsArray)(),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", Array)
|
|
23
|
+
], ClientFormDto.prototype, "fields", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.ValidateIf)(({ fields }) => fields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.NAME)),
|
|
26
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], ClientFormDto.prototype, "name", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.ValidateIf)(({ fields }) => fields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.SURNAME)),
|
|
32
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], ClientFormDto.prototype, "surname", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsEmail)(),
|
|
38
|
+
(0, class_transformer_1.Transform)(({ value }) => value === null || value === void 0 ? void 0 : value.trim().toLowerCase()),
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], ClientFormDto.prototype, "email", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.ValidateIf)(({ fields }) => fields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.PHONE)),
|
|
44
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ClientFormDto.prototype, "phone", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.ValidateIf)(({ fields }) => fields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.ADDRESS)),
|
|
50
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], ClientFormDto.prototype, "address", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.ValidateIf)(({ fields }) => fields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.ADDRESS)),
|
|
56
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], ClientFormDto.prototype, "postcode", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.ValidateIf)(({ fields }) => fields.includes(widget_booking_filed_enum_1.WidgetBookingFiledEnum.ADDRESS)),
|
|
62
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
63
|
+
(0, class_transformer_1.Expose)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], ClientFormDto.prototype, "city", void 0);
|
|
66
|
+
exports.ClientFormDto = ClientFormDto;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
surname: string;
|
|
4
|
-
phone: string;
|
|
1
|
+
import { ClientFormDto } from './client-form.dto';
|
|
2
|
+
export declare class CreateClientDto extends ClientFormDto {
|
|
5
3
|
phone2: string;
|
|
6
|
-
email: string;
|
|
7
|
-
address: string;
|
|
8
4
|
sendAds: boolean;
|
|
9
5
|
}
|
|
@@ -12,40 +12,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.CreateClientDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const
|
|
16
|
-
class CreateClientDto {
|
|
15
|
+
const client_form_dto_1 = require("./client-form.dto");
|
|
16
|
+
class CreateClientDto extends client_form_dto_1.ClientFormDto {
|
|
17
17
|
}
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
20
|
-
(0, class_transformer_1.Expose)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], CreateClientDto.prototype, "name", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
25
|
-
(0, class_transformer_1.Expose)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], CreateClientDto.prototype, "surname", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
30
|
-
(0, class_transformer_1.Expose)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CreateClientDto.prototype, "phone", void 0);
|
|
33
18
|
__decorate([
|
|
34
19
|
(0, class_validator_1.IsOptional)(),
|
|
35
20
|
(0, class_transformer_1.Expose)(),
|
|
36
21
|
__metadata("design:type", String)
|
|
37
22
|
], CreateClientDto.prototype, "phone2", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsEmail)(),
|
|
40
|
-
(0, class_transformer_1.Transform)(({ value }) => value === null || value === void 0 ? void 0 : value.trim().toLowerCase()),
|
|
41
|
-
(0, class_transformer_1.Expose)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], CreateClientDto.prototype, "email", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
46
|
-
(0, class_transformer_1.Expose)(),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], CreateClientDto.prototype, "address", void 0);
|
|
49
23
|
__decorate([
|
|
50
24
|
(0, class_validator_1.IsBoolean)(),
|
|
51
25
|
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
|
|
@@ -2,12 +2,15 @@ import { Languages } from '../shared/enum/languages.enum';
|
|
|
2
2
|
declare class Locale {
|
|
3
3
|
language: Languages;
|
|
4
4
|
howToFind: string;
|
|
5
|
+
prepareText: string;
|
|
5
6
|
}
|
|
6
7
|
export declare class CreateLocationDto {
|
|
8
|
+
title: string;
|
|
7
9
|
phone: string;
|
|
8
10
|
address: string;
|
|
9
11
|
ip: string;
|
|
10
12
|
howToFind?: string;
|
|
13
|
+
prepareText: string;
|
|
11
14
|
wifi: boolean;
|
|
12
15
|
wardrobe: boolean;
|
|
13
16
|
freeParking: boolean;
|
|
@@ -28,8 +28,18 @@ __decorate([
|
|
|
28
28
|
(0, class_transformer_1.Expose)(),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
30
|
], Locale.prototype, "howToFind", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], Locale.prototype, "prepareText", void 0);
|
|
31
36
|
class CreateLocationDto {
|
|
32
37
|
}
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], CreateLocationDto.prototype, "title", void 0);
|
|
33
43
|
__decorate([
|
|
34
44
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
35
45
|
(0, class_transformer_1.Expose)(),
|
|
@@ -51,6 +61,11 @@ __decorate([
|
|
|
51
61
|
(0, class_transformer_1.Expose)(),
|
|
52
62
|
__metadata("design:type", String)
|
|
53
63
|
], CreateLocationDto.prototype, "howToFind", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_validator_1.IsOptional)(),
|
|
66
|
+
(0, class_transformer_1.Expose)(),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], CreateLocationDto.prototype, "prepareText", void 0);
|
|
54
69
|
__decorate([
|
|
55
70
|
(0, class_validator_1.IsBoolean)(),
|
|
56
71
|
(0, class_transformer_1.Transform)(({ value }) => value || false),
|
|
@@ -6,6 +6,7 @@ export declare type LocationRO = ResponseObject & {
|
|
|
6
6
|
phone: string;
|
|
7
7
|
ip: string;
|
|
8
8
|
howToFind: string;
|
|
9
|
+
prepareText: string;
|
|
9
10
|
wifi: boolean;
|
|
10
11
|
wardrobe: boolean;
|
|
11
12
|
freeParking: boolean;
|
|
@@ -16,5 +17,6 @@ export declare type LocationRO = ResponseObject & {
|
|
|
16
17
|
locales: Array<{
|
|
17
18
|
language: Languages;
|
|
18
19
|
howToFind: string;
|
|
20
|
+
prepareText: string;
|
|
19
21
|
}>;
|
|
20
22
|
};
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateProfileAgbDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const is_not_blank_1 = require("
|
|
14
|
+
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
15
15
|
class UpdateProfileAgbDto {
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Languages } from '../../shared/enum/languages.enum';
|
|
2
|
+
declare class Locale {
|
|
3
|
+
language: Languages;
|
|
4
|
+
feedbackText: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class CrossSaleDto {
|
|
7
|
+
sendAfter: number;
|
|
8
|
+
feedbackText: string;
|
|
9
|
+
locales: Locale[];
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -9,12 +9,12 @@ 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.CrossSaleDto = 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 languages_enum_1 = require("
|
|
17
|
-
const is_not_blank_1 = require("
|
|
16
|
+
const languages_enum_1 = require("../../shared/enum/languages.enum");
|
|
17
|
+
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
18
18
|
class Locale {
|
|
19
19
|
}
|
|
20
20
|
__decorate([
|
|
@@ -28,43 +28,22 @@ __decorate([
|
|
|
28
28
|
(0, class_transformer_1.Expose)(),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
30
|
], Locale.prototype, "feedbackText", void 0);
|
|
31
|
-
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
(0, class_transformer_1.Expose)(),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], Locale.prototype, "prepareText", void 0);
|
|
36
|
-
class UpdateCustomizationDto {
|
|
31
|
+
class CrossSaleDto {
|
|
37
32
|
}
|
|
38
33
|
__decorate([
|
|
39
|
-
(0, class_validator_1.
|
|
40
|
-
(0, class_transformer_1.Expose)(),
|
|
41
|
-
__metadata("design:type", Boolean)
|
|
42
|
-
], UpdateCustomizationDto.prototype, "allowOrdersOnlinePayments", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
45
|
-
(0, class_transformer_1.Expose)(),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], UpdateCustomizationDto.prototype, "color", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
34
|
+
(0, class_validator_1.IsPositive)(),
|
|
50
35
|
(0, class_transformer_1.Expose)(),
|
|
51
|
-
__metadata("design:type",
|
|
52
|
-
],
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], CrossSaleDto.prototype, "sendAfter", void 0);
|
|
53
38
|
__decorate([
|
|
54
39
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
55
40
|
(0, class_transformer_1.Expose)(),
|
|
56
41
|
__metadata("design:type", String)
|
|
57
|
-
],
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, class_validator_1.IsArray)(),
|
|
60
|
-
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
61
|
-
(0, class_transformer_1.Expose)(),
|
|
62
|
-
__metadata("design:type", Array)
|
|
63
|
-
], UpdateCustomizationDto.prototype, "bookingFields", void 0);
|
|
42
|
+
], CrossSaleDto.prototype, "feedbackText", void 0);
|
|
64
43
|
__decorate([
|
|
65
44
|
(0, class_transformer_1.Type)(() => Locale),
|
|
66
45
|
(0, class_validator_1.IsArray)(),
|
|
67
46
|
(0, class_transformer_1.Expose)(),
|
|
68
47
|
__metadata("design:type", Array)
|
|
69
|
-
],
|
|
70
|
-
exports.
|
|
48
|
+
], CrossSaleDto.prototype, "locales", void 0);
|
|
49
|
+
exports.CrossSaleDto = CrossSaleDto;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Languages } from '../../shared/enum/languages.enum';
|
|
2
|
+
import { ResponseObject } from '../../shared/ro';
|
|
3
|
+
export declare type CrossSaleRO = ResponseObject & {
|
|
4
|
+
sendAfter: number;
|
|
5
|
+
feedbackText: string;
|
|
6
|
+
locales: Array<{
|
|
7
|
+
language: Languages;
|
|
8
|
+
feedbackText: string;
|
|
9
|
+
}>;
|
|
10
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResponseObject } from '../../shared/ro';
|
|
2
|
+
import { WidgetBookingFiledEnum } from '../../widget/enum/widget-booking-filed.enum';
|
|
3
|
+
export declare type CustomizationRO = ResponseObject & {
|
|
4
|
+
allowOrdersOnlinePayments: boolean;
|
|
5
|
+
bookingFields: WidgetBookingFiledEnum[];
|
|
6
|
+
color: string;
|
|
7
|
+
};
|
|
@@ -9,31 +9,27 @@ 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.UpdateCustomizationDto = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
13
14
|
const class_transformer_1 = require("class-transformer");
|
|
14
15
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const is_not_blank_1 = require("
|
|
16
|
-
class
|
|
16
|
+
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
17
|
+
class UpdateCustomizationDto {
|
|
17
18
|
}
|
|
18
19
|
__decorate([
|
|
19
|
-
(0, class_validator_1.
|
|
20
|
+
(0, class_validator_1.IsBoolean)(),
|
|
20
21
|
(0, class_transformer_1.Expose)(),
|
|
21
|
-
__metadata("design:type",
|
|
22
|
-
],
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
-
(0, class_transformer_1.Expose)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], OpenapiCreateClientDto.prototype, "surname", void 0);
|
|
22
|
+
__metadata("design:type", Boolean)
|
|
23
|
+
], UpdateCustomizationDto.prototype, "allowOrdersOnlinePayments", void 0);
|
|
28
24
|
__decorate([
|
|
29
|
-
(0,
|
|
30
|
-
(0, class_transformer_1.Transform)(({ value }) => value === null || value === void 0 ? void 0 : value.trim().toLowerCase()),
|
|
25
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
31
26
|
(0, class_transformer_1.Expose)(),
|
|
32
27
|
__metadata("design:type", String)
|
|
33
|
-
],
|
|
28
|
+
], UpdateCustomizationDto.prototype, "color", void 0);
|
|
34
29
|
__decorate([
|
|
35
|
-
(0,
|
|
30
|
+
(0, class_validator_1.IsArray)(),
|
|
31
|
+
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
36
32
|
(0, class_transformer_1.Expose)(),
|
|
37
|
-
__metadata("design:type",
|
|
38
|
-
],
|
|
39
|
-
exports.
|
|
33
|
+
__metadata("design:type", Array)
|
|
34
|
+
], UpdateCustomizationDto.prototype, "bookingFields", void 0);
|
|
35
|
+
exports.UpdateCustomizationDto = UpdateCustomizationDto;
|
|
@@ -104,16 +104,4 @@ __decorate([
|
|
|
104
104
|
(0, class_transformer_1.Expose)(),
|
|
105
105
|
__metadata("design:type", Boolean)
|
|
106
106
|
], CreateRoleDto.prototype, "canEditSchedule", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
(0, class_validator_1.IsBoolean)(),
|
|
109
|
-
(0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : false)),
|
|
110
|
-
(0, class_transformer_1.Expose)(),
|
|
111
|
-
__metadata("design:type", Boolean)
|
|
112
|
-
], CreateRoleDto.prototype, "needTimeLogger", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
(0, class_validator_1.IsBoolean)(),
|
|
115
|
-
(0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : false)),
|
|
116
|
-
(0, class_transformer_1.Expose)(),
|
|
117
|
-
__metadata("design:type", Boolean)
|
|
118
|
-
], CreateRoleDto.prototype, "strictCheckInByIp", void 0);
|
|
119
107
|
exports.CreateRoleDto = CreateRoleDto;
|
package/dist/role/role.ro.d.ts
CHANGED
package/dist/slot/slot.ro.d.ts
CHANGED