@escapenavigator/types 1.4.31 → 1.4.33
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/article/create-article.dto.js +8 -8
- package/dist/cashbox/create-cashbox.dto.js +3 -3
- package/dist/certificate/certificate.ro.d.ts +3 -1
- package/dist/certificate/create-certificate.dto.d.ts +3 -1
- package/dist/certificate/create-certificate.dto.js +19 -6
- package/dist/certificate-sale/certificate-sale.ro.d.ts +3 -3
- package/dist/certificate-sale/create-certificatesale-discount.dto.js +1 -1
- package/dist/certificate-sale/create-certificatesale.dto.js +12 -12
- package/dist/certificate-sale/update-certificatesale-delivery-info.dto.js +8 -8
- package/dist/certificate-sale/update-certificatesale-tracking-info.dto.js +3 -3
- package/dist/city/create-city.dto.js +2 -2
- package/dist/client/client.ro.d.ts +1 -1
- package/dist/client/create-client.dto.js +5 -5
- package/dist/financeitem/create-financeitem.dto.js +2 -2
- package/dist/location/create-location.dto.d.ts +2 -0
- package/dist/location/create-location.dto.js +13 -3
- package/dist/location/location.ro.d.ts +2 -0
- package/dist/log/log.ro.d.ts +1 -1
- package/dist/order/order.ro.d.ts +3 -3
- package/dist/order-discount/create-order-discount.dto.js +1 -1
- package/dist/order-penalty/create-order-penalty.dto.js +1 -1
- package/dist/order-promocode/order-promocode.ro.d.ts +2 -2
- package/dist/order-upselling/create-order-upselling.dto.js +1 -0
- package/dist/partner/create-partner.dto.js +2 -2
- package/dist/profile/create-profile.dto.d.ts +1 -0
- package/dist/profile/create-profile.dto.js +14 -9
- package/dist/profile/profile.ro.d.ts +1 -0
- package/dist/profile/update-profile.dto.d.ts +2 -2
- package/dist/profile/update-profile.dto.js +10 -5
- package/dist/questroom/create-questroom.dto.js +7 -7
- package/dist/registration-request/update-registration-request.dto.js +2 -2
- package/dist/role/create-role.dto.js +2 -2
- package/dist/search/search.ro.d.ts +10 -0
- package/dist/search/search.ro.js +2 -0
- package/dist/subscription/create-subscription.dto.js +2 -2
- package/dist/tariff/create-tariff.dto.js +2 -2
- package/dist/transaction/transaction.ro.d.ts +4 -4
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upselling/create-upselling.dto.js +2 -2
- package/dist/user/create-user.dto.js +4 -4
- package/dist/user/update-current-user.dto.js +6 -6
- package/dist/user/update-user-password.dto.js +2 -2
- package/dist/widget/create-widget.dto.d.ts +1 -2
- package/dist/widget/create-widget.dto.js +1 -7
- package/dist/widget/widget.ro.d.ts +1 -2
- package/dist/widget-openapi/widget-openapi-certificate-card.ro.d.ts +3 -1
- package/dist/widget-openapi/widget-openapi-certificate.ro.d.ts +2 -2
- package/dist/widget-openapi/widget-openapi-create-certificate.dto.js +1 -0
- package/dist/widget-openapi/widget-openapi-create-order.dto.js +1 -0
- package/dist/widget-openapi/widget-openapi-create-review.dto.js +1 -0
- package/dist/widget-openapi/widget-openapi-day-schedule.dto.d.ts +4 -0
- package/dist/widget-openapi/{widget-openapi-weekly-query.dto.js → widget-openapi-day-schedule.dto.js} +7 -7
- package/dist/widget-openapi/widget-openapi-questroom.ro.d.ts +0 -7
- package/dist/widget-openapi/widget-openapi-week-schedule.dto.d.ts +4 -0
- package/dist/widget-openapi/{widget-openapi-schedule-query.dto.js → widget-openapi-week-schedule.dto.js} +6 -11
- package/dist/widget-openapi/widget-openapi.ro.d.ts +32 -6
- package/package.json +2 -2
- package/dist/shared/is-not-blank-string.d.ts +0 -2
- package/dist/shared/is-not-blank-string.js +0 -26
- package/dist/widget-openapi/widget-openapi-schedule-query.dto.d.ts +0 -5
- package/dist/widget-openapi/widget-openapi-weekly-query.dto.d.ts +0 -4
|
@@ -13,11 +13,16 @@ exports.CreateProfileDto = void 0;
|
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
16
|
-
const
|
|
16
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
17
17
|
class CreateProfileDto {
|
|
18
18
|
}
|
|
19
19
|
__decorate([
|
|
20
|
-
(0,
|
|
20
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateProfileDto.prototype, "color", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
21
26
|
(0, class_transformer_1.Expose)(),
|
|
22
27
|
__metadata("design:type", String)
|
|
23
28
|
], CreateProfileDto.prototype, "title", void 0);
|
|
@@ -27,13 +32,13 @@ __decorate([
|
|
|
27
32
|
__metadata("design:type", Number)
|
|
28
33
|
], CreateProfileDto.prototype, "registrationRequestId", void 0);
|
|
29
34
|
__decorate([
|
|
30
|
-
(0,
|
|
35
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
31
36
|
(0, class_validator_1.IsEmail)(),
|
|
32
37
|
(0, class_transformer_1.Expose)(),
|
|
33
38
|
__metadata("design:type", String)
|
|
34
39
|
], CreateProfileDto.prototype, "email", void 0);
|
|
35
40
|
__decorate([
|
|
36
|
-
(0,
|
|
41
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
37
42
|
(0, class_transformer_1.Expose)(),
|
|
38
43
|
__metadata("design:type", String)
|
|
39
44
|
], CreateProfileDto.prototype, "phone", void 0);
|
|
@@ -43,12 +48,12 @@ __decorate([
|
|
|
43
48
|
__metadata("design:type", String)
|
|
44
49
|
], CreateProfileDto.prototype, "site", void 0);
|
|
45
50
|
__decorate([
|
|
46
|
-
(0,
|
|
51
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
47
52
|
(0, class_transformer_1.Expose)(),
|
|
48
53
|
__metadata("design:type", String)
|
|
49
54
|
], CreateProfileDto.prototype, "legalTitle", void 0);
|
|
50
55
|
__decorate([
|
|
51
|
-
(0,
|
|
56
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
52
57
|
(0, class_transformer_1.Expose)(),
|
|
53
58
|
__metadata("design:type", String)
|
|
54
59
|
], CreateProfileDto.prototype, "address", void 0);
|
|
@@ -65,7 +70,7 @@ __decorate([
|
|
|
65
70
|
__metadata("design:type", String)
|
|
66
71
|
], CreateProfileDto.prototype, "facebook", void 0);
|
|
67
72
|
__decorate([
|
|
68
|
-
(0,
|
|
73
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
69
74
|
(0, class_transformer_1.Expose)(),
|
|
70
75
|
__metadata("design:type", String)
|
|
71
76
|
], CreateProfileDto.prototype, "language", void 0);
|
|
@@ -76,12 +81,12 @@ __decorate([
|
|
|
76
81
|
__metadata("design:type", String)
|
|
77
82
|
], CreateProfileDto.prototype, "comment", void 0);
|
|
78
83
|
__decorate([
|
|
79
|
-
(0,
|
|
84
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
80
85
|
(0, class_transformer_1.Expose)(),
|
|
81
86
|
__metadata("design:type", String)
|
|
82
87
|
], CreateProfileDto.prototype, "contactName", void 0);
|
|
83
88
|
__decorate([
|
|
84
|
-
(0,
|
|
89
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
85
90
|
(0, class_transformer_1.Expose)(),
|
|
86
91
|
__metadata("design:type", String)
|
|
87
92
|
], CreateProfileDto.prototype, "contactPhone", void 0);
|
|
@@ -4,6 +4,7 @@ import { ProfileCurrencyEnum } from './enum/profile-currency';
|
|
|
4
4
|
import { ProfileStatusEnum } from './enum/profile-status.enum';
|
|
5
5
|
export declare type ProfileResponseObject = ResponseObject & {
|
|
6
6
|
title: string;
|
|
7
|
+
color: string;
|
|
7
8
|
legalTitle: string;
|
|
8
9
|
phone: string;
|
|
9
10
|
email: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { ProfileCurrencyEnum } from './enum/profile-currency';
|
|
3
2
|
export declare class UpdateProfileDto {
|
|
3
|
+
color: string;
|
|
4
4
|
title: string;
|
|
5
5
|
legalTitle: string;
|
|
6
|
+
registrationRequestId: number;
|
|
6
7
|
phone: string;
|
|
7
8
|
contactPhone: string;
|
|
8
9
|
contactName: string;
|
|
@@ -10,7 +11,6 @@ export declare class UpdateProfileDto {
|
|
|
10
11
|
site: string;
|
|
11
12
|
address: string;
|
|
12
13
|
language: Languages;
|
|
13
|
-
currency: ProfileCurrencyEnum;
|
|
14
14
|
facebook?: string;
|
|
15
15
|
instagram?: string;
|
|
16
16
|
comment?: string;
|
|
@@ -10,12 +10,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateProfileDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
15
16
|
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
16
|
-
const profile_currency_1 = require("./enum/profile-currency");
|
|
17
17
|
class UpdateProfileDto {
|
|
18
18
|
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], UpdateProfileDto.prototype, "color", void 0);
|
|
19
23
|
__decorate([
|
|
20
24
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
21
25
|
__metadata("design:type", String)
|
|
@@ -24,6 +28,11 @@ __decorate([
|
|
|
24
28
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
25
29
|
__metadata("design:type", String)
|
|
26
30
|
], UpdateProfileDto.prototype, "legalTitle", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsNumber)(),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], UpdateProfileDto.prototype, "registrationRequestId", void 0);
|
|
27
36
|
__decorate([
|
|
28
37
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
29
38
|
__metadata("design:type", String)
|
|
@@ -52,10 +61,6 @@ __decorate([
|
|
|
52
61
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
53
62
|
__metadata("design:type", String)
|
|
54
63
|
], UpdateProfileDto.prototype, "language", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], UpdateProfileDto.prototype, "currency", void 0);
|
|
59
64
|
__decorate([
|
|
60
65
|
(0, class_validator_1.IsOptional)(),
|
|
61
66
|
__metadata("design:type", String)
|
|
@@ -13,13 +13,13 @@ exports.CreateQuestroomDto = void 0;
|
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
16
|
-
const
|
|
16
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
17
17
|
const questroom_cancelation_type_enum_1 = require("./enum/questroom-cancelation-type.enum");
|
|
18
18
|
const questroom_type_enum_1 = require("./enum/questroom-type.enum");
|
|
19
19
|
class CreateQuestroomDto {
|
|
20
20
|
}
|
|
21
21
|
__decorate([
|
|
22
|
-
(0,
|
|
22
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
23
23
|
(0, class_transformer_1.Expose)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], CreateQuestroomDto.prototype, "title", void 0);
|
|
@@ -89,17 +89,17 @@ __decorate([
|
|
|
89
89
|
__metadata("design:type", String)
|
|
90
90
|
], CreateQuestroomDto.prototype, "defaultLanguage", void 0);
|
|
91
91
|
__decorate([
|
|
92
|
-
(0,
|
|
92
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
93
93
|
(0, class_transformer_1.Expose)(),
|
|
94
94
|
__metadata("design:type", Number)
|
|
95
95
|
], CreateQuestroomDto.prototype, "onlinePaymentsCashbox", void 0);
|
|
96
96
|
__decorate([
|
|
97
|
-
(0,
|
|
97
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
98
98
|
(0, class_transformer_1.Expose)(),
|
|
99
99
|
__metadata("design:type", Number)
|
|
100
100
|
], CreateQuestroomDto.prototype, "cashPaymentsCashbox", void 0);
|
|
101
101
|
__decorate([
|
|
102
|
-
(0,
|
|
102
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
103
103
|
(0, class_transformer_1.Expose)(),
|
|
104
104
|
__metadata("design:type", Number)
|
|
105
105
|
], CreateQuestroomDto.prototype, "cardPaymentsCashbox", void 0);
|
|
@@ -146,7 +146,7 @@ __decorate([
|
|
|
146
146
|
__metadata("design:type", Boolean)
|
|
147
147
|
], CreateQuestroomDto.prototype, "ticketSystem", void 0);
|
|
148
148
|
__decorate([
|
|
149
|
-
(0,
|
|
149
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
150
150
|
(0, class_transformer_1.Expose)(),
|
|
151
151
|
__metadata("design:type", String)
|
|
152
152
|
], CreateQuestroomDto.prototype, "photo", void 0);
|
|
@@ -163,7 +163,7 @@ __decorate([
|
|
|
163
163
|
__metadata("design:type", String)
|
|
164
164
|
], CreateQuestroomDto.prototype, "video", void 0);
|
|
165
165
|
__decorate([
|
|
166
|
-
(0,
|
|
166
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
167
167
|
(0, class_transformer_1.Expose)(),
|
|
168
168
|
__metadata("design:type", String)
|
|
169
169
|
], CreateQuestroomDto.prototype, "legend", void 0);
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.UpdateRegistrationRequestDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const
|
|
15
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
16
16
|
const registration_request_status_1 = require("./enum/registration-request-status");
|
|
17
17
|
class UpdateRegistrationRequestDto {
|
|
18
18
|
}
|
|
@@ -38,7 +38,7 @@ __decorate([
|
|
|
38
38
|
], UpdateRegistrationRequestDto.prototype, "status", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
(0, class_validator_1.ValidateIf)((rec) => rec.status === registration_request_status_1.RegistrationRequestStatusEnum.REJECTED),
|
|
41
|
-
(0,
|
|
41
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
42
42
|
(0, class_transformer_1.Expose)(),
|
|
43
43
|
__metadata("design:type", String)
|
|
44
44
|
], UpdateRegistrationRequestDto.prototype, "comment", void 0);
|
|
@@ -12,11 +12,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.CreateRoleDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const
|
|
15
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
16
16
|
class CreateRoleDto {
|
|
17
17
|
}
|
|
18
18
|
__decorate([
|
|
19
|
-
(0,
|
|
19
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
20
20
|
(0, class_transformer_1.Expose)(),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
22
|
], CreateRoleDto.prototype, "title", void 0);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CertificateSaleRO } from '../certificate-sale/certificate-sale.ro';
|
|
2
|
+
import { ClientRO } from '../client/client.ro';
|
|
3
|
+
import { OrderRO } from '../order/order.ro';
|
|
4
|
+
import { PromocodeRO } from '../promocode/promocode.ro';
|
|
5
|
+
export declare type SearchRO = {
|
|
6
|
+
clients: ClientRO[];
|
|
7
|
+
orders: OrderRO[];
|
|
8
|
+
certificates: CertificateSaleRO[];
|
|
9
|
+
promocodes: PromocodeRO[];
|
|
10
|
+
};
|
|
@@ -11,11 +11,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateSubscriptionDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
14
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
15
15
|
class CreateSubscriptionDto {
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
18
|
-
(0,
|
|
18
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
19
19
|
(0, class_transformer_1.Expose)(),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
21
|
], CreateSubscriptionDto.prototype, "email", void 0);
|
|
@@ -13,11 +13,11 @@ exports.CreateTariffDto = void 0;
|
|
|
13
13
|
/* eslint-disable quote-props */
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
|
-
const
|
|
16
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
17
17
|
class CreateTariffDto {
|
|
18
18
|
}
|
|
19
19
|
__decorate([
|
|
20
|
-
(0,
|
|
20
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
21
21
|
(0, class_transformer_1.Expose)(),
|
|
22
22
|
__metadata("design:type", String)
|
|
23
23
|
], CreateTariffDto.prototype, "title", void 0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CertificateSaleRO } from '../certificate-sale/certificate-sale.ro';
|
|
2
2
|
import { FinanceitemTypeEnum } from '../financeitem/enum/financeitem-type.enum';
|
|
3
3
|
import { FinanceitemResponseObject } from '../financeitem/financeitem.ro';
|
|
4
|
-
import {
|
|
4
|
+
import { OrderRO } from '../order/order.ro';
|
|
5
5
|
import { PartnerResponseObject } from '../partner/partner.ro';
|
|
6
6
|
import { ResponseObject } from '../shared/ro';
|
|
7
7
|
import { CashboxResponseObject } from '..';
|
|
@@ -21,7 +21,7 @@ export declare type TransactionResponseObject = ResponseObject & {
|
|
|
21
21
|
comment?: string;
|
|
22
22
|
source: TransactionSourceEnum;
|
|
23
23
|
orderId?: number;
|
|
24
|
-
order:
|
|
24
|
+
order: OrderRO;
|
|
25
25
|
certificateId?: number;
|
|
26
|
-
certificate?:
|
|
26
|
+
certificate?: CertificateSaleRO;
|
|
27
27
|
};
|