@escapenavigator/types 1.6.14 → 1.6.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/profile/admin-profile.ro.d.ts +4 -2
- package/dist/profile/admin-profile.ro.js +7 -2
- package/dist/profile/create-profile.dto.d.ts +2 -3
- package/dist/profile/create-profile.dto.js +7 -12
- package/dist/profile/invoice.ro.d.ts +2 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
2
|
import { ProfileStepEnum } from './enum/profile-step.enum';
|
|
3
|
+
import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
|
|
3
4
|
declare class Message {
|
|
4
5
|
text: string;
|
|
5
6
|
}
|
|
@@ -12,8 +13,8 @@ export declare class AdminProfileRO {
|
|
|
12
13
|
mainEmail: string;
|
|
13
14
|
secondaryEmails: string[];
|
|
14
15
|
site: string;
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
contactId: string;
|
|
17
|
+
comment: string;
|
|
17
18
|
facebook: string;
|
|
18
19
|
instagram: string;
|
|
19
20
|
agreementLink: string;
|
|
@@ -22,6 +23,7 @@ export declare class AdminProfileRO {
|
|
|
22
23
|
country: CountriesEnum;
|
|
23
24
|
locationsCount: number;
|
|
24
25
|
questroomsCount: number;
|
|
26
|
+
subscription: ProfileSubscriptionEnum;
|
|
25
27
|
questroomsDeletedCount: number;
|
|
26
28
|
lastVisit: Date;
|
|
27
29
|
step: ProfileStepEnum;
|
|
@@ -14,6 +14,7 @@ exports.AdminProfileRO = void 0;
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
16
|
const profile_step_enum_1 = require("./enum/profile-step.enum");
|
|
17
|
+
const profile_subscription_enum_1 = require("./enum/profile-subscription.enum");
|
|
17
18
|
class Message {
|
|
18
19
|
}
|
|
19
20
|
__decorate([
|
|
@@ -57,11 +58,11 @@ __decorate([
|
|
|
57
58
|
__decorate([
|
|
58
59
|
(0, class_transformer_1.Expose)(),
|
|
59
60
|
__metadata("design:type", String)
|
|
60
|
-
], AdminProfileRO.prototype, "
|
|
61
|
+
], AdminProfileRO.prototype, "contactId", void 0);
|
|
61
62
|
__decorate([
|
|
62
63
|
(0, class_transformer_1.Expose)(),
|
|
63
64
|
__metadata("design:type", String)
|
|
64
|
-
], AdminProfileRO.prototype, "
|
|
65
|
+
], AdminProfileRO.prototype, "comment", void 0);
|
|
65
66
|
__decorate([
|
|
66
67
|
(0, class_transformer_1.Expose)(),
|
|
67
68
|
__metadata("design:type", String)
|
|
@@ -94,6 +95,10 @@ __decorate([
|
|
|
94
95
|
(0, class_transformer_1.Expose)(),
|
|
95
96
|
__metadata("design:type", Number)
|
|
96
97
|
], AdminProfileRO.prototype, "questroomsCount", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_transformer_1.Expose)(),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], AdminProfileRO.prototype, "subscription", void 0);
|
|
97
102
|
__decorate([
|
|
98
103
|
(0, class_transformer_1.Expose)(),
|
|
99
104
|
__metadata("design:type", Number)
|
|
@@ -10,13 +10,12 @@ export declare class CreateProfileDto {
|
|
|
10
10
|
mainEmail: string;
|
|
11
11
|
secondaryEmails: string[];
|
|
12
12
|
legalTitle: string;
|
|
13
|
-
comment?: string;
|
|
14
13
|
instagram?: string;
|
|
15
14
|
facebook?: string;
|
|
16
|
-
|
|
15
|
+
contactId: string;
|
|
17
16
|
availableLanguages: Languages[];
|
|
18
17
|
language: Languages;
|
|
19
|
-
contactPhone: string;
|
|
20
18
|
registrationRequestId: number;
|
|
21
19
|
crm?: string;
|
|
20
|
+
comment?: string;
|
|
22
21
|
}
|
|
@@ -62,12 +62,6 @@ __decorate([
|
|
|
62
62
|
(0, class_transformer_1.Expose)(),
|
|
63
63
|
__metadata("design:type", String)
|
|
64
64
|
], CreateProfileDto.prototype, "legalTitle", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, class_validator_1.IsOptional)(),
|
|
67
|
-
(0, class_validator_1.IsString)(),
|
|
68
|
-
(0, class_transformer_1.Expose)(),
|
|
69
|
-
__metadata("design:type", String)
|
|
70
|
-
], CreateProfileDto.prototype, "comment", void 0);
|
|
71
65
|
__decorate([
|
|
72
66
|
(0, class_validator_1.IsOptional)(),
|
|
73
67
|
(0, class_validator_1.IsString)(),
|
|
@@ -84,7 +78,7 @@ __decorate([
|
|
|
84
78
|
(0, class_validator_1.IsOptional)(),
|
|
85
79
|
(0, class_transformer_1.Expose)(),
|
|
86
80
|
__metadata("design:type", String)
|
|
87
|
-
], CreateProfileDto.prototype, "
|
|
81
|
+
], CreateProfileDto.prototype, "contactId", void 0);
|
|
88
82
|
__decorate([
|
|
89
83
|
(0, class_validator_1.IsArray)(),
|
|
90
84
|
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
@@ -96,11 +90,6 @@ __decorate([
|
|
|
96
90
|
(0, class_transformer_1.Expose)(),
|
|
97
91
|
__metadata("design:type", String)
|
|
98
92
|
], CreateProfileDto.prototype, "language", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, class_validator_1.IsOptional)(),
|
|
101
|
-
(0, class_transformer_1.Expose)(),
|
|
102
|
-
__metadata("design:type", String)
|
|
103
|
-
], CreateProfileDto.prototype, "contactPhone", void 0);
|
|
104
93
|
__decorate([
|
|
105
94
|
(0, class_validator_1.IsOptional)(),
|
|
106
95
|
(0, class_transformer_1.Expose)(),
|
|
@@ -112,4 +101,10 @@ __decorate([
|
|
|
112
101
|
(0, class_transformer_1.Expose)(),
|
|
113
102
|
__metadata("design:type", String)
|
|
114
103
|
], CreateProfileDto.prototype, "crm", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, class_validator_1.IsOptional)(),
|
|
106
|
+
(0, class_validator_1.IsString)(),
|
|
107
|
+
(0, class_transformer_1.Expose)(),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], CreateProfileDto.prototype, "comment", void 0);
|
|
115
110
|
exports.CreateProfileDto = CreateProfileDto;
|